Template:Numerical titles: Difference between revisions
Jump to navigation
Jump to search
(added description & usage) |
m (amendment to examples) |
||
Line 19: | Line 19: | ||
<pre> | <pre> | ||
{{ | {{Numerical titles | ||
|page = | |page = | ||
|category = | |category = | ||
Line 27: | Line 27: | ||
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
{{ | {{Numerical titles | ||
|page = {{PAGENAME}} | |page = {{PAGENAME}} | ||
|category = Science & Medicine | |category = Science & Medicine |
Revision as of 19:40, 28 July 2012
Description
This template allows a transcript page (full or 5X5) to be categorized with a sortkey that ensures the proper numerical order. For example:
- SGU Episode 2
- SGU Episode 35
- SGU Episode 143
Without this sort key, page names are sorted as a string, and the episodes in the above example would be listed on the category page as:
- SGU Episode 143
- SGU Episode 2
- SGU Episode 35
This template is useful when categories are applied automatically, using another template (e.g. Template:Editing required).
Usage
There are two compulsory parameters:
- page – the page to be categorized. When used in a template, this should be
{{PAGENAME}}
. - category – the category the page is to be added to. This is case sensitive.
{{Numerical titles |page = |category = }}
Example
{{Numerical titles |page = {{PAGENAME}} |category = Science & Medicine }}