Template:BasePage2 View history

(testing)
(testing)
Line 1: Line 1:
{{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1|1}}| USA
{{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|1|1}}| USA<!-- If USA template page -->
    | {{#titleparts:{{{1|{{PAGENAME}}}}}|1|2}}
  | {{#titleparts:{{{1|{{PAGENAME}}}}}|1|2}}<!-- Return "USA/CommonState"-->
    | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|Main
  | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|Main<!-- If ending "Main" -->
        | {{#titleparts:{{{1|{{PAGENAME}}}}}|-2}}
      | {{#titleparts:{{{1|{{PAGENAME}}}}}|-2}}<!-- Return all but "Main" -->
        | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|-1|-2}}|Main
      | {{#ifeq: {{#titleparts:{{{1|{{PAGENAME}}}}}|-1|-2}}|Main<!-- If ending "Main/Preload"-->
              | {{#titleparts:{{{1|{{PAGENAME}}}}}|-3}}
          | {{#titleparts:{{{1|{{PAGENAME}}}}}|-3}}<!-- Return all but "Main/Preload"-->
              | {{#titleparts:{{{1|{{PAGENAME}}}}}|-1}}
<!--      | {{#titleparts:{{{1|{{PAGENAME}}}}}|-1}}-->
          }}
          | {{{1|{{PAGENAME}}}}}<!-- Testing if works normally -->
      }}
        }}
    }}
}}<noinclude>{{documentation|Template:RootPage/doc}}</noinclude>
}}<noinclude>{{documentation|Template:RootPage/doc}}</noinclude>

Revision as of 21:22, 17 July 2014

BasePage2

Documentation icon Template documentation[create]
Subpages of this template.