Template:Ombox: Difference between revisions

From TestWiki
Content added Content deleted
(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.)
(username removed)
m (1 revision imported from loginwiki:Template:Ombox: Updating template with latest edits from loginwiki)
 
(15 intermediate revisions by 14 users not shown)
Line 1: 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}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 01:09, 21 March 2022