Vorlage:Tmbox: Unterschied zwischen den Versionen
copy from /test3
imported>Davidgothberg (Changed to no border for the "protection" type. More in line with current discussion on Template talk:Tmbox/styles. (But this is still just a demo, we do not have a final consensus.)) |
imported>Happy-melon (copy from /test3) |
||
Zeile 1: | Zeile 1: | ||
{{#ifeq:{{{small|}}}|yes | |||
{{# | | {{tmbox/core | ||
| | | small = yes | ||
| | | type = {{{type|}}} | ||
| | | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | ||
| | | imageright = | ||
{{#ifeq:{{{smallimageright|}}}|none | |||
| | | <!-- Don't show any right image --> | ||
| | | {{#if:{{{smallimageright|}}} | ||
| {{{smallimageright}}} | |||
}} {{{ | | {{{imageright|}}} | ||
}} | |||
{{#ifeq:{{{ | |||
| <!-- | |||
| | |||
}} | }} | ||
}} | | style = {{{style|}}} | ||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }} | |||
}} | |||
| {{tmbox/core | |||
| type = {{{type|}}} | |||
| image = {{{image|}}} | |||
| imageright = {{{imageright|}}} | |||
| style = {{{style|}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{{text}}} | |||
}} | |||
}} | }} | ||