Template:In category: Difference between revisions
More actions
"and" is a system message |
m replace template with system message |
||
| Line 4: | Line 4: | ||
|pl=Ten szablon automatycznie skategoryzuje do | |pl=Ten szablon automatycznie skategoryzuje do | ||
}} <!-- | }} <!-- | ||
-->{{cl|{{{1}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | {{and}} }}<!-- | -->{{cl|{{{1}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | {{int:and}} }}<!-- | ||
-->{{cl|{{{2}}}}}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, | {{and}} }}<!-- | -->{{cl|{{{2}}}}}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, | {{int:and}} }}<!-- | ||
-->{{cl|{{{3}}}}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, | {{and}} }}<!-- | -->{{cl|{{{3}}}}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, | {{int:and}} }}<!-- | ||
-->{{cl|{{{4}}}}}}}{{#if:{{{5|}}}| {{int:and}} {{cl|{{{5}}}}}}}.''<noinclude> | -->{{cl|{{{4}}}}}}}{{#if:{{{5|}}}| {{int:and}} {{cl|{{{5}}}}}}}.''<noinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 15:17, 8 August 2009
- This template will categorize into [[:Category:{{{1}}}]].
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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | The first category | empty | required | |
2 | The second category | empty | optional | |
3 | The third category | empty | optional | |
4 | The fourth category | empty | optional | |
5 | The fifth category | empty | optional | |
lang | language 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).