Template:Name: Difference between revisions
From Absit Omen Lexicon
mNo edit summary |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#Switch:{{#explode:{{PAGENAME}}| |-2}}|Ó=O |St.|de={{#explode:{{PAGENAME}}| |-2}} }}{{#Switch:{{#explode:{{PAGENAME}}| |-1}}|I|II|III|IV|V|VI|VII|VIII|IX|X|Jr.|Sr.|Jr|Sr={{#explode:{{PAGENAME}}| |-2}}, {{#explode:{{PAGENAME}}| |0}}, {{#explode:{{PAGENAME}}| |-1}}|#default={{#explode:{{PAGENAME}}| |-1}}, {{#explode:{{PAGENAME}}| |0}} }}</includeonly><noinclude> | <includeonly>{{#Switch:{{#explode:{{PAGENAME}}| |-2}} | ||
|Ó | |||
|ó=O | |||
|St. | |||
|de={{#explode:{{PAGENAME}}| |-2}} }}<!---- | |||
--->{{#Switch:{{#explode:{{PAGENAME}}| |-1}} | |||
|I | |||
|II | |||
|III | |||
|IV | |||
|V | |||
|VI | |||
|VII | |||
|VIII | |||
|IX | |||
|X | |||
|Jr. | |||
|Sr. | |||
|Jr | |||
|Sr={{#explode:{{PAGENAME}}| |-2}}, {{#explode:{{PAGENAME}}| |0}}, {{#explode:{{PAGENAME}}| |-1}} | |||
|#default={{#explode:{{PAGENAME}}| |-1}}, {{#explode:{{PAGENAME}}| |0}} }}</includeonly><noinclude> | |||
{{Documentation|content=This template takes the last word of the page name and the first word of the page name and outputs them as "LastWord, FirstWord." Used for automatically formatting names for category sorts. Also is used in [[Template:Year]] in the category sorts.}} | {{Documentation|content=This template takes the last word of the page name and the first word of the page name and outputs them as "LastWord, FirstWord." Used for automatically formatting names for category sorts. Also is used in [[Template:Year]] in the category sorts.}} | ||
[[Category:Character Templates]]</noinclude> | [[Category:Character Templates]]</noinclude> |
Latest revision as of 00:24, 19 August 2013

This template takes the last word of the page name and the first word of the page name and outputs them as "LastWord, FirstWord." Used for automatically formatting names for category sorts. Also is used in Template:Year in the category sorts.
Subpages of this template. |