Difference between revisions of "Template:Lang icon"

From Team Fortress Wiki
Jump to: navigation, search
(+)
 
m (Add "em" to PT-BR, so it displays "(em inglês)")
 
(35 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<span class="languageicon" style="font-size:0.95em; font-weight:bold; color:#555;">({{#language:{{{1|en}}}}})</span><noinclude>
+
<span class="languageicon" style="font-size:95%; font-weight:bold; font-style:normal; color:#555;">{{lang incomplete
 +
  | en = (
 +
  | ja = (
 +
  | zh-hans = (
 +
  | zh-hant = (
 +
}}{{#switch:{{{1|¬}}}
 +
| ¬ | en = {{lang<!--
 +
  | This is for literally the word "English" in your language. -->
 +
  | en = English
 +
  | cs = Anglicky
 +
  | da = Engelsk
 +
  | de = Englisch
 +
  | es = Inglés
 +
  | fi = englanniksi
 +
  | fr = anglais
 +
  | hu = Angol
 +
  | it = Inglese
 +
  | ja = 英語
 +
  | ko = 영어
 +
  | nl = Engels
 +
  | pl = angielski
 +
  | pt = inglês
 +
  | pt-br = em inglês
 +
  | ru = английский
 +
  | sv = Engelska
 +
  | tr = İngilizce
 +
  | zh-hans = 英语
 +
  | zh-hant = 英語
 +
  }}
 +
| #default = {{#language:{{{1}}}}}
 +
}}{{lang incomplete
 +
  | en = )
 +
  | ja = )
 +
  | zh-hans = )
 +
  | zh-hant = )
 +
}}</span><noinclude>
 +
{{translation switching|en, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ru, sv, tr, zh-hans, zh-hant}}
 +
{{Doc begin}}
 
== Usage ==
 
== Usage ==
 
* Place this after an external link if the link leads to a different language. An English external link should use this on a Russian page, for example.
 
* Place this after an external link if the link leads to a different language. An English external link should use this on a Russian page, for example.

Latest revision as of 18:24, 19 August 2022

(English)

Documentation for Lang icon

Usage

  • Place this after an external link if the link leads to a different language. An English external link should use this on a Russian page, for example.
  • Example:
{{lang icon|fr}} generates (français)