Template:Lang-x/doc/parameters: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Trappist the monk ce; |
meta>Trappist the monk No edit summary |
||
| Line 35: | Line 35: | ||
|nocat || <code>yes</code> inhibits automatic categorization; accepted values are: <code>no</code> (default), <code>yes</code> || – || | |nocat || <code>yes</code> inhibits automatic categorization; accepted values are: <code>no</code> (default), <code>yes</code> || – || | ||
|- | |- | ||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
|+lang-xx {{pipe}}italic= parameter operation | |+lang-xx {{pipe}}italic= parameter operation | ||
| Line 95: | Line 95: | ||
|- | |- | ||
|} | |} | ||
<section end=lang_xx_parameters /> | |||
==lang== | ==lang== | ||
Revision as of 11:46, 31 December 2017
lang-xx
<section begin=lang_xx_parameters />
| parameter | definition | yields to | alias |
|---|---|---|---|
| text | non-English text | – | {{{1}}}
|
| translit | Latin script transliteration of text | – | {{{2}}}
|
| translit-std | standard used for the transliteration of translit; accepted values are: ISO, DIN, IAST, ALA, ALA-LC |
– | |
| translit-script | transliteration standard's script identifier | – | |
| translation | literal English translation of text | – | lit, {{{3}}}
|
| link | yes (default) links language name and static text associated with translit and translation; accepted values are: no, yes |
– | links |
| code | IETF language tag for text; set by the template, overriding the template setting is discouraged | – | |
| script | IETF language script subtag; sometimes set by the template when the language of text uses more than one writing system; always four alpha characters; Latn forces italic rendering unless overridden by italic; overrides rtl |
italic | |
| region | IETF language region subtag | – | |
| variant | IETF language variant subtag | – | |
| rtl | yes indicates that the writing system used for text is right-to-left; accepted values are: no (default), yes |
script | |
| italic | see table lang-xx |italic= parameter operation; accepted values are: yes, no, unset, default |
– | |
| size | specifies size of text rendering; use value suitable for use with the CSS font-size property |
– | |
| nocat | yes inhibits automatic categorization; accepted values are: no (default), yes |
– |
| |italic= value | description | example code | result | html markup |
|---|---|---|---|---|
|
|
{{lang-ru|тундра}} |
Russian: тундра | Russian: тундра
|
{{lang-ru|tûndra}} |
Russian: tûndra | Russian: tûndra
| ||
{{lang-ru|script=latn|tûndra}} |
Russian: tûndra | Russian: tûndra
| ||
default |
{{lang-ru|тундра|italic=default}} |
Russian: тундра | Russian: тундра
| |
{{lang-ru|tûndra|italic=default}} |
Russian: tûndra | Russian: tûndra
| ||
{{lang-ru|script=latn|tûndra|italic=default}} |
Russian: tûndra | Russian: tûndra
| ||
no |
|
{{lang-ru|тундра|italic=no}} |
Russian: тундра | Russian: тундра
|
{{lang-ru|tûndra|italic=no}} |
Russian: tûndra | Russian: tûndra
| ||
{{lang-ru|script=latn|tûndra|italic=no}} |
Russian: tûndra | Russian: tûndra
| ||
''{{lang-ru|script=latn|tûndra|italic=no}}'' |
Russian: tûndra | Russian: tûndra
| ||
yes |
|
{{lang-ru|тундра|italic=yes}} |
Russian: тундра | Russian: тундра
|
{{lang-ru|script=latn|tûndra|italic=yes}} |
Russian: tûndra | Russian: tûndra
| ||
unset |
|
{{lang-ru|тундра|italic=unset}} |
Russian: тундра | Russian: тундра
|
''{{lang-ru|тундра|italic=unset}}'' |
Russian: тундра | Russian: тундра
| ||
{{lang-ru|script=latn|tûndra|italic=unset}} |
Russian: tûndra | Russian: tûndra
| ||
''{{lang-ru|script=latn|tûndra|italic=unset}}'' |
Russian: tûndra | Russian: tûndra
|
<section end=lang_xx_parameters />
lang
<section begin=lang_parameters />
| parameter | definition | yields to | alias |
|---|---|---|---|
| code | IETF language tag for text | – | {{{1}}
|
| text | non-English text | – | {{{2}}}
|
| rtl | yes indicates that the writing system used for text is right-to-left; accepted values are: no (default), yes |
IETF script subtag in code (if provided) | |
| italic | see table lang |italic= parameter operation; accepted values are: yes, no, unset, default |
– | |
| size | specifies size of text rendering; use value suitable for use with the CSS font-size property |
– | |
| nocat | yes inhibits automatic categorization; accepted values are: no (default), yes |
– |
| |italic= value | description | example code | result | html markup |
|---|---|---|---|---|
|
|
{{lang|ru|тундра}} |
тундра | тундра
|
{{lang|ru|tûndra}} |
tûndra | tûndra
| ||
{{lang|ru-latn|tûndra}} |
tûndra | tûndra
| ||
default |
{{lang|ru|тундра|italic=default}} |
тундра | тундра
| |
{{lang|ru|tûndra|italic=default}} |
tûndra | tûndra
| ||
{{lang|ru-latn|tûndra|italic=default}} |
tûndra | tûndra
| ||
no |
|
{{lang|ru|тундра|italic=no}} |
тундра | тундра
|
{{lang|ru|tûndra|italic=no}} |
tûndra | tûndra
| ||
{{lang|ru-latn|tûndra|italic=no}} |
tûndra | tûndra
| ||
''{{lang|ru|tûndra|italic=no}}'' |
tûndra | tûndra
| ||
yes |
|
{{lang|ru|тундра|italic=yes}} |
тундра | тундра
|
{{lang|ru-latn|tûndra|italic=yes}} |
tûndra | tûndra
| ||
unset |
|
{{lang|ru|тундра|italic=unset}} |
тундра | тундра
|
''{{lang|ru|тундра|italic=unset}}'' |
тундра | тундра
| ||
{{lang|ru-latn|tûndra|italic=unset}} |
tûndra | tûndra
| ||
''{{lang|ru-latn|tûndra|italic=unset}}'' |
tûndra | tûndra
|
<section end=lang_parameters />