Difference between revisions of "Template:Module other"
From skaldsong companion
CandaceJolly (talk | contribs) m |
m (Protected "Template:Module other": Highly visible template; 2,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{#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 = {{{1|}}} | ||
| + | | other | ||
| + | | #default = {{{2|}}} | ||
| + | }}<!--End switch--><noinclude> | ||
| + | |||
| + | {{documentation}} | ||
| + | <!-- Add categories to the /doc subpage, not here! --> | ||
| + | </noinclude> | ||
Revision as of 17:16, 9 October 2017
{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Module
| module
| other
}}
}}
| module = | other | #default = }}
{{#switch:<translate></translate> | = Lua error: Internal error: The interpreter has terminated with signal "11". | #default = Script error: No such module "Template translation". }}