Template:Ombox: Difference between revisions

577 bytes removed ,  11 years ago
switch to Lua version
m>Edokter
(Add class parameter)
m>Mr. Stradivarius
(switch to Lua version)
Line 1: Line 1:
{{#ifeq:{{{small|}}}|yes
{{#invoke:Message box|ombox}}<noinclude>
| {{ombox/core
{{documentation}}
  | small = yes
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  | type  = {{{type|}}}
</noinclude>
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
  | class = {{{class|}}}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
  }}
| {{ombox/core
  | type  = {{{type|}}}
  | image = {{{image|}}}
  | imageright = {{{imageright|}}}
  | class = {{{class|}}}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{{text}}}
  }}
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
Anonymous user