跳至內容

模板:Ombox/doc

勤求古訓,博采眾方
消息框模板

{{Ombox}}(Other pages message box,其他頁面信息框)是用於未被 {{Ambox}}{{Tmbox}}{{Imbox}}{{Cmbox}} 覆蓋的名字空間(用戶頁、Wikipedia、MediaWiki、模板、幫助、Portal 等)以及未來新名字空間的信息框元模板。它不應用於條目、討論頁、文件頁或分類頁面。

常用參數

參數 說明
type speedy / delete / content / style / notice / move / protection
image 自定義圖標(none 則不顯示圖片)
imageright 右側圖片
style 整個信息框的 CSS 樣式
textstyle 文字單元格的 CSS 樣式
text 消息正文
small yes 時顯示為小型右浮框

type 類型

參數說明

{{ombox
| type  = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS 取值
| textstyle = CSS 取值
| text  = 消息正文
| small = {{{small|}}} / yes
}}

參見

  • {{Ambox}} — 條目消息框
  • {{Tmbox}} — 討論頁消息框
  • {{Imbox}} — 文件頁消息框
  • {{Cmbox}} — 分類消息框
  • {{Fmbox}} — 頁眉和頁腳消息框
  • {{Mbox}} — 自動檢測命名空間