Difference between revisions of "Template:Ombox"

From DMARC Wiki
Jump to navigation Jump to search
(Add class parameter)
(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>
 

Revision as of 12:45, 20 October 2013

{{#invoke:Message box|ombox}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}