Content deleted Content added
update docs. |
Funandtrvl (talk | contribs) add cat |
||
Line 1:
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
This is the {{tl|talkspace detect}} meta-template.
It helps other templates detect what type of page they are on.
:'''main''' = Defines the output if the template is located on main/article talkspace; aka ''Talk:''.
Line 11:
:'''other''' = Defines the output if the template is located on any subject space (not the associated talkspace).
This template takes one or more parameters named after the different page types as listed above. Like this:
Line 34 ⟶ 33:
=== The "page" parameter ===
For testing and demonstration purposes this template can take a parameter named '''page'''. Like this:
Line 67 ⟶ 65:
</pre>
{{namespace detect see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Namespace manipulation templates]]
[[Category:Talk namespace templates]]
[[Category:Wikipedia metatemplates]]
[[zh:Template:Talkspace detect]]
}}</includeonly>
|