Difference between revisions of "Template:Mw-langlink"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
{{#switch:{{{namespace-override|{{NAMESPACE}}}}} <!-- Whitelisting certain namespaces -->
+
{{#switch:{{{namespace-override|{{NAMESPACE}}}}}
 
  | Template
 
  | Template
 
  | Category
 
  | Category
Line 5: Line 5:
 
  | none
 
  | none
 
  | {{ns:0}} = {{#ifexist:{{{override|{{BASEPAGENAME}}/{{{1|}}}}}}|{{{override|{{BASEPAEGNAME}}/{{{1|}}}}}}|-}}
 
  | {{ns:0}} = {{#ifexist:{{{override|{{BASEPAGENAME}}/{{{1|}}}}}}|{{{override|{{BASEPAEGNAME}}/{{{1|}}}}}}|-}}
  | #default = -}}<noinclude>{{protected|small=1}}
+
  | #default = -
== 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:32, 3 September 2010

-