Format:Mbox/core: Diferență între versiuni
Linia 1: | Linia 1: | ||
− | <div class="mbox | + | <div class="mbox {{#ifeq:{{{small}}}|yes|mbox-small}} |
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| delete = mbox-delete | | delete = mbox-delete | ||
Linia 9: | Linia 9: | ||
| #default = mbox-notice | | #default = mbox-notice | ||
}} {{{class|}}}" style="{{{style|}}}"><div class="mbox-inner"> | }} {{{class|}}}" style="{{{style|}}}"><div class="mbox-inner"> | ||
− | {{| <div class="mbox-image"> | + | {{#ifeq:{{{image|}}}|none| |
+ | | <div class="mbox-image"> | ||
+ | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| [[Image:{{#switch:{{{type|}}} | | [[Image:{{#switch:{{{type|}}} | ||
Linia 19: | Linia 21: | ||
| notice | | notice | ||
| #default = Ambox notice.png | | #default = Ambox notice.png | ||
− | }} | + | }} | {{#ifeq:{{{small|}}}|yes |
+ | | 16x16px | ||
| 32x32px | | 32x32px | ||
}}|link=|alt=]] | }}|link=|alt=]] | ||
Linia 25: | Linia 28: | ||
}} | }} | ||
<div class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </div> | <div class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </div> | ||
− | </div></div> | + | {{#if:{{{imageright|}}} |
+ | | <div class="mbox-imageright"> {{{imageright}}} </div> | ||
+ | }} | ||
+ | </div></div><noinclude> | ||
+ | |||
+ | {{documentation|Template:Mbox/doc}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |
Versiunea curentă din 27 septembrie 2013 17:41
{{{text}}}