Template:Derani: Difference between revisions

2 bytes removed ,  16:20, 18 December 2022
upa don't add a newline to the template
(Add a description)
(upa don't add a newline to the template)
Line 5: Line 5:
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.
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.
</noinclude>
</noinclude>
<includeonly>
<includeonly><span class="derani" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|&#32;<span class="toaq" style="color: #747474; font-size: 0.8em;" lang="toaq">{{{2}}}</span>}}</includeonly>
<span class="derani" lang="toaq">{{{1}}}</span>{{#if:{{{2|}}}|&#32;<span class="toaq" style="color: #747474; font-size: 0.8em;" lang="toaq">{{{2}}}</span>}}
</includeonly>