跳至內容

模板: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