Difference between revisions of "Template:Lang-nqo/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amire80
imported>Trappist the monk
m (sortkey;)
 
Line 71: Line 71:
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
[[Category:Lang-x templates]]
+
[[Category:Lang-x templates|nqo]]
 
[[Category:Afro-Asiatic multilingual support templates]]
 
[[Category:Afro-Asiatic multilingual support templates]]
 
[[Category:Jews and Judaism templates]]
 
[[Category:Jews and Judaism templates]]
 
}}</includeonly>
 
}}</includeonly>
 
<noinclude>[[Category:Documentation shared content templates]]</noinclude>
 
<noinclude>[[Category:Documentation shared content templates]]</noinclude>

Latest revision as of 00:33, 31 August 2020

Usage

settings
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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Lang-nqo

Insert N'Ko text. Indicates to readers the original form of a term or phrase in N'Ko.

Template parameters

ParameterDescriptionTypeStatus
Text1

The foreign text to display.

Stringrequired
Display linklink

Set to no to disable the link to the article's language.

Booleanoptional
Literal translationlit

no description

Unknownoptional
Transliterationtranslit

A Latin alphabet respelling of N'Ko text

Stringoptional