Template:Module other: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:Module}} | module | other }} }} | module = {{{module|{{{1|}}}}}} | other | #default = {{{other|{{{2|}}}}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" |
imported>Theknightwho Make substable. |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#switch: | {{safesubst:<noinclude/>#switch: | ||
<!--If no or empty "demospace" parameter then detect namespace--> | <noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude> | ||
{{#if:{{{demospace|}}} | {{safesubst:<noinclude/>#if:{{{demospace|}}} | ||
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | | {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude> | ||
| {{#ifeq:{{NAMESPACE}}|{{ns:Module}} | | {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:Module}} | ||
| module | | module | ||
| other | | other | ||
Line 11: | Line 11: | ||
| other | | other | ||
| #default = {{{other|{{{2|}}}}}} | | #default = {{{other|{{{2|}}}}}} | ||
}}<!--End switch-- | }}<noinclude><!--End switch--> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |