Template:Ambox/core: Difference between revisions

(Created page with '<table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = ambox-speedy | delete = ambox-delete | content…')
 
No edit summary
 
(20 intermediate revisions by 6 users not shown)
Line 10: Line 10:
| notice    <!-- notice = default -->
| notice    <!-- notice = default -->
| #default  = ambox-notice
| #default  = ambox-notice
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{grey border}} {{{style|}}}">
<tr>
<tr>
{{#switch:{{{image|}}}
{{#switch:{{{image|}}}
Line 16: Line 16:
| none = <td class="mbox-empty-cell"></td>  <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| none = <td class="mbox-empty-cell"></td>  <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| #default =  
| #default =  
   <td class="mbox-image">{{
   <td class="mbox-image" style="vertical-align: middle;">{{
   #switch:{{{small|}}}
   #switch:{{{small|}}}
   | left = <!-- Don't use the DIV -->  
   | left = <!-- Don't use the DIV -->  
Line 24: Line 24:
   | {{{image}}}
   | {{{image}}}
   | [[File:{{#switch:{{{type|}}}
   | [[File:{{#switch:{{{type|}}}
     | speedy    = Ambox speedy deletion.png
     | speedy    = Icon-warning.png
     | delete    = Deletion icon.svg.png
     | delete    = Deletion icon.svg.png
     | content    = Ambox content.png
     | content    = Important.png
     | style      = Edit-clear.svg
     | style      = Broom icon.png
     | move      = Ambox move.png
     | move      = Move.png
     | protection = Ambox protection.png
     | protection = Ambox protection.png
     | notice          <!-- notice = default -->
     | notice          <!-- notice = default -->
Line 74: Line 74:
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
<noinclude>[[Category:Formatting and function templates]]</noinclude>

Latest revision as of 15:41, 25 April 2016

[create] Documentation icon Template documentation