Anonymous user
Template:Ombox: Difference between revisions
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.
(Decreasing the empty left image cell from a total of 3px width to 1px width. Can't be 0px since then boxes who are not filled with text don't stay 80% wide.) |
(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.) |
||
Line 1:
| {{ombox/core
▲{{#switch:{{{type|}}}
| small = yes
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| style
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
| {{ombox/core
}}" style="{{{style|}}}">▼
| textstyle = {{
| text = {{{
}}▼
▲ | {{#switch:{{{type|}}}
▲ }}
▲}}
▲{{#if:{{{imageright|}}}
▲</table><noinclude>
{{pp-template|small=yes}}
{{
<!-- Add categories and
</noinclude>
|