Difference between revisions of "Template:Ombox"

From BTAWiki
Jump to navigation Jump to search
(need to add here too)
m (37 revisions imported)
 
(26 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<table class="plainlinks ombox
+
<templatestyles src="Template:Ombox/styles.css" />
{{#switch:{{{type|}}}
+
{{#invoke:Message box|ombox}}<noinclude>
| speedy    = ombox-speedy
+
{{documentation}}
| delete    <!-- delete = serious -->
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| serious    = ombox-delete
 
| content    = ombox-content
 
| style      = ombox-style
 
| move      <!-- move = merge -->
 
| merge      = 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]]
 
    | serious
 
    | delete    = [[Image:Imbox deletion.png|40x40px]]
 
    | content    = [[Image:Imbox content.png|40x40px]]
 
    | style      = [[Image:Imbox style.png|40x40px]]
 
    | merge
 
    | 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>

Latest revision as of 20:38, 30 October 2020

<templatestyles src="Template:Ombox/styles.css" /> Script error: No such module "Message box". Script error: No such module "documentation".