3,311
edits
sims>K6ka No edit summary |
(Created page with " ==Description== This metatemplate is used to help other templates detect which namespace they are in. It detects and groups the different namespaces on K6...") |
||
Line 3:
This metatemplate is used to help other templates detect which [[Help:Namespace|namespace]] they are in.
It detects and groups the different namespaces on
* '''main''': The main or article namespace, where the wiki's content articles are kept.
* '''talk''': Any talk page, including page names that start with "Talk:", "User talk:", "File talk:", etc.
* '''user ·
* '''other''': Any namespace that isn't specified as a parameter in this template.
==Usage==
Line 49 ⟶ 47:
</pre>
If the template is used on any
You can use this trick to make the template not render anything for a specific page type, like this:
Line 140 ⟶ 138:
==Credits==
This template's code was copied from an old version of Wikipedia's [[wikipedia:Template:Namespace detect|Namespace detect]] template, found [
<includeonly>[[Category:Auxiliary templates|{{PAGENAME}}]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
|