Template:When on basepage

From About PCs Wiki
Jump to navigation Jump to search

The template documentation has been included by the command {{#invoke:Template documentation|doc|...}} using subpage When on basepage/doc. The documentation of Template documentation contains more information about using the module and its paramters.

The subpage for template documentation {{When on basepage/doc}} does not exist.

Creating the documentation subpage {{When on basepage/doc}} for the template {{When on basepage}} per link or input box below.


Raw content[edit | hide]

{{#switch:

<!--If no or empty "page" parameter then detect basepage/subpage/subsubpage--> {{#if:{{{page|}}} | {{#if:{{#titleparts:{{{page}}}|0|3}} | subsubpage <!--Subsubpage or lower--> | {{#if:{{#titleparts:{{{page}}}|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:{{FULLPAGENAME}}|0|3}} | subsubpage <!--Subsubpage or lower--> | {{#if:{{#titleparts:{{FULLPAGENAME}}|0|2}} | subpage | basepage }} }} }} | basepage = {{{1|}}} | subpage = {{{2|}}} | subsubpage = {{{3| {{{2|}}} }}} <!--Respecting empty parameter on purpose--> }}<!--End switch--><noinclude> {{Documentation}}

</noinclude>

Subpages[edit | hide]

What links here?[edit | hide]

bottom