Difference between revisions of "Module:Uses Wikidata"

From blackwiki
Jump to navigation Jump to search
blackwiki>Evad37
(update from sandbox, so it can be used for modules)
blackwiki>Evad37
(update from sandbox - allow section link instead of properties)
Line 2: Line 2:
 
| position = {{{position|}}}
 
| position = {{{position|}}}
 
| project  = data
 
| project  = data
| text    = This {{module other|module|template}} uses the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
+
| text    = This {{module other|module|template}} uses {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see [[#{{{section}}}|§&nbsp;{{{section}}}]]</span> for details. | 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:{{module other|Modules|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 00:33, 12 June 2015

Template:Sister project

50px Module documentation[view] [edit] [history] [purge]

This module is used by Template:Uses Wikidata, Template:Tracks Wikidata and Template:Wikidata property.

Usage

{{#invoke:Uses Wikidata|usesProperty}}