Template:File other: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Added reporting to Category:Wikipedia namespace detection clean-up if no parameters.
Ookami (talk | contribs)
m 10 revisions imported
 
(6 intermediate revisions by 2 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}}|Image
   | {{#ifeq:{{NAMESPACE}}|{{ns:6}}
     | image
     | file
     | other
     | other
     }}  
     }}  
   }}
   }}
<!--If any parameter, then don't return the "image/other" strings-->
| file
| image    = {{#if:{{{1|}}}{{{2|}}} | {{{1|}}} | image }}
| image    = {{{1|}}}
| other
| other
| #default = {{#if:{{{1|}}}{{{2|}}} | {{{2|}}} | other }}  
| #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! -->
</noinclude>
</noinclude>

Latest revision as of 13:21, 3 September 2020