Template:T: Difference between revisions
(tooltips and links and oh my) |
mNo edit summary |
||
Line 18: | Line 18: | ||
</noinclude><includeonly | </noinclude><includeonly | ||
><span class="toaq" | ><span class="toaq" | ||
lang="toaq" | |||
{{#if: {{{2|}}} | |||
| title="{{{2}}}" | |||
| }}>{{#if: {{{3|}}} | |||
| [[toadua:{{{3}}}|{{{1}}}]] | |||
| {{#ifeq: {{{3|}}} | {{{3}}} | |||
| [[toadua:{{{1}}}|{{{1}}}]] | |||
| {{{1}}} }} }}</span | |||
></includeonly> | ></includeonly> |
Revision as of 20:45, 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