Template:Namespace detect: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
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.
meta>Davidgothberg
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