Content deleted Content added
Making it fully compatible with the other namespace detection templates. |
Theknightwho (talk | contribs) No edit summary |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1:
{{safesubst:<noinclude/>#switch:
{{safesubst:<noinclude/>#if:{{{page|}}}
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE:{{{page}}} }}|{{safesubst:<noinclude/>SUBJECTSPACE:{{{page}}} }}
| anysubject
| {{safesubst:<noinclude/>TALKSPACE:{
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>SUBJECTSPACE}}
| {{safesubst:<noinclude/>TALKSPACE}}
▲ }}
}}
}}
<noinclude><!-- Only one of the lines below will be executed
| anysubject = {{{other|}}} <noinclude><!--Any subject space--></noinclude>
| Wikipedia talk = {{{wikipedia| {{{default|}}} }}}
|
| Category talk = {{{category| {{{default|}}} }}}
| Draft talk = {{{draft| {{{default|}}} }}}
|
| TimedText talk = {{{timedtext| {{{default|}}} }}}
| Module talk
|
| #default = {{{default|}}} <noinclude><!--A new talk space--></noinclude>
▲| file talk = {{{file talk| {{{image talk| {{{other|}}} }}} }}}
▲| mediawiki talk = {{{mediawiki talk| {{{other|}}} }}}
▲| template talk = {{{template talk| {{{other|}}} }}}
▲| help talk = {{{help talk| {{{other|}}} }}}
▲| category talk = {{{category talk| {{{other|}}} }}}
▲| portal talk = {{{portal talk| {{{other|}}} }}}
▲}}<!--End switch--><noinclude>
<!-- Add categories
▲{{documentation}} -->
▲<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
|