Template:Lang-nqo/doc
This is a documentation subpage for Template:Lang-nqo. It contains usage information, categories and other content that is not part of the original template page. |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This template uses Lua: |
Contents
Usage
code | nqo |
---|---|
rtl | yes |
style: inherit |
Template {{lang-nqo}} indicates to readers the original form of a term or phrase in N'Ko. The term or phrase is the only mandatory parameter. The text is formatted according to recommendations in Wikipedia:Manual of Style/Text formatting#Foreign terms (italics for Latin-script languages, regular for others).
The parameter |link=no
prevents the language name from being linked.
The parameter |lit=
enables a literal translation to be given.
Parameters
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
Syntax
- {{lang-nqo
- |N'Ko text – using N'Ko. (mandatory)
- |link=value – valid values: yes to have the language name linked (default) and no to prevent the language name from being linked. (optional)
- |lit=string – valid strings are English phrases of N'Ko. (optional)
- |translit=string – valid strings are transliterations (with the Latin script) of N'Ko text. (optional)
- }}
Examples
Code Result {{lang-nqo|ߛߏߎߟߋߦߑߡߊߣߋ ߞߊ߲ߕߋ|Solomana Kante}} N'Ko: ߛߏߎߟߋߦߑߡߊߣߋ ߞߊ߲ߕߋ, romanized: Solomana Kante {{lang-nqo|ߒߞߏ|N'Ko|lit=N'Ko|link=no}} N'Ko: ߒߞߏ, romanized: N'Ko, lit. 'N'Ko' {{lang-nqo|N'Ko|transliteration|lit=literal|link=no}} N'Ko: N'Ko, lit. 'literal'
See also
- {{lang}}, and its opposite, {{Language with name/for}}
- {{rtl-lang|nqo}}, for untransliterated N'Ko-language strings without preceding "N'Ko:" link.
TemplateData for Lang-nqo
Insert N'Ko text. Indicates to readers the original form of a term or phrase in N'Ko.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The foreign text to display. | String | required |
Display link | link | Set to no to disable the link to the article's language. | Boolean | optional |
Literal translation | lit | no description | Unknown | optional |
Transliteration | translit | A Latin alphabet respelling of N'Ko text | String | optional |