Template:Ombox/core: Difference between revisions

From KevinWiki
Jump to navigationJump to search
New page: <table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | speedy = ombox-speedy | delete = ombox-delete | content = ombox-content | style ...
 
No edit summary
 
Line 12: Line 12:
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
| <td class="mbox-image">
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
Line 20: Line 20:
     | delete    = Imbox deletion.png
     | delete    = Imbox deletion.png
     | content    = Imbox content.png
     | content    = Imbox content.png
     | style      = Imbox style.png
     | style      = Edit-clear.svg
     | move      = Imbox move.png
     | move      = Imbox move.png
     | protection = Imbox protection.png
     | protection = Imbox protection.png
     | notice          <!-- notice = default -->
     | notice          <!-- notice = default -->
     | #default  = Imbox notice.png
     | #default  = Imbox notice.png
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
     }} | {{#ifeq:{{{small|}}}|yes
    | 30x30px
    | 40x40px
    }}|link=|alt=]]
   }}</td>
   }}</td>
}}
}}
Line 49: Line 52:
}}<noinclude>
}}<noinclude>


{{pp-template|small=yes}}
{{pp-template}}
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 12:29, 2 August 2010

[create] File:Template-info.svg Template documentation