Template:Name: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#explode:{{PAGENAME}}| |-1}}, {{#explode:{{PAGENAME}}| |0}}</includeonly><noinclude>
<includeonly>{{#Switch:{{#explode:{{PAGENAME}}| |-2}}|Ó=O |St.=St. }}{{#explode:{{PAGENAME}}| |-1}}, {{#explode:{{PAGENAME}}| |0}}</includeonly><noinclude>


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.
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:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 20:45, 16 October 2012


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.