Difference between revisions of "Template:In category"
(Created page with ":''{{LangSwitch |lang={{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |cs=Tato šablona kategorizuje do |de=Diese Vorlage kategorisiert in |en=This template will categorize into |...") |
m (Protected "Template:In category" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Latest revision as of 19:26, 4 September 2012
- 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=}}
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | The first category | empty | required |
parameter #2 (2) | The second category | empty | optional |
parameter #3 (3) | The third category | empty | optional |
parameter #4 (4) | The fourth category | empty | optional |
parameter #5 (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).
The above documentation is transcluded from Template:In category/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |