Template:Tracks Wikidata: Difference between revisions

update from sandbox - custom cat to replace default link (Category:Wikidata tracking categories) for "tracks"; wrap categorising code in <includeonly>
(Created page with '{{Sister project | image = {{Superimpose | base = Wikidata-logo.svg | base_width = 40px | base_link = | float = Gnome-searchtool.svg | float_link =...')
 
(update from sandbox - custom cat to replace default link (Category:Wikidata tracking categories) for "tracks"; wrap categorising code in <includeonly>)
Line 11: Line 11:
}}
}}
| position = {{{position|}}}
| position = {{{position|}}}
| text    = This {{module other|module|template}} [[:Category:Wikidata tracking categories|tracks]] {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see [[#{{{section}}}|§&nbsp;{{{section}}}]] for details. | the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
| text    = This {{module other|module|template}} [[:Category:{{{cat|Wikidata tracking categories}}}|tracks]] {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see [[#{{{section}}}|§&nbsp;{{{section}}}]] for details. | the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
{{#invoke:Uses Wikidata|usesProperty}}
{{#invoke:Uses Wikidata|usesProperty}}
{{#if:{{{cat|}}}|See [[:Category:{{ucfirst:{{{cat}}}}}]]}}
}}}}<includeonly>{{#switch:{{SUBPAGENAME}}
}}}}{{#switch:{{SUBPAGENAME}}
|sandbox |testcases |doc= <!--no category-->
|sandbox |testcases |doc= <!--no category-->
|#default=[[Category:{{module other|Modules|Templates}} tracking Wikidata]]
|#default=[[Category:{{module other|Modules|Templates}} tracking Wikidata]]
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
Anonymous user