Template:Tmbox/core: Difference between revisions

(add style="vertical-align:middle")
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 8: Line 8:
| notice      <!-- notice = default -->
| notice      <!-- notice = default -->
| #default  = border: 1px solid #c0c090; <!--tmbox-notice-->
| #default  = border: 1px solid #c0c090; <!--tmbox-notice-->
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{grey border}} {{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
Line 17: Line 17:
   | [[Image:{{#switch:{{{type|}}}
   | [[Image:{{#switch:{{{type|}}}
     | speedy    = Imbox speedy deletion.png
     | speedy    = Imbox speedy deletion.png
     | delete    = Imbox deletion.png
     | delete    = Delete.png
     | content    = Imbox content.png
     | content    = Imbox content.png
     | style      = Imbox style.png
     | style      = Broom icon.png
     | move      = Imbox move.png
     | move      = ArrowGreen.svg.png
     | protection = Imbox protection.png
     | protection = Padlock.png
     | notice          <!-- notice = default -->
     | notice          <!-- notice = default -->
     | #default  = Information icon.png
     | #default  = Information icon.png
Line 27: Line 27:
   }}</td>
   }}</td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="margin-bottom:0px; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none
Line 46: Line 46:
| notice    =    <!-- Do nothing, valid "type" -->
| notice    =    <!-- Do nothing, valid "type" -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
}}<noinclude>{{documentation}}[[Category:Templates]]<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 13:29, 31 March 2023

[view] [edit] [history] [purge] Documentation icon Template documentation