Template:Name: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#Switch:{{#explode:{{PAGENAME}}| |-2}}|Ó=O |St.|de={{#explode:{{PAGENAME}}| |-2}}&nbsp;}}{{#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}}&nbsp;}}<!----
 
--->{{#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>

Revision as of 18:25, 22 June 2013


Documentation icon Template documentation

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.