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中文维基中该模板的模板文档,如果存在对应的同版本模板的话。