Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:In category: Difference between revisions

Template page
doc
m make template localizable
Line 1: Line 1:
:''This template will categorize into <!--
:''{{LangSwitch
-->{{cl|{{{1<noinclude>|Example</noinclude>}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}<!--
|de=Diese Vorlage kategorisiert in
-->{{cl|{{{2}}}}}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|,&#32;|&#32;and&#32;}}<!--
|en=This template will categorize into
-->{{cl|{{{3}}}}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|,&#32;|&#32;and&#32;}}<!--
}} <!--
-->{{cl|{{{4}}}}}}}{{#if:{{{5|}}}|&#32;and&#32;{{cl|{{{5}}}}}}}.''<noinclude>
-->{{cl|{{{1}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|,&#32;|&#32;{{and}}&#32;}}<!--
 
-->{{cl|{{{2}}}}}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|,&#32;|&#32;{{and}}&#32;}}<!--
 
-->{{cl|{{{3}}}}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|,&#32;|&#32;{{and}}&#32;}}<!--
----
-->{{cl|{{{4}}}}}}}{{#if:{{{5|}}}|&#32;{{and}}&#32;{{cl|{{{5}}}}}}}.''<noinclude>
'''Usage:''' <nowiki>{{</nowiki>in category|''category_name''|''category name_2''|...}}
{{documentation}}
* Takes up to five categories.


[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Template namespace templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 13:15, 4 August 2009

This template will categorize into [[:Category:{{{1}}}]].
Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:In category/doc.

This template provides a way to show which categories a template categorizes in.


Example: {{In category|CC-BY-SA-3.0-AT|Items with OTRS permission confirmed}}

This template will categorize into Category:CC-BY-SA-3.0-AT and Category:Items with OTRS permission confirmed.

Usage

{{In category |1= |2= |3= |4= |5= }}

Template parameters

ParameterDescriptionDefaultStatus
1The first categoryemptyrequired
2The second categoryemptyoptional
3The third categoryemptyoptional
4The fourth categoryemptyoptional
5The fifth categoryemptyoptional
langlanguage code, if different from users language{{int:Lang}}optional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

On this page, the sentence "This template will categorize in" is localized. The word "and" is a system message (MediaWiki:And).

Cookies help us deliver our services. By using our services, you agree to our use of cookies.