Template:Trim Category Text
The UESPWiki – Your source for The Elder Scrolls since 1995
Summary[edit]
This template trims the specified leading text from every entry in the category. If the category doesn't start with the specified text, no changes are made.
Parameters[edit]
Parameter | Scope | Description |
---|---|---|
1 | required | The text to trim. If the leading text doesn't match this, or if it matches the current category entry precisely, nothing will be trimmed. , so trimming UESPWiki:Archives from a category entry named UESPWiki:Archives will do nothing. For subcategories, always include the final / . |
Examples[edit]
Using the following three entries as an example:
- UESPWiki:Administrator Noticeboard/Archives
- UESPWiki:Administrator Noticeboard/Archives/Archive Protection
- UESPWiki:Archive/CP Noticeboards
Incorrect[edit]
{{Trim Category Text|UESPWiki:Administrator Noticeboard/Archives}}
Produces:
Correct[edit]
{{Trim Category Text|UESPWiki:Administrator Noticeboard/Archives/}}
Produces: