Vorlage:Namespace detect: Unterschied zwischen den Versionen

Updating to handle the new "Book:" and "Book talk:" namespaces.
imported>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.)
imported>Davidgothberg
(Updating to handle the new "Book:" and "Book talk:" namespaces.)
Zeile 32: Zeile 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-->
Anonymer Benutzer