This is a documentation subpage for 模板:Wiktionary. It may contain usage information, categories and other content that is not part of the original 模板 page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template makes a link in a box to a Wiktionary page. Wiktionary entries include definitions, etymology, and pronunciation, as well as synonyms, antonyms, and related terms.
Usage
{{Wiktionary}}
If no parameter is supplied, the current page name in lower case will be the target. Please check whether it is correct.
You can also use:
{{Wiktionary|1st|2nd|...|10th}}
(one up to ten parameters, see Template Data below)
Linking to a search page
For internal link to Wiktionary search on a specific word, this code may be used:
[[wikt:Special:Search/search word|text to show]]
Placement
The template may be placed anywhere, such as the External links section, the beginning of the article, or in the article's etymology section if one exists. It may also be placed inline.
On disambiguation pages, place this template at the TOP of the page (on the first line of the edit screen). This is in accord with MOS:WTLINK.
See Wikipedia:Wikimedia sister projects for some recommendations about the best choice of template for various situations.
This template may be floated to the left by use of |position=left
. The default and usually recommended position is to the right.
TemplateData
TemplateData for Wiktionary
Creates a small box with links to entries in Wiktionary.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
First word | 1 | The first word to link to, case sensitive. If not specified, it links to the pagename in lower case.
| 字符串 | 推荐 |
Second word | 2 | Second word to link to. | 字符串 | 可选 |
Third word | 3 | Third word to link to. | 字符串 | 可选 |
Fourth word | 4 | Fourth word to link to. | 字符串 | 可选 |
Fifth word | 5 | Fifth word to link to. | 字符串 | 可选 |
Sixth word | 6 | Sixth word to link to. | 字符串 | 可选 |
Seventh word | 7 | Seventh word to link to. | 字符串 | 可选 |
Eighth word | 8 | Eighth word to link to. | 字符串 | 可选 |
Ninth word | 9 | Ninth word to link to. | 字符串 | 可选 |
Tenth word | 10 | Tenth word to link to. | 字符串 | 可选 |
Position | position | Float box to left
| 字符串 | 可选 |
See also
模板:Wiktionary templates common doc