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.)
(Updating to handle the new "Book:" and "Book talk:" namespaces.)
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-->

Revision as of 00:56, 30 December 2009