Difference between revisions of "Template:Languageicon"

21,778 bytes removed ,  15:00, 3 February 2009
m
1 revision
 
m (1 revision)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:
<span class="languageicon" style="font-size:0.95em; font-weight:bold; color:#555;">({{language|{{{1}}}}})</span><noinclude>
  <!--If no or empty "demospace" parameter then detect namespace-->
  {{#if:{{{demospace|}}}
  | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
  | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
    | main
    | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}
      | talk
      | other
      }}
    }}
  }}
| main    = {{{1|}}}
| talk    = {{{2|}}}
| other
| #default = {{{3|}}}
}}<!--End switch--><noinclude>
 
{{pp-template|small=yes}}
{{pp-template|small=yes}}
{{Documentation}}
{{template doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
Budlight
Bots, Bureaucrats, Administrators
529

edits