Template:usex/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:usex. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.


Usage

This is used to show usage examples (not quotations) following a definition line. This has been superseded by the newer template {{ux}}, with equivalent functionality but a different calling sequence. Parameters:

  • {{{1}}} or {{{example}}}(required) - The example to be shown
  • {{{lang}}}(required) - The language code of the example to be shown, e.g. en for English; see WT:LANGLIST for the full list
  • {{{translation}}} or {{{t}}} - The English translation for examples on foreign entries
  • {{{transliteration}}} or {{{tr}}} - The Latin transliteration for examples in non-Latin script
  • {{{sc}}} - The script code; required for certain languages with multiple possible scripts
  • {{{inline}}} - To include the translation in the same line as the example, separated from the example by em dash, assuming that the example, its translation and transliteration are short enough to fit in a single line. (Set it to 1 to choose inline mode.) (optional)
  • {{{ref}}} - To include a reference or link to an originating external site. (optional)
  • {{{indent}}} - For an extra indentation, when the definition immediately above it is actually a sub-definition. (Set it to 1 to choose inline mode.) (optional)
  • {{{noenum}}} - To use in unnumbered sections (not following a definition).

It may start the line following the definition or may be prefixed by "#:" for visual aesthetics.

Examples[edit]

Wikitext

# [[book]]
#:{{usex|lang=tg|Ин '''китобро''' хондам.|tr=In kitobro xondam.|translation=I read this book.}}

Output

  1. book
    Ин китобро хондам.
    In kitobro xondam.
    I read this book.

Wikitext

# to [[indicate]]
#:{{usex|lang=eo|La forta vento '''indikas''' ke ŝtormo venas.|translation=The strong wind indicates that 
 a storm is coming.|ref=<ref>http://tatoeba.org/eng/sentences/show/454290</ref>}}
  
===References===
<references/>

Output

  1. to indicate
    La forta vento indikas ke ŝtormo venas.[1]
    The strong wind indicates that a storm is coming.

References[edit]

Wikitext

# ({{plural of|kiu|lang=eo}}) [[which]] {{gloss|relative}}
#: {{usex|lang=eo|La elementoj '''kiuj''' troviĝis sur piratflagoj estis skeletkapo, la simbolo por la morto, skeleto indikis turmentan morton,
 sablohorloĝo indikis ke la tempo venis, sanganta koro malrapida kaj dolora morto kaj ponardo aŭ maĉeto signifis impulso por batali.
 |translation=The elements which were found on pirate flags were: skull, the symbol for death, skeleton indicated torturous death, hourglass
  indicated that the time came, bleeding heart → slow and painful death and dagger or machete signified impulse for battle.
 |ref=<sup>[//eo.wikipedia.org/wiki/Jolly_Roger]</sup>}}

Output

  1. (plural of kiu) which (relative)
    La elementoj kiuj troviĝis sur piratflagoj estis skeletkapo, la simbolo por la morto, skeleto indikis turmentan morton, sablohorloĝo indikis ke la tempo venis, sanganta koro malrapida kaj dolora morto kaj ponardo aŭ maĉeto signifis impulso por batali.[1]
    The elements which were found on pirate flags were: skull, the symbol for death, skeleton indicated torturous death, hourglass indicated that the time came, bleeding heart → slow and painful death and dagger or machete signified impulse for battle.

Wikitext

# {{inflection of|kelka||p|lang=eo}}
## [[a few]]
## [[several]]
##: {{usex|lang=eo|'''Kelkaj''' el iliaj ovoj estas malbonaj.|translation=Several of their eggs are bad.|inline=1}}

Output

  1. plural of kelka
    1. a few
    2. several
      Kelkaj el iliaj ovoj estas malbonaj.Several of their eggs are bad.

See also[edit]