Difference between revisions of "Template:Basepage subpage"

From Self-sufficiency
Jump to: navigation, search
m (Protected Template:Basepage subpage: This is a meta-template, when it is used it will become high-risk. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Adding {{pp-template}} and a code comment.)
Line 5: Line 5:
 
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
 
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
 
   | {{#if:{{#titleparts:{{FULLPAGENAME}}|0|3}}
 
   | {{#if:{{#titleparts:{{FULLPAGENAME}}|0|3}}
     | subsubpage    <!-- Subsubpage or lower. -->
+
     | subsubpage    <!--Subsubpage or lower-->
 
     | {{#if:{{#titleparts:{{FULLPAGENAME}}|0|2}}
 
     | {{#if:{{#titleparts:{{FULLPAGENAME}}|0|2}}
 
       | subpage
 
       | subpage
Line 14: Line 14:
 
| basepage = {{{1|}}}
 
| basepage = {{{1|}}}
 
| subpage  = {{{2|}}}
 
| subpage  = {{{2|}}}
| subsubpage = {{{3| {{{2|}}} }}}
+
| subsubpage = {{{3| {{{2|}}} }}}   <!--Respecting empty parameter on purpose-->
| #default =  <!-- Faulty demospace parameter, do nothing. -->
+
| #default =  <!--Faulty demospace parameter, do nothing-->
 
}}<!--End switch--><noinclude>
 
}}<!--End switch--><noinclude>
  
<!-- {{pp-template}} -->
+
{{pp-template}}
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 00:56, 4 November 2009