Template:Ombox: Difference between revisions
Jump to navigation
Jump to search
mediawiki>Pppery m (Changed protection settings for "Template:Ombox": Highly visible page or template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (1 revision imported: First import of template) |
||
| 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: 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=no}} | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | |||
Revision as of 16:47, 21 October 2025
|
|
{{{text}}} |
|
|
This high-risk template has been protected from editing to prevent vandalism. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may use the {{editprotected}} template to ask an administrator to make the edit if it is supported by consensus. You may also request that this page be unprotected. |
[create]
Template documentation