Content deleted Content added
←Created page with '{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#switch:{{NAMESPACE}}|Talk={{{main|{{{default|}}}}}}|User talk={{{user|{{{default|}}}}}}|Wikipedia talk={{{wikipedia|{{{defaul…' |
Theknightwho (talk | contribs) Copying from sandbox: (1) support missing namespaces MOS talk, TimedText talk and Event talk, (2) fix broken subst support for subject spaces, and (3) avoid unnecessary use of Template:^ when <noinclude> tags work just fine. |
||
(12 intermediate revisions by 6 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:{{{page}}} }}
}}
| {{safesubst<noinclude/>:#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>SUBJECTSPACE}}
| anysubject
| {{safesubst:<noinclude/>TALKSPACE}}
}}
}}
<noinclude><!-- Only one of the lines below will be executed.
Respecting empty parameters on purpose. --></noinclude>
| anysubject = {{{other|}}} <noinclude><!--Any subject space--></noinclude>
| Talk = {{{main| {{{default|}}} }}}
| User talk = {{{user| {{{default|}}} }}}
| Wikipedia talk = {{{wikipedia| {{{default|}}} }}}
| File talk = {{{file| {{{image| {{{default|}}} }}} }}}
| MediaWiki talk = {{{mediawiki| {{{default|}}} }}}
| Template talk = {{{template| {{{default|}}} }}}
| Help talk = {{{help| {{{default|}}} }}}
| Category talk = {{{category| {{{default|}}} }}}
| Portal talk = {{{portal| {{{default|}}} }}}
| Draft talk = {{{draft| {{{default|}}} }}}
| MOS talk = {{{mos| {{{default|}}} }}}
| TimedText talk = {{{timedtext| {{{default|}}} }}}
| Module talk = {{{module| {{{default|}}} }}}
| Event talk = {{{event| {{{default|}}} }}}
| #default = {{{default|}}} <noinclude><!--A new talk space--></noinclude>
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, interwikis go to Wikidata, thank you! -->
</noinclude>
|