Template:Ombox: Difference between revisions

m
18 revisions imported from wikipedia:Template:Ombox
(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 (18 revisions imported from wikipedia:Template:Ombox)
 
(6 intermediate revisions by 6 users not shown)
Line 1:
{{#invoke:Message box|ombox}}<noinclude>
{{#ifeq:{{{small|}}}|yes
| {{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}}
<!-- AddCategories categoriesgo and interwikis toon the /doc subpage, notand interwikis go on here!Wikidata. -->
</noinclude>