Difference between revisions of "Template:Namespace detect"
From Self-sufficiency
(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.) |
m (1 revision) |
||
(4 intermediate revisions by 4 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--> | ||
Line 37: | Line 38: | ||
}}<!--End switch--><noinclude> | }}<!--End switch--><noinclude> | ||
− | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 18:39, 13 October 2010
[edit]
Documentation