Template:Language icon: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (→‎Usage: Template:Wikipedia)
(→‎Existing language icons: +- Netherlands → Dutch; + Swedish)
Line 33: Line 33:
* {{tl|fr}} – French
* {{tl|fr}} – French
* {{tl|it}} – Italian
* {{tl|it}} – Italian
* {{tl|nl}} – Netherlands
* {{tl|nl}} – Dutch
* {{tl|pt}} – Portuguese
* {{tl|pt}} – Portuguese
* {{tl|ru}} – Russian
* {{tl|ru}} – Russian
 
* {{tl|sv}} - Swedish
}}
}}


[[Category:Language templates]]
[[Category:Language templates]]
</noinclude>
</noinclude>

Revision as of 10:14, 18 November 2019

({{{1}}})

The following template description is not displayed when the template is inserted in an article.

Goal

This template is the base for the language icon templates. Their purpose is to indicate the language of a paragraph of text to the reader.

See the section "Related templates" below for a list of language icon templates.

Usage

{{Language icon|code|name|text}}
code
Mandatory ISO 639-1 two letter language code (See List of ISO 639-1 codes This is a link to a Wikipedia article for a list).
name
Mandatory plain name of the language that will show in a mouse over text box, for example English.
text
Optional text.

Examples

{{Language icon|sv|Swedish}}

(sv)

{{Language icon|en|English|Describing descriptive description.}}

(en) Describing descriptive description.

Related templates

  • {{lang}} – Will indicate the language in a span of text to the web browser.

Existing language icons

These are using this template.

  • {{de}} – German
  • {{en}} – English
  • {{es}} – Spanish
  • {{fr}} – French
  • {{it}} – Italian
  • {{nl}} – Dutch
  • {{pt}} – Portuguese
  • {{ru}} – Russian
  • {{sv}} - Swedish