Template:Deranize: Difference between revisions

transliteration style argument
(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>