This template is protected from editing.
Difference between revisions of "Template:Lang cat"
m |
m (adding more exceptions for talk pages) |
||
Line 1: | Line 1: | ||
{{#switch:{{{namespace-overrride|{{NAMESPACE}}}}} | {{#switch:{{{namespace-overrride|{{NAMESPACE}}}}} | ||
| User | | User | ||
+ | | Team Fortress Wiki | ||
| User talk | | User talk | ||
− | |||
| Team Fortress Wiki talk | | Team Fortress Wiki talk | ||
+ | | Category talk | ||
+ | | Help talk | ||
+ | | MediaWiki talk | ||
+ | | Template talk | ||
+ | | File talk | ||
| Talk = <!-- null --> | | Talk = <!-- null --> | ||
Line 15: | Line 20: | ||
== Usage == | == Usage == | ||
* Placing {{tlx|lang cat|Scout}} adds ''[[Force-A-Nature/ru]]'' to [[:Category:Scout/ru]], and adds ''[[Force-A-Nature]]'' to [[:Category:Scout]]. | * Placing {{tlx|lang cat|Scout}} adds ''[[Force-A-Nature/ru]]'' to [[:Category:Scout/ru]], and adds ''[[Force-A-Nature]]'' to [[:Category:Scout]]. | ||
− | * By default this template will not add pages to a category if they are in the ''User | + | * By default this template will not add pages to a category if they are in the ''User'', ''Team Fortress Wiki'', or other Talk namespaces. This can be overridden with the parameter {{code|namespace-override}} being set to {{code|true}}, {{code|yes}} or {{code|1}}. |
* Use the parameter {{code|sort}} to define the sortkey. Sort is applied to ''all'' pages. | * Use the parameter {{code|sort}} to define the sortkey. Sort is applied to ''all'' pages. | ||
Revision as of 08:14, 7 September 2010
[[Category:{{{1}}}|Lang cat]]
Usage
- Placing
{{lang cat|Scout}}
adds Force-A-Nature/ru to Category:Scout/ru, and adds Force-A-Nature to Category:Scout. - By default this template will not add pages to a category if they are in the User, Team Fortress Wiki, or other Talk namespaces. This can be overridden with the parameter
namespace-override
being set totrue
,yes
or1
. - Use the parameter
sort
to define the sortkey. Sort is applied to all pages.