Content deleted Content added
Use the "page" parameter instead of the "demospace" parameter. More flexible. And compatible with {{basepage subpage}} etc. |
Theknightwho (talk | contribs) No edit summary |
||
(5 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:{{{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|}}} }}}
Line 22:
| Category talk = {{{category| {{{default|}}} }}}
| Portal talk = {{{portal| {{{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>
<!-- Add categories
▲{{documentation}} -->
▲<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
|