قالب:Crh
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2، لأنها تضم markup that will pollute the COinS metadata they produce؛ انظر COinS في المعرفة. |
Uses Lua: |
Usage
This template identifies Crimean Tatar language text. Unlike {{Lang-crh}}, this template simultaneously supports text in Latin, Cyrillic, and Arabic scripts, and unlike {{lang}}, it does not require nesting templates to achieve proper formatting according to Wikipedia:Manual of Style/Text formatting#Foreign terms § Notes. The template uses italics for foreign words written in the Latin alphabet and non-italic script for those in other alphabets, as well as right-to-left alignment for Arabic text.
Examples
Code | {{crh|Qırımtatar tili|Къырымтатар тили}}
|
Gives | Crimean Tatar: Qırımtatar tili, Къырымтатар тили |
Code | {{crh|Qırımtatar tili|Къырымтатар тили|قریم تاتار تلی |lit=Crimean Tatar language}}
|
Gives | Crimean Tatar: Qırımtatar tili, Къырымтатар тили, قریم تاتار تلی, lit. 'Crimean Tatar language' |
Code | {{crh|Qırımtatar tili|Къырымтатар тили|قریم تاتار تلی |lit=Crimean Tatar language |link=no}}
|
Gives | Crimean Tatar: Qırımtatar tili, Къырымтатар тили, قریم تاتار تلی, lit. 'Crimean Tatar language' |
Code | {{crh|Qırımtatar tili|Къырымтатар тили|قریم تاتار تلی |label-only=no}}
|
Gives | Crimean Tatar: Latin: Qırımtatar tili, Cyrillic: Къырымтатар тили, Arabic: قریم تاتار تلی |
Code | {{crh|Qırımtatar tili|Къырымтатар тили|قریم تاتار تلی |label=none}}
|
Gives | Qırımtatar tili, Къырымтатар тили, قریم تاتار تلی |
Code | {{crh|Qırımtatar tili|Къырымтатар тили|قریم تاتار تلی |label=My custom [[label]]}}
|
Gives | My custom label: Qırımtatar tili, Къырымтатар тили, قریم تاتار تلی |
TemplateData
See the monthly error report for this template.
TemplateData for Crh
Indicates to readers the original form of a word, term, or phrase in Crimean Tatar.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Latin text | 1 | The Crimean Tatar word as written in Latin script.
| نص | اختياري |
Cyrillic text | 2 | The Crimean Tatar word as written in Cyrillic script.
| نص | اختياري |
Arabic text | 3 | The Crimean Tatar word as written in Arabic script.
| نص | اختياري |
Literal translation | lit literal literally | A literal translation into English.
| نص | اختياري |
Link | link | Include Wikilinks to the language's and writings' articles
| بولياني | اختياري |
Lead labels | lead | Shows the "Crimean Tatar" and "Latin", etc. labels.
| بولياني | اختياري |
Label | label | Alternative text for the "Crimean Tatar" label. Use "none" to hide. | نص | اختياري |
Display only the primary label | label-only | Shows only the "Crimean Tatar" label and none of the script labels.
| بولياني | اختياري |
Limitations
This template cannot be used within a Wikilink.
Testing
Tests can be found at Template:crh/tests
See also
The above documentation is transcluded from قالب:Crh/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |