Difference between revisions of "Template:Tmbox"
Jump to navigation
Jump to search
test>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.)) |
test>Happy-melon (copy from /test3) |
||
| Line 1: | Line 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}}} | ||
| + | }} | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||