Template:File other: Difference between revisions
Jump to navigation
Jump to search
(Removing the "return 'image'/'other' when no parameter" function, since not used, not needed and causes problems in some situations. Leaving the detection of such cases for some time, to make sure.) |
m (11 revisions imported) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
{{#if:{{{demospace|}}} | {{#if:{{{demospace|}}} | ||
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ||
| {{#ifeq:{{NAMESPACE}}| | | {{#ifeq:{{NAMESPACE}}|{{ns:6}} | ||
| | | file | ||
| other | | other | ||
}} | }} | ||
}} | }} | ||
| file | |||
| image = {{{1|}}} | | image = {{{1|}}} | ||
| other | | other | ||
| #default = {{{2|}}} | | #default = {{{2|}}} | ||
}}<!--End switch--><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 18:24, 17 September 2020
Template documentation
[create]