Difference between revisions of "Template:Basepage subpage"
From MediaWiki
(Created page with "{{#switch: <!--If no or empty "page" parameter then detect basepage/subpage/subsubpage--> {{#if:{{{page|}}} | {{#if:{{#titleparts:{{{page}}}|0|3}} | subsubpage...") |
Latest revision as of 02:32, 20 October 2012
{{#switch:
{{#if: | {{#if:{{#titleparts:{{{page}}}|0|3}} | subsubpage | {{#if:{{#titleparts:{{{page}}}|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Basepage subpage|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Basepage subpage|0|2}} | subpage | basepage }} }} }}
| basepage = | subpage = | subsubpage = }}