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)
m (32 revisions imported)
 
(26 intermediate revisions by 15 users not shown)
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}}}|§ {{{section}}}]] 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={{#ifeq:{{PAGENAME}} |Uses Wikidata ||{{module other |[[Category:Modules using data from Wikidata]] |{{template other |[[Category:Templates using data from Wikidata]]}} }} }}
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
+
}}<!--
 +
 
 +
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 12:23, 25 September 2020

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}}