Template:When on basepage

From ICRPaedia
Jump to navigation Jump to search

{{#switch:

 {{#if:
 | {{#if:{{#titleparts:{{{page}}}|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:{{{page}}}|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:When on basepage|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:When on basepage|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = | subpage = | subsubpage = }} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}