This template is protected from editing.

Difference between revisions of "Template:Mw-langlink"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
 
  | {{ns:0}} = {{#switch:{{{en|}}}
 
  | {{ns:0}} = {{#switch:{{{en|}}}
 
   | true = {{FULLPAGENAME}}
 
   | true = {{FULLPAGENAME}}
   | #default = {{#ifexist:{{BASEPAGENAME}}/{{{1|}}}|{{BASEPAGENAME}}/{{{1|}}}|-}}
+
   | #default = {{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1|}}}|:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1|}}}|-}}
 
   }}
 
   }}
 
  | #default = -}}<noinclude>{{protected|small=1}}
 
  | #default = -}}<noinclude>{{protected|small=1}}

Revision as of 00:02, 4 September 2010

-

Usage

  • {{mw-langlink|fr}} on Hats will display the text "Hats/fr" (no link). See talk.