Template:T: Difference between revisions

From The Toaq Wiki
(turns out {{anchorencode:}} is some annoying MediaWiki internal; ; ; ;)
mNo edit summary
Line 20: Line 20:
   | title="{{#replace:{{{2|}}}|{{x}}|___}}"
   | title="{{#replace:{{{2|}}}|{{x}}|___}}"
   | }}>{{{1}}}</span>{{#if: {{{3|}}}
   | }}>{{{1}}}</span>{{#if: {{{3|}}}
               | [[toadua:{{urlencode:{{{3}}}}}|<sup>⇱</sup>]]
               | [[toadua:#{{urlencode:{{{3}}}}}|<sup>⇱</sup>]]
               | {{#ifeq: {{{3|}}} | {{{3}}} | [[toadua:{{urlencode:{{{1}}}}}|<sup>⇱</sup>]] | }} }}</span></includeonly>
               | {{#ifeq: {{{3|}}} | {{{3}}} | [[toadua:#{{urlencode:{{{1}}}}}|<sup>⇱</sup>]] | }} }}</span></includeonly>

Revision as of 22:24, 26 October 2021

Synopsis

Applies appropriate formatting and language tags to Toaq text. Please enclose each and every snippet of Toaq in this template.

Arguments

toaq (required)
definition (recommended)
shown as tooltip
toadua query (optional)
if provided but left empty, the query is prefilled with the word itself

Examples

{{t|bao|{{x}} is white.}}bao
{{t|bao|{{x}} is white.|}}bao
{{t|tẻst word||#aaaaaaa}}tẻst word