Template:File other: Difference between revisions

From All Skies Encyclopaedia
imported>Davidgothberg
(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.)
imported>WOSlinker
(remove {{pp-template}})
 
(4 intermediate revisions by one other user not shown)
Line 3: Line 3:
{{#if:{{{demospace|}}}
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|Image
| {{#ifeq:{{NAMESPACE}}|{{ns:6}}
| image
| file
| other
| other
}}
}}
}}
}}
| file
| image = {{{1|}}}
| image = {{{1|}}}
| other
| other
| #default = {{{2|}}}
| #default = {{{2|}}}
}}<!--End switch--><noinclude>


}}<!--End switch--><!--
Detect if no parameters and report that for clean-up:
-->{{#if:{{{1|}}}{{{2|}}}{{{3|}}} | | [[Category:Wikipedia namespace detection clean-up|Image other]] }}<noinclude>

{{pp-template|small=yes}}
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->

Latest revision as of 14:41, 4 October 2010