Template:T: Difference between revisions
(add nowrap property so that the link arrow (↗︎) doesn't break into a new line) |
(update toadua instance address) |
||
Line 67: | Line 67: | ||
|ệ|ệ}}</span | |ệ|ệ}}</span | ||
>{{#if: {{{3|}}} | >{{#if: {{{3|}}} | ||
| {{#ifeq: {{{4|}}} | {{{4}}} | <sup>[https://toadua.uakci. | | {{#ifeq: {{{4|}}} | {{{4}}} | <sup>[https://toadua.uakci.space/#{{{3}}} <nowiki></nowiki>{{{3}}}]</sup> | ||
| <sup>[https://toadua.uakci. | | <sup>[https://toadua.uakci.space/#{{{3}}} <nowiki></nowiki>]</sup > }} | ||
| {{#ifeq: {{{3|}}} | {{{3}}} | <sup>[https://toadua.uakci. | | {{#ifeq: {{{3|}}} | {{{3}}} | <sup>[https://toadua.uakci.space/#{{{1}}} <nowiki></nowiki>]</sup > | }} }}</span | ||
></includeonly> | ></includeonly> |
Latest revision as of 17:05, 4 March 2025
Synopsis
Applies appropriate formatting and language tags to Toaq text. Please enclose each and every snippet of Toaq in this template.
Positional arguments
- toaq (required)
-
- definition (recommended)
- shown as tooltip
-
- toadua query (optional)
- if provided but left empty, the query is prefilled with the word itself
-
- show query (optional)
- if present (no matter the content), the query (as supplied above) will be displayed next to the link arrow
Examples
Toadua-linked entries are preferred to ones without a link or a tooltip. If supplying single words without appropriate context to determine their meaning, please use the {{t|bao||}}
form.
- No Toadua link
-
- Plain Toaq text
{{t|bao}}
→ bao
-
- Word with user-defined definition tooltip
{{t|bao|{{x}} is white.}}
→ bao
-
- Implicit Toadua link
- Explicit Toadua link
-
- Word with definition tooltip, explicit Toadua link, and an indication of what query that link will take you to
{{t|bao|{{x}} is white.|#my cool definition of bao}}
→ baocool definition of bao