Editing Template:Ombox
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{# | + | <table class="plainlinks ombox |
− | {{ | + | {{#switch:{{{type|}}} |
− | <!-- | + | | speedy = ombox-speedy |
+ | | delete = ombox-delete | ||
+ | | content = ombox-content | ||
+ | | style = ombox-style | ||
+ | | move = ombox-move | ||
+ | | protection = ombox-protection | ||
+ | | notice <!-- notice = default --> | ||
+ | | #default = ombox-notice | ||
+ | }}" style="{{{style|}}}"> | ||
+ | <tr> | ||
+ | {{#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> | ||
+ | | <td class="ombox-image"> | ||
+ | {{#if:{{{image|}}} | ||
+ | | {{{image}}} | ||
+ | | {{#switch:{{{type|}}} | ||
+ | | speedy = [[Image:Imbox speedy deletion.png|40x40px]] | ||
+ | | delete = [[Image:Imbox deletion.png|40x40px]] | ||
+ | | content = [[Image:Imbox content.png|40x40px]] | ||
+ | | style = [[Image:Imbox style.png|40x40px]] | ||
+ | | move = [[Image:Imbox move.png|40x40px]] | ||
+ | | protection = [[Image:Imbox protection.png|40x40px]] | ||
+ | | notice <!-- notice = default --> | ||
+ | | #default = [[Image:Imbox notice.png|40x40px]] | ||
+ | }} | ||
+ | }}</td> | ||
+ | }} | ||
+ | <td class="ombox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
+ | {{#if:{{{imageright|}}} | ||
+ | | <td class="ombox-imageright"> {{{imageright}}} </td> | ||
+ | }} | ||
+ | </tr> | ||
+ | </table><noinclude> | ||
+ | |||
+ | {{pp-template|small=yes}} | ||
+ | {{Documentation}} | ||
+ | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |