Jump to content

Formula:t/doc

E Victionario
Template:t+/doc, Template:t-check/doc and Template:t+check/doc redirect here.

Purpose

[+/-]

Use this template in the Translations section to format a translation of an English entry.

There are several translation templates:

  • {{t}} is the default, and is the one that human editors should use.
  • {{t+}} adds a superscript link to the corresponding entry on the foreign-language Wiktionary. (For example, {{t+|fr|le}} has a link to fr:le.) Various automated tools will change {{t}} to {{t+}} if the translation has an existing entry on the foreign-language Wiktionary. You can also do this manually, if you like, if you know that the entry exists.
  • {{t-check}} and {{t+check}} mark translations which need attention; the latter adds an interwiki link, like {{t+}}, the former does not.

Parameters

[+/-]
1= (required)
Language code. See Wiktionary:Languages.
2= (required)
Entry name of the translated word. This supports all the features that {{l}} does: diacritics will be removed automatically from words in certain languages, embedded wikilinks will be processed properly, and the script and transliteration will be handled automatically if not provided.
Note that the language codes for Min Nan (nan) and Cantonese (yue) are fixed by the template, please don't use "zh-min-nan" or "zh-yue"! Code cmn also becomes "zh" in the link to the Mandarin Wiktionary automatically.
3=, 4=, 5=, … (all optional)
Gender/number specification(s), using the codes provided by Module:gender and number; If multiple codes are used (separted by a "|"), they will be displayed in the order given.
sc= (optional)
Specifies a script code, see Wiktionary:Scripts. This is only needed if the script used in the translation is not one of the normal scripts of the language, or if script detection fails to detect the script correctly.
tr= (optional)
Specifies the transliteration into roman (Latin) script, as also shown in the example below. A transliteration may be automatically generated for certain languages, if none was provided. Use tr=- if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).
alt= (optional)
Specifies an alternate form of the word, not the pagename, to be displayed.

Some examples for masc.:

* Arabic: {{t|ar|فَرَاشَة|f}}
* Bengali: {{t|bn|প্রজাপতি}}
* Dhuwal: {{t|dwu|buurnba}}
* Javanese: {{t|jv|kupu}}
* Latin: {{t|la|pāpiliō}}
* Russian: {{t+|ru|ба́бочка|f}}
* Serbo-Croatian:
*: Cyrillic: {{t|sh|ле̏птӣр|m}}
*: Latin: {{t|sh|lȅptīr|m}}
* Yoruba: {{t|yo|labalábá}}