Template:Interwiki category

From MediaWiki
Jump to: navigation, search
Corresponding categories on other Wikimedia projects:
{{#if:|
  • Commons: [[commons:Category:{{#ifeq:{{{commons}}}|yes|Interwiki category|{{{commons}}}}}|{{#ifeq:{{{commons}}}|yes|Interwiki category|{{{commons}}}}}]]}}{{#if:|
  • Meta: [[m:Category:{{#ifeq:{{{meta}}}|yes|Interwiki category|{{{meta}}}}}|{{#ifeq:{{{meta}}}|yes|Interwiki category|{{{meta}}}}}]]}}{{#if:|
  • Wikibooks: [[b:Category:{{#ifeq:{{{books}}}|yes|Interwiki category|{{{books}}}}}|{{#ifeq:{{{books}}}|yes|Interwiki category|{{{books}}}}}]]}}{{#if:|
  • Wikinews: [[n:Category:{{#ifeq:{{{news}}}|yes|Interwiki category|{{{news}}}}}|{{#ifeq:{{{news}}}|yes|Interwiki category|{{{news}}}}}]]}}{{#if:|
  • Wikiquote: [[q:Category:{{#ifeq:{{{quote}}}|yes|Interwiki category|{{{quote}}}}}|{{#ifeq:{{{quote}}}|yes|Interwiki category|{{{quote}}}}}]]}}{{#if:|
  • Wikisource: [[s:Category:{{#ifeq:{{{source}}}|yes|Interwiki category|{{{source}}}}}|{{#ifeq:{{{source}}}|yes|Interwiki category|{{{source}}}}}]]}}{{#if:|
  • Species: [[commons:Category:{{#ifeq:{{{species}}}|yes|Interwiki category|{{{species}}}}}|{{#ifeq:{{{species}}}|yes|Interwiki category|{{{species}}}}}]]}}{{#if:|
  • Wiktionary: [[wikt:Category:{{#ifeq:{{{wikt}}}|yes|Interwiki category|{{{wikt}}}}}|{{#ifeq:{{{wikt}}}|yes|Interwiki category|{{{wikt}}}}}]]}}{{#if:|
  • Wikiversity: [[v:Category:{{#ifeq:{{{versity}}}|yes|Interwiki category|{{{versity}}}}}|{{#ifeq:{{{versity}}}|yes|Interwiki category|{{{versity}}}}}]]}}
[}}
  • [[{{#switch:
#default = Interwiki category =
   {{#ifeq:  | 
Template:Interwiki category Interwiki category
   }}
}}|{{#if:1|v|view}}]]
  • [[|{{#if:1|t|talk}}]]
  • {{#if:||
  • [{{fullurl:{{#switch:
  • #default = Interwiki category =
       {{#ifeq:  | 
    
    Template:Interwiki category Interwiki category
       }}
    
    }}|action=edit}} {{#if:1|e|edit}}]}}{{#if:|]}}

    Usage: {{Interwiki category}} with parameters for the projects to list:

    Set the parameter to "yes" if the category on the other project has the same name, otherwise use the name of the category.w:ja:Template:Interwikicat

    Personal tools
    Namespaces

    Variants
    Actions
    Navigation
    Toolbox