Template:Lang cat: Difference between revisions
Jump to navigation
Jump to search
(Added a template.) |
m (Incorrect TF Wiki references) |
||
Line 5: | Line 5: | ||
| user | | user | ||
| | | portal wiki | ||
| user talk | | user talk | ||
| | | portal wiki talk | ||
| category talk | | category talk | ||
| help talk | | help talk |
Revision as of 14:29, 27 April 2011
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.
This is normal.
Documentation for Lang cat
{{lang cat}}
places pages in their correct language category. It should only be used directly on templates.
Usage
- On Portal, {{lang cat|GLaDOS}} will add the page to Category:GLaDOS
- On Portal/fr, {{lang cat|GLaDOS}} will add the page to Category:GLaDOS/fr
- On GLaDOS, {{lang cat|GLaDOS}} will add the page to Category:GLaDOS, but will use a space character as the sort key so it appears first in the category listing
Advanced usage
- By default
{{lang cat}}
will ignore any Talk page or page in the User or Portal Wiki namespace. However, this can be overriden for specific instances by setting the parameternamespace-override
totrue
. - A specific sort-key can also be defined with the parameter
sort
. Keep in mind that using this parameter will use the specified sortkey for every page that the template is used on.