Template:Tmbox: Difference between revisions

Content added Content deleted
(copy from /test3)
(why do we handle smallimageright=none and not imageright=none?)
Line 4: Line 4:
| type = {{{type|}}}
| type = {{{type|}}}
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| imageright =
{{#ifeq:{{{smallimageright|}}}|none
| <!-- Don't show any right image -->
| {{#if:{{{smallimageright|}}}
| {{{smallimageright}}}
| {{{imageright|}}}
}}
}}
| style = {{{style|}}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| textstyle = {{{textstyle|}}}