Template:Uses Wikidata: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Evad37
m remove cat sort (which wasn't working) – done via doc page now
meta>Evad37
update from sandbox, so it can be used for modules
Line 2: Line 2:
| position = {{{position|}}}
| position = {{{position|}}}
| project  = data
| project  = data
| text    = This template uses the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
| text    = This {{module other|module|template}} uses the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
{{#invoke:Uses Wikidata|usesProperty}}
{{#invoke:Uses Wikidata|usesProperty}}
}}{{#switch:{{SUBPAGENAME}}
}}{{#switch:{{SUBPAGENAME}}
|sandbox |testcases |doc= <!--no category-->
|sandbox |testcases |doc= <!--no category-->
|#default=[[Category:Templates using data from Wikidata]]
|#default=[[Category:{{module other|Modules|Templates}} using data from Wikidata]]
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>

Revision as of 23:33, 11 June 2015