Difference between revisions of "Template:Lang-mrv/doc"
imported>Amire80 (fix category) |
imported>Trappist the monk m (sortkey;) |
||
| Line 65: | Line 65: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
| − | [[Category:Lang-x templates]] | + | [[Category:Lang-x templates|mrv]] |
[[Category:Austronesian multilingual support templates]] | [[Category:Austronesian multilingual support templates]] | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>[[Category:Documentation shared content templates]]</noinclude> | <noinclude>[[Category:Documentation shared content templates]]</noinclude> | ||
Latest revision as of 00:31, 31 August 2020
| This is a documentation subpage for Template:Lang-mrv. It contains usage information, categories and other content that is not part of the original template page. |
| This template is safe for use in citation templates that produce COinS metadata; see Wikipedia:COinS. If HTML or other markup is added, then the template must be reevaluated. |
| This template uses Lua: |
Contents
Usage
| code | mrv |
|---|---|
| style: inherit | |
Template {{lang-mrv}} indicates to readers the original form of a term or phrase in Mangareva. 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-mrv
- |Mangareva text – using Mangareva. (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 Mangareva. (optional)
- |translit=string – valid strings are transliterations (with the Latin script) of Mangareva text. (optional)
- }}
Examples
Code Result {{lang-mrv|Magareva}} Mangareva: Magareva
See also
- {{lang}}, and its opposite, {{Language with name/for}}
- {{lang|mrv}}, for untransliterated Mangareva-language strings without preceding "Mangareva:" link.
TemplateData for Lang-mrv
Insert Mangareva text. Indicates to readers the original form of a term or phrase in Mangareva.
| 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 Mangareva text | String | optional |