Template:Template other: Difference between revisions

From Open Food Facts wiki
(fork from https://www.wikidata.org/wiki/Template:Template_other)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:
{{Delete}}
  <!--If no or empty "demospace" parameter then detect namespace-->
  {{#if:{{{demospace|}}}
  | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
  | {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
    | template
    | other
    }}
  }}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 09:52, 12 April 2024