Template:T: Difference between revisions

From The Toaq Wiki
mNo edit summary
No edit summary
Line 16: Line 16:
: <code><nowiki>{{t|tẻst word||#aaaaaaa}}</nowiki></code> → {{t|tẻst word||#aaaaaaa}}
: <code><nowiki>{{t|tẻst word||#aaaaaaa}}</nowiki></code> → {{t|tẻst word||#aaaaaaa}}
</noinclude><includeonly
</noinclude><includeonly
><span class="toaq" lang="toaq" {{#if:
><span class="toaq" lang="toaq" {{#if: {{{2|}}} | title="{{{2}}}" | }}>{{#if:
      {{{2|}}}
  {{{3|}}}
    | title="{{{2}}}"
  | [[toadua:{{{3}}}|{{{1}}}]]
    | }}>{{#if: {{{3|}}}
  | {{#ifeq: {{{3|}}} | {{{3}}}
              | [[toadua:{{{3}}}|{{{1}}}]]
            | [[toadua:{{{1}}}|{{{1}}}]]
              | {{#ifeq: {{{3|}}} | {{{3}}}
            | {{{1}}} }} }}</span></includeonly>
                        | [[toadua:{{{1}}}|{{{1}}}]]
                        | {{{1}}} }} }}</span></includeonly>

Revision as of 20:47, 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.}} → <span class="toaq" lang="toaq" title="___ is white.">bao
{{t|bao|{{x}} is white.|}} → <span class="toaq" lang="toaq" title="___ is white.">bao
{{t|tẻst word||#aaaaaaa}}tẻst word