Template:Mod
This template shows an article or section is part of a mod, and not the base game.
Usage
Parameters
1
- Name of the mod.
2
- Name of the mod's category. Will add the page to the category if it exists.
hidecat
- If set to
true
, the page will not be added to the mod's category. - Only works when
2
is not empty.
Examples
{{Mod}}
{{Mod|Hydrocraft}}
- with mod name
{{Mod|Hydrocraft|Hydrocraft mod}}
- with mod name and category name
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| title = This feature/item is part of {{#if: {{{2|}}}
| the {{#if: {{{3|}}}
| {{ll|:Category:{{{3}}}|{{{2}}} mod}}
| {{{2}}} mod
}}
| a mod
}}.
| content = It is not present in the vanilla version.
| #default = {{Error|translation}}
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.