Template:Derani: Difference between revisions
m (link to Template:Deranize) |
mNo edit summary Tag: Manual revert |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 26: | Line 26: | ||
</noinclude><includeonly>{{#switch: {{{3|}}} | </noinclude><includeonly>{{#switch: {{{3|}}} | ||
| none = <span class="derani" lang="toaq">{{{1}}}</span> | | none = <span class="derani" lang="toaq">{{{1}}}</span> | ||
| hover = <span class="derani" lang="toaq" title="{{{2|}}}">{{{1}}}</span> | | hover = <span class="derani" lang="toaq" title="{{{2|}}}" tabindex="0">{{{1}}}</span> | ||
| stack = <span style="display:inline-flex; vertical-align:baseline; flex-direction:column"><span class="derani" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|<span style="font-size:14px; margin-bottom:4px;">{{t|{{{2|}}}}}</span>}}</span> | | stack = <span style="display:inline-flex; vertical-align:baseline; flex-direction:column"><span class="derani" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|<span style="font-size:14px; margin-bottom:4px;">{{t|{{{2|}}}}}</span>}}</span> | ||
| #default = <span class="derani" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|  | | #default = <span class="derani" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}| ({{t|{{{2|}}}}})}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 14:32, 20 September 2024
If you’re here to learn about Toaq's writing system, see Derani.
This template lets you embed Derani text in articles. The first argument is the text itself, and the second argument (optional) is its Latin transliteration.
The third argument is the transliteration style, as demonstrated in the table below. "inline" is the default.
Code | Output |
---|---|
{{Derani| |Mua ní da.|inline}} |
|
{{Derani| |Mua ní da.|none}} |
|
{{Derani| |Mua ní da.|hover}} |
|
{{Derani| |Mua ní da.|stack}} |
See also
- Template:Deranize, which is a wrapper around this template that generates the Derani text from Latin.