Template:Lang-x/doc/parameters

From Zoophilia Wiki
Revision as of 13:48, 1 December 2017 by meta>Trappist the monk
Jump to navigationJump to search

<section begin=lang_xx_parameters />

lang-xx supported parameters
parameter definition yields to alias
text non-English text {{{1}}}
translit Latin script transliteration of text
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
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 />

lang supported parameters
parameter definition yields to alias
code IETF language tag for text {{{2}}}
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 />