This template is protected from editing.

Difference between revisions of "Template:Mw-langlink"

From Team Fortress Wiki
Jump to: navigation, search
m (more fixes)
m (add Italian)
Line 8: Line 8:
 
  | none
 
  | none
 
  | {{ns:0}} = {{#ifexist:{{#switch:{{SUBPAGENAME}}
 
  | {{ns:0}} = {{#ifexist:{{#switch:{{SUBPAGENAME}}
   |ar|cs|da|de|en|es|fi|fr|hu|ja|ko|nl|no|pl|pt|pt-br|ro|ru|tr|sv|zh-hans|zh-hant = {{#titleparts:{{FULLPAGENAME}}|-1}}
+
   |ar|cs|da|de|en|es|fi|fr|hu|it|ja|ko|nl|no|pl|pt|pt-br|ro|ru|tr|sv|zh-hans|zh-hant = {{#titleparts:{{FULLPAGENAME}}|-1}}
 
   | #default = {{FULLPAGENAME}}
 
   | #default = {{FULLPAGENAME}}
 
  }}{{#if:{{{en|}}}||/{{{1|}}}}}|{{#switch:{{SUBPAGENAME}}
 
  }}{{#if:{{{en|}}}||/{{{1|}}}}}|{{#switch:{{SUBPAGENAME}}
   |ar|cs|da|de|en|es|fi|fr|hu|ja|ko|nl|no|pl|pt|pt-br|ro|ru|tr|sv|zh-hans|zh-hant = {{#titleparts:{{FULLPAGENAME}}|-1}}
+
   |ar|cs|da|de|en|es|fi|fr|hu|it|ja|ko|nl|no|pl|pt|pt-br|ro|ru|tr|sv|zh-hans|zh-hant = {{#titleparts:{{FULLPAGENAME}}|-1}}
 
   | #default = {{FULLPAGENAME}}
 
   | #default = {{FULLPAGENAME}}
 
  }}{{#if:{{{en|}}}||/{{{1|}}}}}|-}} <!--End #ifexist -->
 
  }}{{#if:{{{en|}}}||/{{{1|}}}}}|-}} <!--End #ifexist -->

Revision as of 20:10, 27 September 2014

-

Usage

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