Template:Deranize: Difference between revisions

From The Toaq Wiki
(call clean function, document cartouche/null syntax)
(transliteration style argument)
Line 3: Line 3:
Use square brackets for cartouches, and place asterisks after bare determiners:
Use square brackets for cartouches, and place asterisks after bare determiners:


<code><nowiki>{{Deranize|Ruaq sá [poq] * da.}}</nowiki></code> → {{Deranize|Ruaq sá [poq] sá* da.}}</noinclude><includeonly>{{derani|{{#invoke:Deranize|deranize|{{{1}}}}}|{{#invoke:Deranize|clean|{{{1}}}}}}}</includeonly>
<code><nowiki>{{Deranize|Mua ní* da.}}</nowiki></code> → {{Deranize|Mua ní* da.}}
 
An optional second argument specifies how to show the transliteration (see [[Template:Derani]]).
 
<code><nowiki>{{Deranize|Mua ní* da.|stack}}</nowiki></code> → {{Deranize|Mua ní* da.|stack}}
 
</noinclude><includeonly>{{derani|{{#invoke:Deranize|deranize|{{{1}}}}}|{{#invoke:Deranize|clean|{{{1}}}}}|{{{2|}}}}}</includeonly>

Revision as of 19:58, 2 February 2024

Converts Latin text to Deranı.

Use square brackets for cartouches, and place asterisks after bare determiners:

{{Deranize|Mua ní* da.}}󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕 (Mua ní da.)

An optional second argument specifies how to show the transliteration (see Template:Derani).

{{Deranize|Mua ní* da.|stack}}󱚰󱚲󱛍󱚺 󱚵󱛊󱚹 󱛚 󱚶󱚺 󱛕Mua ní da.