Seunaleuëk:Langx/doc
|
|
This template should not be used in citation templates such as Seunaleuëk:Cs1 and Seunaleuëk:Cs2, because it includes markup that will pollute the COinS metadata they produce; see COinS in Wikipedia. |
|
|
{{{1}}} |
|
|
This is a documentation subpage for Seunaleuëk:Langx (see that page for the seunaleuëk itself). It contains usage information, categories, interlanguage links and other content that is not part of the original seunaleuëk page. |
| This template uses Lua: |
This language template identifies non-English text. It is very similar to {{ lang }} but inserts the name of the language as a label. The text is formatted according to recommendations in Seunaleuëk:Section link: italics for languages that use the Latin alphabet, normal for others.
Usage
[peusaneut asai]An IETF language tag and the non-English term or phrase are the only required parameters.
The template should generally be placed after the English translation of the foreign term or phrase.
- The parameter
|links=noprevents the language name from being linked. - The parameter
|translit=allows for a romanization. This parameter is not supported by{{langx|<tag>|...}}templates for languages that are already written in Latin script. - The parameter
|lit=enables a literal translation (in English) to be given.
Parameters
[peusaneut asai]| Parameter | Definition | Yields to | Alias |
|---|---|---|---|
|1= | The IETF language tag for the content in |text= | Seunaleuëk:Sdash | |code= |
|text= | The non-English text | Seunaleuëk:Sdash | |2= |
|translit= | The Latin script transliteration of the content in |text= | Seunaleuëk:Sdash | |3= |
|translit-std= | The standard used for the transliteration of the value of |translit=; accepted values are: Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value | Seunaleuëk:Sdash | |
|translit-script= | The transliteration standard's script identifier | Seunaleuëk:Sdash | |
|translation= | The literal English translation or gloss of the content in |text=. Will be surrounded in single-quotes. The text will be tagged with CSS class and the quotes with , like how {{ gloss }} does it, enabling customization in user stylesheets. | Seunaleuëk:Sdash | |lit=, |4= |
|label= | The label to be used instead of template-provided language label. May be wikilinked. Special keyword Seunaleuëk:Param value causes the template to render without any labels (including transliteration and translation labels) | Seunaleuëk:Sdash | |
|link= | Links language name and static text associated with |translit= and |translation=. Defaults to Seunaleuëk:Param value. Accepted values are: Seunaleuëk:Param value, Seunaleuëk:Param value; |link=no does not unlink wikilinked labels set by |label= | Seunaleuëk:Sdash | |links= |
|proto= | Accepted values are: Seunaleuëk:Param value (default) or Seunaleuëk:Param value (default for private-use language tags with the Seunaleuëk:Param value subtags); when Seunaleuëk:Param value (default or explicit), prefixes rendered text with an asterisk indicating 'unattested' | Seunaleuëk:Sdash | |
|script= | (Deprecated – include script subtag in |1=) IETF language script subtag; sometimes set by the template when the language of the content in |text= uses more than one writing system; always four alpha characters; a value of Seunaleuëk:Param value (Seunaleuëk:Em "Latin"!) forces italic rendering unless overridden by |italic=; overrides |rtl= | |italic= | |
|region= | (Deprecated – include region subtag in |1=) IETF language region subtag | Seunaleuëk:Sdash | |
|variant= | (Deprecated – include variant subtag in |1=) IETF language variant subtag | Seunaleuëk:Sdash | |
|rtl= | Seunaleuëk:Param value indicates that the writing system used for the content in |text= is right-to-left; accepted values are: Seunaleuëk:Param value (default), Seunaleuëk:Param value | |script= | |
|italic= | Seunaleuëk:Crossref; accepted values are: Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value | Seunaleuëk:Sdash | |italics=, |i= |
|size= | Specifies font size of the content in |text=; use a value suitable for use with the CSS font-size property; this should almost always be a relative value supplied in Seunaleuëk:Param value or Seunaleuëk:Param value units, not a fixed Seunaleuëk:Param value value. | Seunaleuëk:Sdash | |
|engvar= | Selects English variant spelling of 'romanised' or 'romanized' (default) according to the country specified; accepted values are: Seunaleuëk:Param value (Australia), Seunaleuëk:Param value (Canada), Seunaleuëk:Param value (Great Britain), Seunaleuëk:Param value (Ireland), Seunaleuëk:Param value (India), Seunaleuëk:Param value (New Zealand), Seunaleuëk:Param value (United States), Seunaleuëk:Param value (South Africa) | Seunaleuëk:Sdash | |
|cat= | Inhibits automatic categorization; mirror version of |nocat=; accepted values are: Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value | Seunaleuëk:Sdash | |
|nocat= | Inhibits automatic categorization; mirror version of |cat=; accepted values are: Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value, Seunaleuëk:Param value | Seunaleuëk:Sdash | |
|italic= value | Description | Example code | Result | HTML markup |
|---|---|---|---|---|
|
|
{{Langx|ru|тундра}} |
Russian: тундра | |
{{Langx|ru|tûndra}} |
Russian: tûndra | Incorrect markup; this requires script subtag Seunaleuëk:Pval. | ||
{{Langx|fr|toundra}} |
French: toundra | | ||
{{Langx|ru-latn|tûndra}} |
Russian: tûndra | | ||
| Seunaleuëk:Param value | {{Langx|ru|тундра|italic=default}} |
Russian: тундра | | |
{{Langx|fr|toundra|italic=default}} |
French: toundra | | ||
{{Langx|ru-latn|tûndra|italic=default}} |
Russian: tûndra | | ||
| Seunaleuëk:Param value |
|
{{Langx|ru|тундра|italic=no}} |
Russian: тундра | |
{{Langx|fr|toundra|italic=no}} |
French: toundra | | ||
{{Langx|ru-latn|tûndra|italic=no}} |
Russian: tûndra | | ||
''{{Langx|ru-latn|tûndra|italic=no}}'' |
Russian: tûndra | | ||
| Seunaleuëk:Param value |
|
{{Langx|ru|тундра|italic=yes}} |
Russian: тундра | |
{{Langx|ru-latn|tûndra|italic=yes}} |
Russian: tûndra | | ||
| Seunaleuëk:Param value |
|
{{Langx|ru|тундра|italic=unset}} |
Russian: тундра | |
''{{Langx|ru|тундра|italic=unset}}'' |
Russian: тундра | | ||
{{Langx|ru-latn|tûndra|italic=unset}} |
Russian: tûndra | | ||
''{{Langx|ru-latn|tûndra|italic=unset}}'' |
Russian: tûndra | | ||
| Seunaleuëk:Param value |
|
{{Langx|ru|тундра|italic=invert}} |
Russian: тундра | |
{{Langx|ru|''тундра''|italic=invert}} |
Russian: тундра | | ||
{{Langx|ru-latn|tûndra|italic=invert}} |
Russian: tûndra | | ||
{{Langx|ru-latn|''tûndra''|italic=invert}} |
Russian: tûndra | | ||
Notes
[peusaneut asai]TemplateData
[peusaneut asai]Seunaleuëk:TemplateData header
Indicates to readers the original form of a term or phrase in a foreign language.
| Parameter | Keterangan | Jenis | Status | |
|---|---|---|---|---|
| Language tag | 1 | A valid IETF language tag identifying the language of the non-English text. E.g. "ja" for Japanese.
| Kata | wajib diisi |
| Text | 2 | The non-English text to display. E.g. "東京都" means "Tokyo" in Japanese.
| Kata | wajib diisi |
| Transliteration | 3 translit | The transliteration of the foreign text, for languages that do not use the Latin alphabet. This field is ignored for languages that do use the Latin alphabet. E.g. "Tōkyō" is the standardized romanization of "Tokyo".
| Kata | opsional |
| Literal translation | 4 lit translation | The literal translation of the foreign text. E.g. "Tokyo" means "eastern capital".
| Kata | opsional |
| Display link | links link | Set to 'no' to disable the link to the article's language.
| Boolean | opsional |
| Language label | label | If 'none', suppresses language link and label. Other options may be available depending on the language.
| Baris | opsional |
| Right-to-left | rtl | Toggle right-to-left view for the foreign text.
| Boolean | opsional |
| Italicize | italic italics i | Toggle italicization for the foreign text.
| Boolean | opsional |
| Font-size | size | Sets font-size for the foreign text.
| Tak dikenal | opsional |
| English variant | engvar | Spelling of 'romanized/romanised'.
| Kata | opsional |
Examples
[peusaneut asai]The following examples show translations from German or French.
Comparison with the Lang template
[peusaneut asai]This template differs from the {{lang}} template in that this one labels the text with the name of the language. For that reason, to avoid unnecessary clutter, this template should be used sparingly, in cases where the name of the language should be made explicit, such as the first place in an article that the translation of a word or phrase in English is given, or when renderings in multiple languages are being given and confusion is possible in the absence of such labeling.
Comparison:
{{Lang|ru|тундра}}produces тундра{{Langx|ru|тундра}}produces Russian: тундра{{Langx|ru|тундра|label=none}}produces тундра
Tracking categories
[peusaneut asai]- Category:Lang and lang-xx template errors (1.226)
- Category:Lang and lang-xx code promoted to ISO 639-1 (0)
- Category:Lang and lang-xx using deprecated ISO 639 codes (0)
TODO: (2024-09-22) rename these categories
See also
[peusaneut asai]Galat skrip: tidak ada modul tersebut "Lang/documentor tool".
- {{ crh }} – Supports Latin, Cyrillic, and Arabic Crimean Tatar text
- {{ Lang }}
- {{ Language with name/for }}
- List of ISO 639 language codes (language codes)
- {{ IPA }}
- ↑ Salah kutip: Tanda
<ref>tidak sah; tidak ditemukan teks untuk ref bernama "invertunset"
<ref> untuk kelompok bernama "lower-alpha", tapi tidak ditemukan tanda <references group="lower-alpha"/> yang berkaitan