Template:T

From The Toaq Wiki
Revision as of 23:22, 20 December 2022 by Uakci (talk | contribs) (denormalize tone+underdot combos)

Synopsis

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

Positional arguments

  1. toaq (required)
  2. definition (recommended)
    shown as tooltip
  3. toadua query (optional)
    if provided but left empty, the query is prefilled with the word itself
  4. 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}}{{#replace:bao
    • Word with user-defined definition tooltip
      {{t|bao|{{x}} is white.}}{{#replace:bao
  • Implicit Toadua link
    • Word with implicit Toadua link but no tooltip
      {{t|bao||}}{{#replace:bao
    • Word with definition tooltip and implicit Toadua link
      {{t|bao|{{x}} is white.|}}{{#replace:bao
  • Explicit Toadua link
    • Word with explicit Toadua query link
      {{t|tẻst word||#aaaaaaa}}{{#replace:tẻst word
    • 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}}{{#replace:baocool definition of bao