Template:Commons category: Difference between revisions

From TestWiki
Content added Content deleted
(Undid revision 901998205 by Mike Peel (talk) - restore for now)
(Adding lcfirst and nowrap display options)
Line 10: Line 10:
--> |Category:{{PAGENAME}} }} }}
--> |Category:{{PAGENAME}} }} }}
<!-- Display title -->
<!-- Display title -->
| 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|}}} <!--
| 2 = {{{2|{{#if:{{{1|}}} | {{{1|}}} <!--
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
--> |{{PAGENAME}} }} }} }}} }}<!--
-->|{{{2|{{#if:{{{1|}}} | {{{1|}}} <!--
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True}}|Category:|}}<!--
--> |{{PAGENAME}} }} }} }}}
--> |{{PAGENAME}} }} }} }}}
}}<!--
}}</span>}}<!--
End of the template code, now add relevant tracking categories
End of the template code, now add relevant tracking categories



Revision as of 17:15, 15 October 2019

Template:Commons