Template:Lang-x/doc/parameters: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Trappist the monk No edit summary |
meta>Trappist the monk m positional parameters as aliases; |
||
Line 6: | Line 6: | ||
|text || non-English '''text''' || – || <code><nowiki>{{{1}}}</nowiki></code> | |text || non-English '''text''' || – || <code><nowiki>{{{1}}}</nowiki></code> | ||
|- | |- | ||
|translit || Latin script transliteration of '''text''' || – || | |translit || Latin script transliteration of '''text''' || – || <code><nowiki>{{{2}}}</nowiki></code> | ||
|- | |- | ||
|translit-std || standard used for the transliteration of '''translit'''; accepted values are: <code>ISO</code>, <code>DIN</code>, <code>IAST</code>, <code>ALA</code>, <code>ALA-LC</code> || – || | |translit-std || standard used for the transliteration of '''translit'''; accepted values are: <code>ISO</code>, <code>DIN</code>, <code>IAST</code>, <code>ALA</code>, <code>ALA-LC</code> || – || | ||
Line 12: | Line 12: | ||
|translit-script || transliteration standard's script identifier || – || | |translit-script || transliteration standard's script identifier || – || | ||
|- | |- | ||
|translation || literal English translation of '''text''' || – || '''lit''' | |translation || literal English translation of '''text''' || – || '''lit''', <code><nowiki>{{{3}}}</nowiki></code> | ||
|- | |- | ||
|link || <code>yes</code> (default) links language name and static text associated with '''translit''' and '''translation'''; accepted values are: <code>no</code>, <code>yes</code> || – || '''links''' | |link || <code>yes</code> (default) links language name and static text associated with '''translit''' and '''translation'''; accepted values are: <code>no</code>, <code>yes</code> || – || '''links''' | ||
Line 41: | Line 41: | ||
!parameter !! definition !! yields to !! alias | !parameter !! definition !! yields to !! alias | ||
|- | |- | ||
|code || [[IETF language tag]] for '''text''' || – || <code><nowiki>{{{ | |code || [[IETF language tag]] for '''text''' || – || <code><nowiki>{{{1}}</nowiki></code> | ||
|- | |- | ||
|text || non-English '''text''' || – || <code><nowiki>{{{2}}}</nowiki></code> | |text || non-English '''text''' || – || <code><nowiki>{{{2}}}</nowiki></code> |
Revision as of 15:08, 1 December 2017
<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 | yes (default) renders text in italic font; overrides script; accepted values are: no , yes |
– | |
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 |
– |
<section end=lang_xx_parameters />
<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 | yes (default) renders text in italic font; overrides IETF script subtag in code (if provided); accepted values are: no , yes |
– | |
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 |
– |
<section end=lang_parameters />