Template:Lang icon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Matthew250 (talk | contribs) (Undo revision 183996 by KEMONO PANTSU (talk)) |
||
Line 1: | Line 1: | ||
<span class="languageicon" style="font-size:95%; font-weight:bold; font-style:normal; color:#555;">({{#switch:{{{1|¬}}} | |||
| ¬ | en = {{lang<!-- | |||
| This is for literally the word "English" in your language. --> | |||
| en = English | |||
| cs = Anglicky | |||
| fi = englanniksi | |||
| de = Englisch | |||
| es = Inglés | |||
| fr = Anglais | |||
| ja = 英語 | |||
| nl = Engels | |||
| pl = Angielski | |||
| pt-br = Inglês | |||
| ru = английский | |||
| zh-hans = 英文 | |||
| zh-hans = 英文 | |||
}} | |||
| #default = {{#language:{{{1}}}}} | |||
}})</span><noinclude> | |||
{{translation switching|cs, de, es, fi, fr, ja, nl, pl, pt-br, ru, zh-hans, zh-hant}} | |||
== 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: | |||
::{{tlx|lang icon|fr}} generates {{lang icon|fr}} | |||
[[Category:Language templates|Lang icon]] | |||
[[Category:Formatting templates|Lang icon]] | |||
</noinclude> | |||
Revision as of 04:16, 13 June 2023
(English)
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Lang icon/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, de, es, fi, fr, ja, nl, pl, pt-br, ru, zh-hans, zh-hant (add) |
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)