Template:Crh/doc

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. 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.

TemplateData
{	"params": { "1": {			"label": "Latin text", "description": "The Crimean Tatar word as written in Latin script.", "example": "Qırımtatar tili", "type": "string" },		"2": {			"label": "Cyrillic text", "description": "The Crimean Tatar word as written in Cyrillic script.", "example": "Къырымтатар тили", "type": "string" },		"3": {			"label": "Arabic text", "description": "The Crimean Tatar word as written in Arabic script.", "example": "قريم تاتار تلي", "type": "string" },		"lit": { "aliases": [ "literal", "literally" ],			"label": "Literal translation", "description": "A literal translation into English.", "example": "Crimean language", "type": "string" },		"link": { "label": "Link", "description": "Include Wikilinks to the language's and writings' articles", "type": "boolean", "default": "yes" },		"lead": { "label": "Lead labels", "description": "Shows the \"Crimean Tatar\" and \"Latin\", etc. labels.", "type": "boolean", "default": "yes" },		"label": { "label": "Label", "description": "Alternative text for the \"Crimean Tatar\" label. Use \"none\" to hide.", "type": "string" },       "label-only": { "label": "Display only the primary label", "description": "Shows only the \"Crimean Tatar\" label and none of the script labels.", "type": "boolean", "default": "no" }	},	"description": "Indicates to readers the original form of a word, term, or phrase in Crimean Tatar.", "paramOrder": [ "1",		"2",		"3",		"lit", "link", "lead", "label", "label-only" ] }

Limitations
This template cannot be used within a Wikilink.

Testing
Tests can be found at Template:crh/tests