Template:Ambox
From OpenSimulator
(Difference between revisions)
Line 1: | Line 1: | ||
− | <table class=" | + | <table class="plainlinks imbox |
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
− | | speedy = | + | | speedy = imbox-speedy |
− | + | | delete = imbox-delete | |
− | | delete = | + | | content = imbox-content |
− | | content = | + | | style = imbox-style |
− | | style = | + | | move = imbox-move |
− | + | | protection = imbox-protection | |
− | | move = | + | | license = imbox-license |
− | | protection = | + | | featured = imbox-featured |
− | | notice | + | | notice <!-- notice = default --> |
− | | #default = | + | | #default = imbox-notice |
}}" style="{{{style|}}}"> | }}" style="{{{style|}}}"> | ||
<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 style="border: none; padding: 0px; width: 1px;"></td> | ||
− | | <td class=" | + | | <td class="imbox-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]] | |
− | + | | license = [[Image:Imbox license.png|40x40px]] | |
− | + | | featured = [[Image:Imbox featured.png|40x40px]] | |
− | + | | notice <!-- notice = default --> | |
− | + | | #default = [[Image:Imbox notice.png|40x40px]] | |
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | }} | + | }}</td> |
}} | }} | ||
− | <td class=" | + | <td class="imbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> |
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
− | | <td class=" | + | | <td class="imbox-imageright"> {{{imageright}}} </td> |
}} | }} | ||
</tr> | </tr> | ||
− | + | {{#if:{{{below|}}} | |
− | + | | <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="imbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr> | |
− | {{# | + | }} |
− | | | + | </table><noinclude> |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}<noinclude> | + | |
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{Documentation}} | {{Documentation}} | ||
− | <!-- Add categories and | + | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |
Revision as of 07:18, 26 September 2008
{{{text}}} |
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |