Difference between revisions of "Template:Lang"
Jump to navigation
Jump to search
Template documentation[create]
(Undid revision 884933270 by Swarm (talk) Unnecessary, auto-generated by Template:Documentation) |
Joelmartin (talk | contribs) m (1 revision imported) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{text|{{{2}}}}}}</span>{{category handler |
− | {{Documentation}} | + | |main = [[Category:Articles containing {{#switch:{{{1|}}} |
+ | |en|eng = explicitly cited English | ||
+ | |#default = {{#ifexist:Category:Articles containing {{#language:{{{1|undefined}}}|en}}-language text | ||
+ | |{{#language:{{{1|undefined}}}|en}} | ||
+ | |non-English | ||
+ | }} | ||
+ | }}-language text]] | ||
+ | |nocat = {{{nocat|}}} | ||
+ | }}<noinclude> | ||
+ | {{ {{TNTN|Documentation}} }}<templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Language code", | ||
+ | "example": "en", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "rtl": { | ||
+ | "type": "boolean", | ||
+ | "label": "Enable right-to-left direction", | ||
+ | "example": "on" | ||
+ | }, | ||
+ | "text": { | ||
+ | "aliases": [ | ||
+ | "2" | ||
+ | ], | ||
+ | "label": "Text", | ||
+ | "type": "content", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "paramOrder": [ | ||
+ | "1", | ||
+ | "text", | ||
+ | "rtl" | ||
+ | ] | ||
+ | } | ||
+ | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 03:18, 18 January 2020
{{{2}}}

No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language code | 1 | no description
| String | required |
Text | text 2 | no description | Content | suggested |
Enable right-to-left direction | rtl | no description
| Boolean | optional |