Jump to content

Module:Uses Wikidata: Difference between revisions

From Humanipedia
hp>SWinxy
Wrap catting in <includeonly> instead of an ifeq
hp>Cewbot
m Maintain {{WPBS}}: 1 WikiProject template. Create {{WPBS}}.
Line 1: Line 1:
{{Sister project
{{WikiProject banner shell|
| position = {{{position|}}}
{{WikiProject Wikidata}}
| project  = data
}}
| text    = This {{module other|module|template}} uses {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see {{Section link||{{{section}}}}} for details. | the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
== Unbalanced ul tags ==
{{#invoke:Uses Wikidata|usesProperty}}
 
}}}}<includeonly>{{#switch:{{SUBPAGENAME}}
[https://en.wikipedia.org/w/index.php?title=Module:Uses_Wikidata&curid=46920381&diff=1064017392&oldid=1051978961 This edit] appears to have resulted in an extra closing {{tag|ul|c}} tag, which appears to be visible as an extra bullet on pages including {{tl|Tracks and uses Wikidata}}. Pinging {{U|Graham87}}, who will probably know which one to remove. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 20:46, 6 January 2022 (UTC)
|sandbox |testcases |doc= <!--no category-->
:{{replyto|Jonesey95}} I've removed the unicode bullet and the non-breaking spaces, along with fixing the unordered list, in the second function. Maybe the formatting could be improved for sighted people but if so, please use decorative images with no alt text or something like that, not fancy Unicode/spacing. '''[[User:Graham87|Graham]]'''[[User talk:Graham87|<span style="color: green;">87</span>]] 02:25, 7 January 2022 (UTC)
|#default={{module other |[[Category:Modules using data from Wikidata]] |{{template other |[[Category:Templates using data from Wikidata]]}} }}
::Nah, thinking about it, the previous Unicode bullet was fine; I've [https://en.wikipedia.org/w/index.php?title=Module:Uses_Wikidata&diff=1064190218&oldid=1064188562 put it back] and fixed the HTML markup. '''[[User:Graham87|Graham]]'''[[User talk:Graham87|<span style="color: green;">87</span>]] 02:36, 7 January 2022 (UTC)
}}</includeonly><noinclude>
:::The double bullet is gone now, as are the mismatched tags. If it "looks" OK to you, it's OK with me. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 02:48, 7 January 2022 (UTC)
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>

Revision as of 02:26, 23 August 2024

Template:WikiProject banner shell

Unbalanced ul tags

This edit appears to have resulted in an extra closing </ul> tag, which appears to be visible as an extra bullet on pages including {{Tracks and uses Wikidata}}. Pinging Template:U, who will probably know which one to remove. – Jonesey95 (talk) 20:46, 6 January 2022 (UTC)

Template:Replyto I've removed the unicode bullet and the non-breaking spaces, along with fixing the unordered list, in the second function. Maybe the formatting could be improved for sighted people but if so, please use decorative images with no alt text or something like that, not fancy Unicode/spacing. Graham87 02:25, 7 January 2022 (UTC)
Nah, thinking about it, the previous Unicode bullet was fine; I've put it back and fixed the HTML markup. Graham87 02:36, 7 January 2022 (UTC)
The double bullet is gone now, as are the mismatched tags. If it "looks" OK to you, it's OK with me. – Jonesey95 (talk) 02:48, 7 January 2022 (UTC)