Template talk:Dubious span
Examples
[edit]The example
{{Dubious|K%5BX%5D is NOT integral}}
seems to be faulty, as it produces
—DIV (120.18.88.32 (talk) 14:50, 11 October 2018 (UTC))
Still not working.Result in 2024 is- [dubious – discuss]
- OK, technically it's working, but it lacked a proper explanation or context.
- I have expounded on the issue now in the documentation. —DIV (1.145.112.83 (talk) 14:22, 19 April 2024 (UTC))
Info. boxes
[edit]Please add info. boxes at the bottom of the page, like at Template:Dubious. —DIV (120.18.237.87 (talk) 00:09, 27 February 2019 (UTC))
Docs need work?
[edit]@Jc86035:
I was having trouble using this template, you created. Might be me, but I think the syntax needs more explaining and maybe more examples.
Specificity, the text I'm spanning went right off the right side of the page, thus:
- "[Dubious - [[Talk:page name#TEXT, TEXT TEXT yada, had, yada.|discuss]]"
Using this syntax:
- {{Dubious-span|TEXT, TEXT TEXT yada, yada, yada.|date=June 2020}}
Fixed
Aha! I left out "text=" before TEXT, TEXT TEXT yada, yada, yada. It was after 3 AM here though … ¯\_(ツ)_/¯
I think you need a sample template that dummies like me can copy and paste where they need. Like:
- {{Dubious-span |text=dubious TEXT, TEXT TEXT yada, yada, yada.|date=June 2020}}
Regards, 220 of ßorg 18:12, 23 June 2020 (UTC)
- Yes, documentation is very poor. Especially writing "Dubious" instead of "Dubious-span" :-(
- Your contribution helps :-)
- I have adapted it at Template:Dubious_span/doc#Example_of_usage.
- —DIV (1.145.112.83 (talk) 13:47, 19 April 2024 (UTC))
- I've made three main changes to the documentation now:
- added an adapted version of your example;
- defined "reason" as a (previously undocumented) parameter; and
- elaborated on escaping 'special' characters occurring in the section name specified for discussion on the Talk page.
- No doubt more work is needed, but I hope this helps a bit.
- —DIV (1.145.112.83 (talk) 14:28, 19 April 2024 (UTC))
- I've made three main changes to the documentation now:
Cannot include wikilinks
[edit]I don't know if the originally created template by Jc86035 had not adapted to it, or if later changes glitched it, but if you use this template and the span text includes a wikilink, it screws up.
{{{Dubious span|[[apples]] and oranges}} renders as apples and dates[dubious – [[Template talk:Dubious span#apples and dates|discuss]]]
- You have an extra opening brace, but no matter.
- {{Dubious span|[[apples]] and oranges}}
- currently renders as
- apples and oranges[dubious – [[Template talk:Dubious span#apples and oranges|discuss]]]
- Here the problem is not in the text, but in the link to the Talk page.
- {{Dubious span|text=[[apples]] and oranges|1=Fruit???}}
- fixes it:
- apples and oranges[dubious – discuss]
- as does
- {{Dubious span|Fruit???|text=[[apples]] and oranges}}
- apples and oranges[dubious – discuss]
- —DIV (1.145.112.83 (talk) 13:53, 19 April 2024 (UTC))