Template:Commons category: Difference between revisions

From Ikwipedia
No edit summary
No edit summary
Line 4: Line 4:
| 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;}}">
<span style="font-weight: bold; {{#ifeq:{{{nowrap|no}}}|yes|white-space:nowrap;}} {{#ifeq:{{{italic|yes}}}|yes|font-style: italic;}}">
[[commons:{{#if:{{{1|}}}|Category:{{{1|}}}|Category:{{PAGENAME}}}}|{{#ifeq:{{{lcf|{{{lcfirst|no}}}}}}|yes|{{lcfirst:{{{2|{{{1|{{PAGENAME}}}}}}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]
[[commons:{{#if:{{{1|}}}|Category:{{{1}}}|Category:{{PAGENAME}}}}|{{#ifeq:{{{lcf|{{{lcfirst|no}}}}}}|yes|{{lcfirst:{{{2|{{{1|{{PAGENAME}}}}}}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]
</span>.
</span>.
<includeonly>{{#switch:{{NAMESPACE}}||{{ns:14}}=
</includeonly>
{{#if:{{{1|}}}|{{#ifeq:Category:{{replace|{{{1|}}}|_|&#32;}}|Category:{{PAGENAME}}|<!--
-->[[Category:Commons category link is defined as the pagename]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – please check}}<!--
-->|[[Category:Commons category link is locally defined]]}} }}<!--
-->|[[Category:Commons category link is the pagename]]{{preview warning|Commons category does not match the Commons sitelink on Wikidata – please check}}
}}</includeonly>
}}
}}
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 19:30, 6 November 2024

{{Sister project | position = | project = commons | text = Wikimedia Commons has media related to Commons category . </includeonly>