টেমপ্লেট:উদা
This is used to show usage examples (not quotations) following a definition line. It is a more modern alternative to {{usex}}
. It works the same as {{usex}}
but takes slightly different parameters.
Parameters
[সম্পাদনা]1=
- The language code of the example to be shown, e.g. en for English; see WT:LANGLIST for the full list.
2=
- The example to be shown.
3=
,t=
- The English translation for examples on foreign entries.
tr
ortransliteration
- 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.)
ref
- To include a reference or link to an originating external site.
lit
- A literal translation.
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.
Usage examples are normally preceded by "#:
", or by "#*
" or "#*:
" to hide the usage example (normally used for direct quotes).
Examples
[সম্পাদনা]Wikitext
# [[book]] #:{{ux|tg|sc=Cyrl|Ин '''китобро''' хондам.|tr=In kitobro xondam.|I read this book.}}
Output
- book
- Ин китобро хондам.
- In kitobro xondam.
- I read this book.
Wikitext
# to [[indicate]] {{ux|eo|La forta vento '''indikas''' ke ŝtormo venas.|The strong wind indicates that a storm is coming.|ref=<ref>http://tatoeba.org/eng/sentences/show/454290</ref>}} ===References=== <references/>
Output
- to indicate La forta vento indikas ke ŝtormo venas.[১]
- The strong wind indicates that a storm is coming.
References
[সম্পাদনা]
Wikitext
# ({{plural of|kiu|lang=eo}}) [[which]] {{gloss|relative}} #: {{ux|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. |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
- () 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.[১]
- 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]] {{ux|eo|'''Kelkaj''' el iliaj ovoj estas malbonaj.|Several of their eggs are bad.|inline=1}}
Output
See also
[সম্পাদনা]TemplateData
[সম্পাদনা]This is used to show usage examples (not quotations) following a definition line.
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
language code | 1 | The language code of the example to be shown
| স্ট্রিং | প্রয়োজনীয় |
example | 2 | The example to be shown
| স্ট্রিং | প্রয়োজনীয় |
translation | 3 t | The English translation for examples on foreign entries.
| স্ট্রিং | ঐচ্ছিক |
transliteration | tr | The Latin transliteration for examples in non-Latin script. | স্ট্রিং | পরামর্শকৃত |
script code | sc | The script code, required for certain languages with multiple possible scripts.
| স্ট্রিং | ঐচ্ছিক |
inline | 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.)
| সংখ্যা | পরামর্শকৃত |
reference | ref | To include a reference or link to an originating external site. | URL | ঐচ্ছিক |
noenum | noenum | To use in unnumbered sections (not following a definition). It may start the line following the definition or may be prefixed by "<code>#:</code>" for visual aesthetics. | বুলিয়ান | ঐচ্ছিক |