跳转到内容

Template:Wiktionary category/doc

维基百科,自由的百科全书

See also a similar but simpler template {{wtc}}.

This template makes a box linking to a category of Wiktionary.

用法

[编辑]

The template requires two parameters:

  • category – the Wiktionary category name
  • type – descriptive text

Example code: {{wiktionary category|category=English similes|type=similes in the Modern English language}}

Result:

This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.

位置

[编辑]
如果框型模板导致布局异常(如截图中右侧出现过多空白区域),请改用行内模板,例如使用{{Commons category-inline}}代替{{Commons category}}。

一般情况下:

☒N请勿单独开设一个章节来放置此模板或其他框型模板。
☒N请勿将此模板放在包含分栏且未左浮动的章节中。
☒N请勿使用冒号(:)或项目符号(*)对此模板进行缩进。

具体而言:

  • 条目页面:将模板放在最后一个章节的顶部(通常是“外部链接”或“参考资料”章节),以便其在该章节右侧浮动。
  • 消歧义页面:此模板通常放置在页面顶部。
  • 分类页面:此模板应与其他模板一起放在分类介绍的开头。这样文本可以围绕模板框浮动,避免不必要的空白区域。

參見

[编辑]

Template:Wiktionary templates common doc