This template is protected from editing.
Difference between revisions of "Template:Lang cat"
m |
|||
Line 11: | Line 11: | ||
| blank | | blank | ||
| none | | none | ||
− | | #default = [[Category:{{{1}}}{{if lang}}|{{BASEPAGENAME}}]] | + | | #default = [[Category:{{{1}}}{{if lang}}|{{{sort|{{BASEPAGENAME}}}}}]] |
}}<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]]. | * 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'', ''User talk'', ''Team Fortress Wiki'', ''Team Fortress Wiki talk'' and ''Talk'' namespaces. This can be overridden with the parameter {{code|namespace-override}} being set to {{code|true}}, {{code|yes}} or {{code|1}}. | * By default this template will not add pages to a category if they are in the ''User'', ''User talk'', ''Team Fortress Wiki'', ''Team Fortress Wiki talk'' and ''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. | ||
[[Category:Templates|Lang cat]] | [[Category:Templates|Lang cat]] | ||
[[Category:Language templates|Lang cat]] | [[Category:Language templates|Lang cat]] | ||
</noinclude> | </noinclude> |
Revision as of 07:22, 3 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, User talk, Team Fortress Wiki, Team Fortress Wiki talk and 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.