Template:Tmbox: Difference between revisions

1,182 bytes removed ,  3 years ago
m
24 revisions imported: Importing Template:Tmbox, with templates.
(Changed design based off of Wikipedia:Deletion message boxes by User:Edokter)
m (24 revisions imported: Importing Template:Tmbox, with templates.)
 
(19 intermediate revisions by 6 users not shown)
Line 1:
{{#invoke:Message box|tmbox}}<noinclude>
<table class="metadata plainlinks tmbox {{
#switch: {{{type|}}}
| serious = tmbox-serious
| content = tmbox-content
| style = tmbox-style
| merge = tmbox-merge
| notice = tmbox-notice
| #default = tmbox-notice
}}" style="width: 80%; margin: 0 auto; background-color: #ecfcf4; line-height: 1.5em; font-size: xx-small; color: #000000; text-align: center; border: 1px solid #aaa; border-left: 5px solid #b22222; {{{style|}}}">
<tr>
{{
#ifeq: {{{image}}} | none
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| <td class="ambox-image" style="width:26px">{{
#switch: {{{image|{{{type|}}}}}}
| serious = [[Image:Stop hand nuvola.svg|20px]]
| content = [[Image:Emblem-important.svg|20px]]
| style = [[Image:Broom icon.svg|20px]]
| merge = [[Image:Merge-split-transwiki default.svg]]
| notice = [[Image:Info non-talk.png|20px]]
| blank = [[Image:No image.svg]]
| #default = {{{image|[[Image:Info non-talk.png|20px]]}}}
}}</td>
}}
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
{{
#if: {{{imageright|}}}
| <td class="ambox-imageright" style="width:26px">{{{imageright}}}</td>
}}
</tr>
</table><noinclude>
{{documentation}}
<!-- AddCategories categoriesgo and inter-wikis toon the /doc subpage, notand interwikis go on here!Wikidata. -->
</noinclude>