模板:Wiktionary/doc

来自决策链云智库

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wiktionary in articles based on its TemplateData.

TemplateData for Wiktionary

Creates a small box with links to entries in Wiktionary.

模板参数

参数描述类型状态
First word1

The first word to link to, case sensitive. If not specified, it links to the pagename in lower case.

自动值
字符串推荐
Second word2

Second word to link to.

字符串可选
Third word3

Third word to link to.

字符串可选
Fourth word4

Fourth word to link to.

字符串可选
Fifth word5

Fifth word to link to.

字符串可选
Sixth word6

Sixth word to link to.

字符串可选
Seventh word7

Seventh word to link to.

字符串可选
Eighth word8

Eighth word to link to.

字符串可选
Ninth word9

Ninth word to link to.

字符串可选
Tenth word10

Tenth word to link to.

字符串可选
Positionposition

Float box to left

默认值
floated right
示例值
position=left
自动值
right
字符串可选

See also

模板:Wiktionary templates common doc