This template is protected from editing.

Difference between revisions of "Template:Lang cat"

From Team Fortress Wiki
Jump to: navigation, search
m (adding more exceptions for talk pages)
(clearer doc)
Line 2: Line 2:
 
   | User  
 
   | User  
 
   | Team Fortress Wiki
 
   | Team Fortress Wiki
 +
 
   | User talk
 
   | User talk
 
   | Team Fortress Wiki talk
 
   | Team Fortress Wiki talk
Line 19: Line 20:
 
   }}<noinclude>{{protected|small=1}}
 
   }}<noinclude>{{protected|small=1}}
 
== Usage ==
 
== Usage ==
* Placing {{tlx|lang cat|Scout}} adds ''[[Force-A-Nature/ru]]'' to [[:Category:Scout/ru]], and adds ''[[Force-A-Nature]]'' to  [[:Category:Scout]].
+
* {{tl|Lang cat}} should be used only on template pages to ensure that non-English pages are placed in the correct categories.
* 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}}.
+
* For example, using {{tlx|lang cat|Scout}} on a template will add ''[[Force-A-Nature/ru]]'' to [[:Category:Scout/ru]], and ''[[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 any Talk namespace. 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:18, 7 September 2010

[[Category:{{{1}}}|Lang cat]]

Usage

  • {{Lang cat}} should be used only on template pages to ensure that non-English pages are placed in the correct categories.
  • For example, using {{lang cat|Scout}} on a template will add Force-A-Nature/ru to Category:Scout/ru, and 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 any Talk namespace. This can be overridden with the parameter namespace-override being set to true, yes or 1.
  • Use the parameter sort to define the sortkey. Sort is applied to all pages.