Template:Lang: Difference between revisions

From The FunKey Wiki
Content added Content deleted
wc>4nn1l2
(Fulfilling edit request by Tacsipacsi.)
 
(Cleanup enwiki-isms; these categories make no sense at all on a multi-lingual wiki)
Line 1: Line 1:
<div lang="{{{1}}}" dir="{{dir|{{{1}}}}}" class="description {{{1}}}" style="display:inline;">{{{2}}}</div><noinclude>
<span lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{text|{{{2}}}}}}</span><noinclude>
{{Documentation}}
{{ {{TNTN|Documentation}} }}<templatedata>
{

"params": {
[[Category:Internationalization templates]]
"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>

Revision as of 20:29, 2 May 2020

{{{2}}} {{ Template:TNTN }}<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>