Template:In category: Difference between revisions
Template page
More actions
m Changed protection level for "Template:In category": downgraded protection level per consensus ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite)) |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="mw-content-{{dir|{{{lang|{{int:Lang}}}}}}}"> | <div class="mw-content-{{dir|{{{lang|{{int:Lang}}}}}}}"> | ||
: | :{{LangSwitch | ||
|lang={{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} | |lang={{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} | ||
|ar=يُضيف هذا القالب الصَّفحات الَّتي يُوضَع فيها إِلى تصنيف | |||
|be-tarask=Гэты шаблён зьмяшчае ў катэгоры{{#if:{{{2|}}}|і|ю}} | |be-tarask=Гэты шаблён зьмяшчае ў катэгоры{{#if:{{{2|}}}|і|ю}} | ||
|cs=Tato šablona kategorizuje do | |cs=Tato šablona kategorizuje do | ||
| Line 38: | Line 39: | ||
|lang={{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} | |lang={{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} | ||
|ja=  | |ja=  | ||
|default=.}} | |default=.}} | ||
</div><noinclude> | </div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:52, 4 January 2021
- This template will categorize into [[:Category:{{{1}}}]].
This documentation is transcluded from Template:In category/doc.
This template provides a way to show which categories a template categorizes in.
{{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).