Difference between revisions of "Template:Namespace detect"

From Self-sufficiency
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.)
(2 intermediate revisions by 2 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-->

Revision as of 19:34, 21 September 2010