Template:Commons category: Difference between revisions
Content added Content deleted
(tweak tracking category logic) |
(Call sister project directly rather than going through commons) |
||
Line 1:
{{Sister project
| position = {{{position|}}}
| project = commons
|
▲| 2 = <span style="{{#ifeq:{{{nowrap|no}}}|yes|white-space:nowrap;}} {{#ifeq:{{{italic|no}}}|yes|font-style: italic; }}">{{#ifeq:{{{lcf|{{{lcfirst|no}}}}}}|yes|{{lcfirst:{{{2|{{#if:{{{1|}}} | {{{1|}}} <!--
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
--> |{{PAGENAME}} }} }} }}} }}<!--
Line 16 ⟶ 8:
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
--> |{{PAGENAME}} }} }} }}}
}}</span>
End of the template code, now add relevant tracking categories
Line 41 ⟶ 33:
}}
}}
}}</includeonly
}}<noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
|