Template:Ambox/core: Difference between revisions From Online Manual

Jump to: navigation, search
(Edit-clear.png)
(Now handles |small=yes)
 
Line 1: Line 1:
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
<!--Begin Ambox/core/sandbox --><table class="metadata plainlinks ambox {{#switch:{{{small|}}}
| left = mbox-small-left
| left = mbox-small-left
}} {{#switch:{{{type|}}}
}} {{#switch:{{{type|}}}
Line 18: Line 18:
   <td class="mbox-image">{{
   <td class="mbox-image">{{
   #switch:{{{small|}}}
   #switch:{{{small|}}}
  | yes
   | left = <!-- Don't use the DIV -->  
   | left = <!-- Don't use the DIV -->  
   | #default = <div style="width: 52px;">  
   | #default = <div style="width: 52px;">  
Line 33: Line 34:
     | #default  = Ambox notice.png
     | #default  = Ambox notice.png
     }} | {{#switch:{{{small|}}}  
     }} | {{#switch:{{{small|}}}  
      | yes
       | left = 20x20px  
       | left = 20x20px  
       | #default = 40x40px  
       | #default = 40x40px  
       }} |link=|alt=]]
       }} |link=|alt=]]
   }}{{#switch:{{{small|}}}
   }}{{#switch:{{{small|}}}
  | yes
   | left = <!-- Don't use the /DIV -->
   | left = <!-- Don't use the /DIV -->
   | #default = </div>  
   | #default = </div>  
Line 68: Line 71:
-->{{#switch:{{{image|}}}
-->{{#switch:{{{image|}}}
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
}}
<!--End Ambox/core/sandbox --><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 12:08, 12 June 2013

[create] Template documentation


Advertisement: