Difference between revisions of "Template:Ombox"

From BESA® Wiki
Jump to: navigation, search
(Adding the "small=yes" functionality. Now using {{ombox/core}} with hard-coded small styles due to the CSS caching, but it also has the "ombox-small" class so it can be skinned.)
m (16 revisions)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#ifeq:{{{small|}}}|yes
+
{{#invoke:Message box|ombox}}<noinclude>
| {{ombox/core
+
  | small = yes
+
  | 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>
+
 
+
{{pp-template|small=yes}}
+
 
{{documentation}}
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 13:23, 8 April 2016

Script error Script error