Difference between revisions of "Template:Module other"
From skaldsong companion
CandaceJolly (talk | contribs) m |
m (1 revision imported: Modules) |
||
| 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> | ||
Latest revision as of 00:27, 6 December 2018
{{#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". }}