Bản mẫu:t/doc
| Đây là một trang con tài liệu sử dụng bản mẫu cho Bản mẫu:t. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
| Bản mẫu này sử dụng Lua: |
- Template:t+/doc, Template:t-check/doc and Template:t+check/doc redirect here.
Use this template in the Translations section to format a translation of an Vietnamese entry.
There are several translation templates:
{{t}}is the default, and is the one that human editors should use most when adding a translation.{{t-check}}marks translations which need attention.{{t+}}and{{t+check}}are the same as{{t}}and{{t-check}}, respectively, except that they add 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+}}or{{t-check}}to{{t+check}}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.{{no equivalent translation}}when a language has no corresponding term and only an unidiomatic translation is provided. However, if it is the sole commonly used translation in that language, then one of the above templates should be used instead.{{not used}}when a language lacks the term. Most commonly used for grammatical words absent in other languages such as the, though not limited to such.{{t-needed}}to request a missing translation.{{tt}}and{{tt+}}are logically equivalent to{{t}}and{{t+}}, respectively, but only work inside of{{multitrans}}. They should be used in place of{{t}}and{{t+}}inside of a{{multitrans}}section in order to reduce memory usage.
The implementation of these templates is performed by Module:translations.
Tham số
[sửa]|1=(cần thiết)- Language code. See Wiktionary:Languages.
|2=(cần thiết)- 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. |3=,|4=,|5=, … (all optional)- Gender/number specification(s), using the codes provided by Module:gender and number; If multiple codes are used (separated by a "|"), they will be displayed in the order given.
|sc=(tùy chọn)- 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=(tùy chọn)- 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=(tùy chọn)- Specifies an alternate form of the word, not the pagename, to be displayed.
|lit=(tùy chọn)- Adds a literal translation for the term.
|id=(tùy chọn)- Links to a
{{senseid}}tag on the target page.
Ví dụ
[sửa]Ví dụ cho butterfly:
* Arabic: {{t|ar|فَرَاشَة|f}}
* Bengali: {{t|bn|প্রজাপতি|tr=projapoti, prajapati}}
* Javanese: {{t+|jv|ꦏꦸꦥꦸ}}
* Latin: {{t|la|pāpiliō}}
* Russian: {{t+|ru|ба́бочка|f}}
* Serbo-Croatian:
*: Cyrillic: {{t|sh|ле̏птӣр|m}}
*: Latin: {{t|sh|lȅptīr|m}}
* Tamil: {{t+|ta|வண்ணத்துப்பூச்சி|lit= color insect}}
* Yoruba: {{t|yo|labalábá}}
Template Data
[sửa]TemplateData cho t
Links a translation; meant to be used in between {{trans-top}} and {{trans-bottom}}.
| Tham số | Miêu tả | Kiểu | Trạng thái | |
|---|---|---|---|---|
| Language | 1 | Wiktionary language code for the language of translation
| Chuỗi ngắn | bắt buộc |
| Term | 2 | The word or phrase being linked to, that translates the word
| Chuỗi ngắn | bắt buộc |
| Script code | sc | Specifies a Wiktionary script code. 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.
| Chuỗi ngắn | tùy chọn |
| Transliteration | tr | Specifies the transliteration into Latin script, as also shown in the example below. A transliteration may be automatically generated for certain languages, if none was provided. | Chuỗi ngắn | tùy chọn |
| Alternate term displayed | alt | Specifies an alternate form of the word, not the pagename, to be displayed.
| Chuỗi ngắn | tùy chọn |
| Literally | lit | A literal translation for the term
| Chuỗi dài | tùy chọn |
| Sense ID | id | Links to a {{temp|senseid}} tag on the target page. | Chuỗi ngắn | tùy chọn |
Xem thêm
[sửa]{{trans-top}}{{trans-bottom}}