This template is protected from editing.

Difference between revisions of "Template:Mw-langlink"

From Team Fortress Wiki
Jump to: navigation, search
m (spelling error fail.)
Line 1: Line 1:
{{#switch:{{{namespace-override|{{NAMESPACE}}}}}
+
{{#switch:{{{namespace-override|{{NAMESPACE}}}}} <!-- Whitelisting certain namespaces -->
 
  | Template
 
  | Template
 
  | Category
 
  | Category
 
  | blank
 
  | blank
 
  | none
 
  | none
  | {{ns:0}} = {{#ifexist:{{{override|{{BASEPAGENAME}}/{{{1|de}}}}}}|{{{override|{{BASEPAGENAME}}/{{{1|de}}}}}}|-}}
+
  | {{ns:0}} = {{#ifexist:{{{override|{{BASEPAGENAME}}/{{{1|}}}}}}|{{{override|{{BASEPAGENAME}}/{{{1|}}}}}}|-}}
  | #default = -
+
  | #default = -}}<noinclude>{{protected|small=1}}
}}
+
== Usage ==
 +
* {{tlx|mw-langlink|2=fr}} on [[Hats]] will display the text "{{code|Hats/fr}}" (not a link), so it can be used on [[MediaWiki:Sidebar]].
 +
[[Category:Templates|Mw-langlink]]
 +
</noinclude>

Revision as of 22:35, 3 September 2010

-

Usage