Difference between revisions of "Template:Namespace detect"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Adding the "page" parameter, so this template can work together with {{basepage subpage}} and {{if pagename}} etc. And using more efficient main (article) space detection.)
 
(3 intermediate revisions by 3 users not shown)
Line 32: Line 32:
 
| category  = {{{category| {{{other|}}} }}}
 
| category  = {{{category| {{{other|}}} }}}
 
| portal    = {{{portal| {{{other|}}} }}}
 
| portal    = {{{portal| {{{other|}}} }}}
 +
| book      = {{{book| {{{other|}}} }}}
 
| other
 
| other
 
| #default  = {{{other|}}}  <!--"demospace=other" or a new namespace-->
 
| #default  = {{{other|}}}  <!--"demospace=other" or a new namespace-->
  
}}<!--End switch--><noinclude>
+
}}
 
 
{{pp-template}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 03:12, 5 March 2013