Bản mẫu:alternative form of
| Bản mẫu này sử dụng Lua: |
By default, this template displays its output with an initial capital letter if the term's language in |1= is
English (but not otherwise). This can be overridden by using |nocap=1 to make the initial letter lowercase for
English. This does not auto-add a final period; if (and only if) the term's language is English, you should manually
include it after the template unless other text follows, since English definitions should be formatted like full
sentences.
Không sử dụng bản mẫu này trong các phần từ nguyên.
Lưu ý người dùng có thể tùy chỉnh cách hiển thị đầu ra của bản mẫu này bằng cách sửa đổi trang CSS tùy chỉnh. Xem bản mẫu “dạng từ” để biết thêm chi tiết.
Sử dụng
[sửa]Dùng trong dòng định nghĩa, hầu hết đều như bên dưới:
# {{alternative form of|<mã ngôn ngữ>|<tên mục từ>}}
trong đó <mã ngôn ngữ> là mã ngôn ngữ, ví dụ en cho tiếng Anh, de cho tiếng Đức, hoặc ja cho tiếng Nhật.
Tham số
[sửa]Tham số phổ biến (không tên):
|1=(cần thiết)- Mã ngôn ngữ của mục từ cần liên kết đến (mà trang này là một alternative form of mục từ cần liên kết đến đó). Xem Wiktionary:Danh sách ngôn ngữ. The parameter
|lang=is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one. |2=(cần thiết)- Tên mục từ cần liên kết đến (mà trang này là một alternative form of mục từ cần liên kết đến đó). This should include diacritics as appropriate to the language (e.g. accents in Russian to mark the stress, vowel diacritics in Arabic, macrons in Latin to indicate vowel length, etc.). These diacritics will automatically be stripped out in a language-specific fashion in order to create the link to the page. This parameter can also include multiple terms separated by a comma, as long as there is no space after the comma, and each such term can have inline modifiers specifying transliterations, display forms, qualifiers, labels, genders and other properties. See below.
|3=(tùy chọn)- Văn bản hiển thị trong liên kết đến mục từ. Nếu để trống hoặc bỏ qua, sử dụng tên mục từ được chỉ định bởi tham số thứ hai. This parameter is normally not necessary, and should not be used solely to indicate diacritics; instead, put the diacritics in the second parameter.
Tham số có tên:
|t=hoặc|4=(tùy chọn)- Một chú giải hoặc bản dịch ngữ nghĩa của từ cần liên kết đến. The parameter
|gloss=is a deprecated synonym; please do not use. |tr=(tùy chọn)- Chuyển ngữ của từ không phải chữ Latinh, nếu khác với từ được tạo tự động.
|ts=(tùy chọn)- Transcription for non-Latin-script terms whose transliteration is markedly different from the actual pronunciation. Should not be used for IPA pronunciations.
|cat=,|cat2=,|cat3=, etc. (tùy chọn)- Additional categories to place the page into. They are automatically prepended with the language name. A single parameter can contain multiple comma-separated categories as long as there is no space after the comma.
|addl=(tùy chọn)- Additional text to display at the end, before the final closing <span/> tag. It is normally joined to the preceding text by a comma followed by a space. However, if the value of
|addl=begins with a colon or semicolon, it is appended directly with no joining punctuation, and if the value begins with an underscore, the remainder is joined to the preceding text with a space. |from=,|from2=,|from3=, etc. (tùy chọn)- Một nhãn (xem
{{label}}) cung cấp thông tin bổ sung về phương ngữ mà từ thuộc về, nơi bắt nguồn của từ đó hoặc điều gì đó tương tự. |nocap=(tùy chọn)- Nếu
|nocap=1, thì chữ cái đầu tiên sẽ ở dạng chữ thường. Only useful for English, because other languages already begin with a lowercase letter. |cap=(tùy chọn)- If
|cap=1, then the first letter will be in capitalized. Not generally recommended, because non-English definitions should begin with a lowercase letter and be formatted like a phrase, rather than a full sentence. |notext=(tùy chọn)- If
|notext=1, don't display the initial text preceding the term(s), but only the actual term or terms. The page is still categorized as normal, unless|nocat=1is given. |id=(tùy chọn)- A sense id for the term, which links to anchors on the page set by the
{{senseid}}template. |sc=(tùy chọn)- Mã tập lệnh, nếu hệ thống phát hiện tập lệnh không hoạt động. See Wiktionary:Scripts. Hiếm khi cần thiết.
|sort=(tùy chọn)- Sort key for sorting any categories the page is added to. Rarely needs to be given except for Japanese, and even then, only when there are multiple possible pronunciations.
Inline modifiers
[sửa]Use a syntax like Изабе́лла<tr:Izabɛ́lla><t:Isabelle> to specify modifiers such as transliterations, glosses and qualifiers. In this example, for the Russian name gđ, the manual transliteration Izabɛ́lla and gloss "Isabelle" are given. The following modifiers are recognized; see {{link}} for the exact meaning of these modifiers.
t: glosstr: transliterationts: transcription, for languages where the transliteration and pronunciation are markedly differentq: left qualifier, e.g.<q:neither sexual nor romantic in nature>(in reference to platonic love); this appears before the term, parenthesized and italicizedqq: right qualifier; this appears after the term, parenthesized and italicizedl: comma-separated left labels, e.g.<l:rare>or<l:UK,Australia>or<l:archaic,or,dialectal>; as shown, there must not be a space after the comma for it to be recognized as a delimiter; the labels appear before the term, parenthesized, italicized and appropriately linked as if{{lb}}were used (but without categorization); an alternative syntax is to enclose the labels in<<...>>, e.g.<l:<<rare>>, <<archaic>> or <<dialectal>>>ll: comma-separated right labels; these appear after the term, parenthesized, italicized and appropriately linked as for left labelsref: reference or references, using the syntax documented in Template:IPA#Referencesg: comma-separated list of gender/number specifications; see Module:gender and number for the complete listalt: alternative display textpos: part of speechlit: literal meaningid: sense ID; see{{senseid}}sc: script code
Xem thêm
[sửa]Các bản mẫu khác tại Thể loại:Bản mẫu dạng từ.
{{obsolete form of}}{{archaic form of}}{{dated form of}}{{informal form of}}{{nonstandard form of}}{{standard form of}}
TemplateData
[sửa]TemplateData cho alternative form of
Indicates that a term is an alternate form of another term, such as contractions
| Tham số | Miêu tả | Kiểu | Trạng thái | |
|---|---|---|---|---|
| Mã ngôn ngữ | 1 | Mã ngôn ngữ của mục từ
| Chuỗi dài | bắt buộc |
| Tên mục từ | 2 | Tên mục từ mà mục từ này là hình thức thay thế của tên mục từ
| Tên trang | bắt buộc |
| Văn bản hiển thị | 3 | Văn bản hiển thị trong liên kết đến mục từ | Chuỗi ngắn | tùy chọn |
| ngữ nghĩa | 4 | ngữ nghĩa của từ | Chuỗi dài | tùy chọn |
| Chuyển ngữ | tr | Chuyển ngữ cho từ | Chuỗi dài | tùy chọn |
| Mã tập lệnh | sc | Mã tập lệnh cho mục từ
| Chuỗi dài | tùy chọn |
| phương ngữ/khu vực từ thuộc về | from | Tên phương ngữ hoặc khu vực mà từ này thuộc về. Parameters from2 through from5 also available.
| Chuỗi dài | tùy chọn |
| phương ngữ/khu vực từ thuộc về 2 | from2 | Tên phương ngữ hoặc khu vực mà từ này thuộc về. Parameters from2 through from5 also available.
| Chuỗi dài | tùy chọn |