This template is protected from editing.

Difference between revisions of "Template:Mw-langlink"

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

Revision as of 00:03, 4 September 2010

-

Usage

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