Template:Uses Wikidata and Template:Uses Wikidata/sandbox: Difference between pages
(Difference between pages)
Content deleted Content added
Wrap catting in <includeonly> instead of an ifeq |
m nope, doesn't work |
||
Line 2: | Line 2: | ||
| position = {{{position|}}} |
| position = {{{position|}}} |
||
| project = data |
| project = data |
||
| text = This {{module other|module|template}} uses {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see {{ |
| text = This {{module other|module|template}} uses {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see [[#{{{section}}}|§ {{{section}}}]] for details. | the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}: |
||
{{#invoke:Uses Wikidata|usesProperty}} |
{{#invoke:Uses Wikidata/sandbox|usesProperty}} |
||
}}}} |
}}}}{{#switch:{{SUBPAGENAME}} |
||
|sandbox |testcases |doc= <!--no category--> |
|sandbox |testcases |doc= <!--no category--> |
||
|#default={{module other |[[Category:Modules using data from Wikidata]] |{{template other |[[Category:Templates using data from Wikidata]]}} }} |
|#default={{#ifeq:{{PAGENAME}} |Uses Wikidata ||{{module other |[[Category:Modules using data from Wikidata]] |{{template other |[[Category:Templates using data from Wikidata]]}} }} }} |
||
}} |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
<!-- Add categories to the /doc subpage --> |
|||
</noinclude> |
</noinclude> |