Template:Commons category: Difference between revisions
Jump to navigation
Jump to search
Sources>Izno use template version |
m 152 revisions imported |
||
(3 intermediate revisions by 2 users not shown) | |||
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>.<!-- | ||
End of the template code, now add relevant tracking categories | End of the template code, now add relevant tracking categories | ||
Latest revision as of 14:28, 27 September 2025
<templatestyles src="Module:Side box/styles.css"></templatestyles><templatestyles src="Sister project/styles.css"></templatestyles>
<templatestyles src="Plainlist/styles.css"></templatestyles>
Wikimedia Commons has media related to [[commons:Template:If then show|Template:If then show]].