Difference between revisions of "Template:Ombox"

From WPRDC Wiki
Jump to navigation Jump to search
>Davidgothberg
(Updating to use the classes in MediaWiki:Common.css. The 30 days CSS caching has passed.)
>ExE Boss
m (Use <onlyinclude>)
 
(30 intermediate revisions by 19 users not shown)
Line 1: Line 1:
<table class="plainlinks ombox
<onlyinclude>{{#invoke:Message box|ombox}}</onlyinclude>
{{#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=yes}}
{{Documentation}}
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>

Latest revision as of 23:24, 1 September 2021

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.