Template:Commons category: Difference between revisions
Content added Content deleted
(use template version) |
(remove italic setting duplication by pulling styles out; b -> fw bold) |
||
Line 2: | Line 2: | ||
| position = {{{position|}}} |
| position = {{{position|}}} |
||
| project = commons |
| project = commons |
||
| text = Wikimedia Commons has {{{alt-term|media related to}}} |
| text = Wikimedia Commons has {{{alt-term|media related to}}} <span style="font-weight: bold; {{#ifeq:{{{nowrap|no}}}|yes|white-space:nowrap;}} {{#ifeq:{{{italic|yes}}}|yes|font-style: italic;}}">[[commons:{{#if:{{{1|}}}|Category:{{{1|}}}|{{if then show|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:{{PAGENAME}}}}}}|{{#ifeq:{{{lcf|{{{lcfirst|no}}}}}}|yes|{{lcfirst:{{{2|{{#if:{{{1|}}} | {{{1|}}} <!-- |
||
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}<!-- |
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}<!-- |
||
--> |{{PAGENAME}} }} }} }}} }}<!-- |
--> |{{PAGENAME}} }} }} }}} }}<!-- |
||
-->|{{{2|{{#if:{{{1|}}} | {{{1|}}} <!-- |
-->|{{{2|{{#if:{{{1|}}} | {{{1|}}} <!-- |
||
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}<!-- |
-->|{{if then show|{{#invoke:String|replace|{{#invoke:WikidataIB |getCommonsLink|qid={{{qid|}}}|onlycat=True|fallback=False}}|Category:|}}|{{PAGENAME}} }}<!-- |
||
--> |
-->}}}}}}}]]</span>.<!-- |
||
}}</span>]]'''''.<!-- |
|||
End of the template code, now add relevant tracking categories |
End of the template code, now add relevant tracking categories |
||