Difference between revisions of "Template:Ombox"
From Self-sufficiency
m (1 revision) |
(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.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | # | + | {{#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}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |
Revision as of 22:11, 15 September 2008
40x40px | {{{text}}} |
[edit]
Documentation