Difference between revisions of "Template:Main other"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(Yes it is over-engineered, but it is compatible with the other namespace detection templates.)
(4 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
     }}  
 
     }}  
 
   }}
 
   }}
| main     = {{{1|}}}
+
<!--If any parameter, then don't return the "main/other" strings-->
 +
| main   = {{#if:{{{1|}}}{{{2|}}} | {{{1|}}} | main }}
 
| other
 
| other
| #default = {{{2|}}}
+
| #default = {{#if:{{{1|}}}{{{2|}}} | {{{2|}}} | other }}  
}}<noinclude>
+
  
{{pp-template}}
+
}}<!--End switch--><noinclude>
{{documentation}}
+
 
 +
<!-- {{pp-template|small=yes}} -->
 +
{{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:39, 2 May 2008

other