Difference between revisions of "User:Slimyboi500/Sandbox/Template:Lang Nav"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "{{Navbox with columns | name = Lang Nav | state = uncollapsed | bodystyle = border: 1px solid #AAA; | titlestyle = background: green; color: white; | colstyle = text-align:...")
 
m
Line 6: Line 6:
 
| colstyle  = text-align: center; font-weight: bold; font-size: 100%;
 
| colstyle  = text-align: center; font-weight: bold; font-size: 100%;
 
| colwidth = 100%
 
| colwidth = 100%
| title = [[Robots{{if lang}}|<font color="white">{{common string|robots}}</font>]]
+
| title = <font color="white">Languages</font>
 
| col1 =  
 
| col1 =  
 
{{{!}} align="center" cellpadding=0 cellspacing=0
 
{{{!}} align="center" cellpadding=0 cellspacing=0
{{!}}[[File:Flag America.png|20px|link={{#titleparts: {{FULLPAGENAME}} | -1 }}]]
+
{{!}}[[File:Flag America.png|20px|link={{#switch: {{SUBPAGENAME}}
{{!}}[[File:Flag Spain.png|20px|link={{FULLPAGENAME}}/es]]
+
| cs
{{!}}{{Icon class|class=pyro|link=Pyro_Robot{{if lang}}}}
+
| da
{{!}}{{Icon class|class=demoman|link=Demoman_Robot{{if lang}}}}
+
| de
{{!}}{{Icon class|class=heavy|link=Heavy_Robot{{if lang}}}}
+
| es
{{!}}{{Icon class|class=engineer|link=Engineer_Robot{{if lang}}}}
+
| fi
{{!}}{{Icon class|class=medic|link=Medic_Robot{{if lang}}}}
+
| fr
{{!}}{{Icon class|class=sniper|link=Sniper_Robot{{if lang}}}}
+
| hu
{{!}}{{Icon class|class=spy|link=Spy_Robot{{if lang}}}}
+
| it
{{!}}{{Icon class|class=sentry buster|link=Sentry Buster{{if lang}}}}
+
| ja
{{!}}{{Icon class|class=tank|link=Tank Robot{{if lang}}}}
+
| ko
{{!}}[[File:Flag America.png|20px|link={{#titleparts: {{FULLPAGENAME}} | -1 }}]]
+
| nl
{{!}}[[File:Flag Spain.png|20px|link={{FULLPAGENAME}}/es]]
+
| no
{{!}}{{Icon class|class=pyro|link=Pyro_Robot{{if lang}}}}
+
| pl
{{!}}{{Icon class|class=demoman|link=Demoman_Robot{{if lang}}}}
+
| pt
{{!}}{{Icon class|class=heavy|link=Heavy_Robot{{if lang}}}}
+
| pt-br
{{!}}{{Icon class|class=engineer|link=Engineer_Robot{{if lang}}}}
+
| ro
{{!}}{{Icon class|class=medic|link=Medic_Robot{{if lang}}}}
+
| ru
{{!}}{{Icon class|class=sniper|link=Sniper_Robot{{if lang}}}}
+
| sv
{{!}}{{Icon class|class=spy|link=Spy_Robot{{if lang}}}}
+
| tr
{{!}}{{Icon class|class=sentry buster|link=Sentry Buster{{if lang}}}}
+
| zh-hans
{{!}}{{Icon class|class=tank|link=Tank Robot{{if lang}}}}
+
| zh-hant = {{#titleparts: {{FULLPAGENAME}} | -1 }}
 +
| #default = {{FULLPAGENAME}}}}]]
 +
{{!}}[[File:Flag Spain.png|20px|link={{#switch: {{SUBPAGENAME}} | es = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/es]]
 +
{{!}}[[File:Flag France.png|20px|link={{#switch: {{SUBPAGENAME}} | fr = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/fr]]
 +
{{!}}[[File:Flag Italy.png|20px|link={{#switch: {{SUBPAGENAME}} | it = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/it]]
 +
{{!}}[[File:Flag Germany.png|20px|link={{#switch: {{SUBPAGENAME}} | de = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/de]]
 +
{{!}}[[File:Flag Brazil.png|20px|link={{#switch: {{SUBPAGENAME}} | pt-br = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/pt-br]]
 +
{{!}}[[File:Flag Russia.png|20px|link={{#switch: {{SUBPAGENAME}} | ru = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/ru]]
 +
{{!}}[[File:Flag Japan.png|20px|link={{#switch: {{SUBPAGENAME}} | ja = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/ja]]
 +
{{!}}[[File:Flag of South Korea.png|20px|link={{#switch: {{SUBPAGENAME}} | ko = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/ko]]
 +
{{!}}[[File:Flag Denmark.png|20px|link={{#switch: {{SUBPAGENAME}} | da = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/da]]
 +
{{!}}[[File:Flag Netherlands.png|20px|link={{#switch: {{SUBPAGENAME}} | nl = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/nl]]
 +
{{!}}[[File:Flag Czech.png|20px|link={{#switch: {{SUBPAGENAME}} | cs = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/cs]]
 +
{{!}}[[File:Flag Sweden.png|20px|link={{#switch: {{SUBPAGENAME}} | sv = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/sv]]
 +
{{!}}[[File:Flag Portugal.png|20px|link={{#switch: {{SUBPAGENAME}} | pt = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/pt]]
 +
{{!}}[[File:Flag Norway.png|20px|link={{#switch: {{SUBPAGENAME}} | no = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/no]]
 +
{{!}}[[File:Flag Poland.png|20px|link={{#switch: {{SUBPAGENAME}} | pl = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/pl]]
 +
{{!}}[[File:Flag Hungary.png|20px|link={{#switch: {{SUBPAGENAME}} | hu = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/hu]]
 +
{{!}}[[File:Flag Romania.png|20px|link={{#switch: {{SUBPAGENAME}} | ro = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/ro]]
 +
{{!}}[[File:Flag Turkey.png|20px|link={{#switch: {{SUBPAGENAME}} | tr = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/tr]]
 +
{{!}}[[File:Flag Finland.png|20px|link={{#switch: {{SUBPAGENAME}} | fi = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/fi]]
 +
{{!}}[[File:Flag China.png|20px|link={{#switch: {{SUBPAGENAME}} | zh-hans = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/zh-hant]]
 +
{{!}}[[File:Flag China.png|20px|link={{#switch: {{SUBPAGENAME}} | zh-hant = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/zh-hant]]
  
 
{{!}}-
 
{{!}}-
{{!}}[[{{#titleparts: {{FULLPAGENAME}} | -1 }}|en]]{{md}}
+
{{!}}[[{{#switch: {{SUBPAGENAME}}
{{!}}[[{{FULLPAGENAME}}/es|es]]{{md}}
+
| cs
{{!}}[[{{FULLPAGENAME}}/fr|fr]]{{md}}
+
| da
{{!}}[[Demoman Robot{{if lang}}|{{common string|Demoman Robot}}]]{{md}}
+
| de
 +
| es
 +
| fi
 +
| fr
 +
| hu
 +
| it
 +
| ja
 +
| ko
 +
| nl
 +
| no
 +
| pl
 +
| pt
 +
| pt-br
 +
| ro
 +
| ru
 +
| sv
 +
| tr
 +
| zh-hans
 +
| zh-hant = {{#titleparts: {{FULLPAGENAME}} | -1 }}
 +
| #default = {{FULLPAGENAME}}}}|en]]{{md}}
 +
{{!}}[[{{#switch: {{SUBPAGENAME}} | es = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/es|es]]{{md}}
 +
{{!}}[[{{#switch: {{SUBPAGENAME}} | fr = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/fr|fr]]{{md}}
 +
{{!}}[[{{#switch: {{SUBPAGENAME}} | it = {{#titleparts: {{FULLPAGENAME}} | -1 }} | #default = {{FULLPAGENAME}} }}/it|it]]{{md}}
 
{{!}}[[Heavy Robot{{if lang}}|{{common string|Heavy Robot}}]]{{md}}
 
{{!}}[[Heavy Robot{{if lang}}|{{common string|Heavy Robot}}]]{{md}}
 
{{!}}[[Engineer Robot{{if lang}}|{{common string|Engineer Robot}}]]{{md}}
 
{{!}}[[Engineer Robot{{if lang}}|{{common string|Engineer Robot}}]]{{md}}

Revision as of 03:11, 23 February 2024