Template:CatNameSort: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 1: Line 1:
<includeonly>{{NameSort|name={{#replace:{{PAGENAME}}|{{#explode:{{PAGENAME}}||-1}}|}}}}</includeonly><noinclude>[[Category:coding utility templates|CatNameSort]]{{documentation}}{{lock}}</noinclude>
<includeonly>{{NameSort|name={{#replace:{{PAGENAME}}|{{#explode:{{PAGENAME}}||-1}}|({{#explode:{{PAGENAME}}||-1}})}}}}</includeonly><noinclude>[[Category:coding utility templates|CatNameSort]]{{documentation}}{{lock}}</noinclude>

Revision as of 05:03, 17 November 2016

Instructions for {{CatNameSort}}
{{CatNameSort}} is a template that works exactly like {{NameSort}}—but for categories in the "images by character" range.

Usage is exactly as described at NameSort. Basically, put {{CatNameSort}} at the bottom of the category page, and use image categories, such as category:Jack Harkness images.

Note: If the subject in question begins with "A" or "The", please use {{TitleSort}} instead.[1]

  1. Also, use common sense. If you wouldn't put {{NameSort}} on the character's page, don't put {{CatNameSort}} on their list of appearances. For example, category:White Guardian images should never have CatNameSort on it.
LockedTab.png