13,212
edits
(Doc style; Documenting undocumented parameter) |
(+related templates; Hiding table of contents; Using the HTML "lang" attribute on the text) |
||
Line 1: | Line 1: | ||
<span style="font-family:sans-serif; font-weight:bold; font-size:85%; cursor:help; color:#555555; " title="Language: {{{2}}}">(<span style="border-bottom: 1px dotted #555555; ">{{{1}}}</span>) </span>{{{3|}}}<noinclude> | <span style="font-family:sans-serif; font-weight:bold; font-size:85%; cursor:help; color:#555555; " title="Language: {{{2}}}">(<span style="border-bottom: 1px dotted #555555;">{{{1}}}</span>) </span>{{#if: {{{3|}}}|<span lang="{{{1}}}">{{{3}}}</span>|}}<noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | |||
== Goal == | == Goal == | ||
This template is the base for the language templates | 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 == | == Usage == | ||
Line 19: | Line 22: | ||
<nowiki>{{Language icon|en|English|Describing descriptive description.}}</nowiki> | <nowiki>{{Language icon|en|English|Describing descriptive description.}}</nowiki> | ||
{{Language icon|en|English|Describing descriptive description.}} | {{Language icon|en|English|Describing descriptive description.}} | ||
== Related templates == | |||
* {{tl|lang}} – Will indicate the language in a span of text to the ''web browser''. | |||
=== Existing language icons === | |||
These are using this template. | |||
* {{tl|de}} – German | |||
* {{tl|en}} – English | |||
* {{tl|es}} – Spanish | |||
* {{tl|fr}} – French | |||
* {{tl|it}} – Italian | |||
* {{tl|nl}} – Netherlands | |||
* {{tl|pt}} – Portuguese | |||
* {{tl|ru}} – Russian | |||
}} | }} |