「Template:Ombox」:修訂間差異

出自Arcaea中文维基
無編輯摘要
(using lua)
 
行 1: 行 1:
{{#ifeq:{{{small|}}}|yes
{{#invoke:Message box|ombox}}<noinclude>
| {{ombox/core
{{documentation}}
  | small = yes
</noinclude>
  | type  = {{{type|}}}
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
  }}
| {{ombox/core
  | type  = {{{type|}}}
  | image = {{{image|}}}
  | imageright = {{{imageright|}}}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{{text}}}
  }}
}}<noinclude>[[分类:工具模板]]{{Documentation}}</noinclude>

於 2021年2月26日 (五) 17:24 的最新修訂

模板文檔[查看] [編輯] [歷史] [清除緩存]

本模板是用於非主名字空間的模板的元模板。

本模板的大致參數與模板:Ambox相同。

語法

{{Ombox
| name  = 
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| type  = 
| image = 图片链接
| text  = 文字
| small = {{{small|}}} / left
}}

上述文檔嵌入自Template:Ombox/doc(編輯 | 歷史)
您還可以檢視Rotaeno中文維基中該模板的模板文檔,如果存在對應的同版本模板的話。