This template is protected from editing.

Difference between revisions of "Template:Mw-langlink"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
  | none
 
  | none
 
  | {{ns:0}} = {{#switch:{{{en|}}}
 
  | {{ns:0}} = {{#switch:{{{en|}}}
   | true = {{NAMESPACE}}:{{BASEPAGENAME}}
+
   | true = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}
 
   | #default = {{#ifexist:{{BASEPAGENAME}}/{{{1|}}}|{{BASEPAGENAME}}/{{{1|}}}|-}}
 
   | #default = {{#ifexist:{{BASEPAGENAME}}/{{{1|}}}|{{BASEPAGENAME}}/{{{1|}}}|-}}
 
   }}
 
   }}

Revision as of 00:07, 4 September 2010

-

Usage

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