Template:Derani: Difference between revisions

From The Toaq Wiki
(add tabindex=0 to hover style. soeıgı ka! ♡)
(un-grey inline toaq text)
Line 28: Line 28:
| hover = <span class="deran&#105;" lang="toaq" title="{{{2|}}}" tabindex="0">{{{1}}}</span>
| hover = <span class="deran&#105;" lang="toaq" title="{{{2|}}}" tabindex="0">{{{1}}}</span>
| stack = <span style="display:inline-flex; vertical-align:baseline; flex-direction:column"><span class="deran&#105;" 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="deran&#105;" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|<span style="font-size:14px; margin-bottom:4px;">{{t|{{{2|}}}}}</span>}}</span>
| #default = <span class="deran&#105;" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|&#32;<span style="color: #979797;">{{t|{{{2|}}}}}</span>}}
| #default = <span class="deran&#105;" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|&#32;{{t|{{{2|}}}}}}}
}}</includeonly>
}}</includeonly>

Revision as of 14:04, 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.

Transliteration styles
Code Output
{{Derani|󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕|Mua ní da.|inline}}
󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕 Mua ní da.
{{Derani|󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕|Mua ní da.|none}}
󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕
{{Derani|󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕|Mua ní da.|hover}}
󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕
{{Derani|󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕|Mua ní da.|stack}}
󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕Mua ní da.

See also

  • Template:Deranize, which is a wrapper around this template that generates the Derani text from Latin.