Difference between revisions of "Template:Ambox/core"

From Self-sufficiency
Jump to: navigation, search
(hardcoded mbox-empty-cell no longer needed.)
m (1 revision: Digital circuits (Import from Wikipedia))
 
(6 intermediate revisions by 5 users not shown)
Line 10: Line 10:
 
| notice    <!-- notice = default -->
 
| notice    <!-- notice = default -->
 
| #default  = ambox-notice
 
| #default  = ambox-notice
}}" style="{{{style|}}}">
+
}} {{{class|}}}" style="{{{style|}}}">
 
<tr>
 
<tr>
 
{{#switch:{{{image|}}}
 
{{#switch:{{{image|}}}
Line 23: Line 23:
 
   {{#if:{{{image|}}}
 
   {{#if:{{{image|}}}
 
   | {{{image}}}
 
   | {{{image}}}
   | [[Image:{{#switch:{{{type|}}}
+
   | [[File:{{#switch:{{{type|}}}
 
     | speedy    = Ambox speedy deletion.png
 
     | speedy    = Ambox speedy deletion.png
 
     | delete    = Ambox deletion.png
 
     | delete    = Ambox deletion.png
 
     | content    = Ambox content.png
 
     | content    = Ambox content.png
     | style      = Ambox style.png
+
     | style      = Edit-clear.svg
 
     | move      = Ambox move.png
 
     | move      = Ambox move.png
 
     | protection = Ambox protection.png
 
     | protection = Ambox protection.png
Line 35: Line 35:
 
       | left = 20x20px  
 
       | left = 20x20px  
 
       | #default = 40x40px  
 
       | #default = 40x40px  
       }} ]]
+
       }} |link=|alt=]]
 
   }}{{#switch:{{{small|}}}
 
   }}{{#switch:{{{small|}}}
 
   | left = <!-- Don't use the /DIV -->
 
   | left = <!-- Don't use the /DIV -->
Line 41: Line 41:
 
   }}</td>
 
   }}</td>
 
}}
 
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
+
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} {{#if:{{{date|}}}
 +
|<small>''({{{date}}})''</small>
 +
}}</td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
 
| {{#ifeq:{{{imageright|}}}|none
 
| {{#ifeq:{{{imageright|}}}|none
Line 69: Line 71:
 
| 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>
 
}}<noinclude>
 
{{pp-template}}
 
 
{{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 17:11, 9 December 2011