Difference between revisions of "Template:Commons category"

From Self-sufficiency
Jump to: navigation, search
m (+protected tag)
m (1 revision imported)
 
(26 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{| class="infobox sisterproject"
+
{{Commons
| style="width:50px; height:67px;" | [[Image:Commons-logo.svg|50px|none|]]
+
| position = {{{position|}}}
| style="padding-left:5px;" | [[Wikimedia Commons]] has media related to:
+
  <!-- {{#if:x|}} strips whitespace from parameter 1,
<div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]'''''</div>
+
      in case it is fed like this: {{Commons category| Some cat }}. -->
|}<noinclude>
+
|1=Category:{{#if:{{{1|}}}
{{protected template}}
+
|{{{1|}}}
[[Category:Interwiki link templates|Commonscat]]
+
|{{#if:{{#property:P373}}
[[Category:Interwiki category linking templates|Commonscat]]
+
  |{{#property:P373}}
 
+
  |{{PAGENAME}}
[[ca:Template:Commonscat]]
+
}}
[[cs:Template:Commonscat]]
+
}}
[[da:Skabelon:Commonscat]]
+
|2={{{2|{{{1|{{PAGENAME}}}}}}}}<!--
[[de:Vorlage:Commonscat]]
+
-->}}<noinclude>
[[eo:Template:Commonscat]]
+
{{Documentation}}
[[es:Plantilla:Commonscat]]
+
<!-- Add categories to the /doc subpage, not here! -->
[[fr:Modèle:CommonsCat]]
+
</noinclude><includeonly>{{#if:{{{1|}}}||{{#if:{{#property:P373}}||{{#switch:{{NAMESPACE}}
[[hr:Template:Commonscat]]
+
|User|User talk=
[[hu:Template:Commonscat]]
+
|#default=[[Category:Commons category template with no category set|{{#ifeq:{{NAMESPACE}}|||{{Namespace Greek}}}}{{BASEPAGENAME}}]]<!--
[[id:Template:Commonscat]]
+
-->}}}}}}<!-- Some tracking categories to see if we're ready to switch to Wikidata
[[io:Template:Commonscat]]
+
-->{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories.
[[is:Template:Commonscat]]
+
-->{{#if:{{#property:P373}}
[[lt:Template:Commonscat]]
+
| {{#if:{{{1|}}}
[[lv:Template:Commonscat]]
+
  | {{#ifeq:{{#property:P373}}|{{#invoke:StringReplace|encode wiki page name|{{{1|}}}}}
[[ms:Template:Commonscat]]
+
  | <!-- [[Category:Commons category with local link same as on Wikidata]] – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
[[nl:Sjabloon:Commonscat]]
+
  | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link -->
[[no:Mal:Commonscat]]
+
  }}
[[ja:Template:Commonscat]]
+
  | {{#ifeq:{{#property:P373}}|{{PAGENAME}}
[[oc:Template:Commonscat]]
+
  | <!-- [[Category:Commons category with page title same as on Wikidata]] – deleted per [[Wikipedia:Categories for discussion/Log/2017 January 25]] -->
[[os:Шаблон:Commonscat]]
+
  | [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too -->
[[pl:Template:Commonscat]]
+
  }}
[[pt:Predefinição:Commonscat]]
+
  }}
[[ro:Template:Commonscat]]
+
| [[Category:Commons category without a link on Wikidata]] <!-- These we still need to import -->
[[ru:Template:Commonscat]]
+
}}
[[fi:Malline:Commonscat]]
+
}}</includeonly>
[[simple:Template:Commonscat]]
+
[[sl:Template:Commonscat]]
+
[[sr:Шаблон:Commonscat]]
+
[[su:Template:Commonscat]]
+
[[sv:Mall:Commonscat]]
+
[[th:Template:Commonscat]]
+
[[tr:Şablon:CommonsKat]]
+
[[uk:Шаблон:Commonscat]]
+
[[vi:Tiêu bản:Commonscat]]
+
[[zh:Template:Commonscat]]
+
</noinclude>
+

Latest revision as of 20:55, 17 February 2018