Template:Ambox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
m (New page: <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | serious = ambox-serious | content = ambox-content | style = ambox-style | merge = ambox...)
 
mNo edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
<!--
 
This is the 'ambox' or 'article message box' meta template.
 
-->
<div id="catlinks"><table border="0" style="{{{style|}}}" <!-- class="metadata plainlinks ambox {{{#switch:{{{type|}}}
   | serious  = ambox-serious
   | serious  = ambox-serious
   | content  = ambox-content
   | content  = ambox-content
Line 6: Line 11:
   | notice  = ambox-notice
   | notice  = ambox-notice
   | #default = ambox-notice
   | #default = ambox-notice
}}">
}}}" --> >
<tr>
<tr>
<td class="ambox-image">
<td class="ambox-image" style="width:10px;">{{{#if:{{{imageleft|}}} | <div style="width:40px;"> {{{imageleft}}} </div></td>}}}<!--
{{#ifeq:{{{image}}}|none
   | XXX!-- no image cell; empty cell necessary for text cell to have 100% width --XXX
   | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
   | <div style="width:40px;">  
   | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
 
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
{{{#switch:{{{image|{{{type|}}}}}}
     | content  = [[Image:Emblem-important.svg|40px]]
     | serious  = [[Image:40px-Stop hand nuvola.jpg|40px]]
     | style    = [[Image:Broom icon.svg|40px]]
     | content  = [[Image:40px-Emblem-important.jpg|40px]]
     | merge    = [[Image:Merge-split-transwiki default.svg]]
     | style    = [[Image:Broom icon.jpg|40px]]
     | notice  = [[Image:Info non-talk.png|40px]]
     | merge    = [[Image:40px-Merge-split-transwiki default.jpg]]
     | blank    = [[Image:No image.svg]]
     | notice  = [[Image:40px-Info non-talk.jpg|40px]]
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
     | blank    = [[Image:No image.jpg]]
   }}</div>
     | #default = {{{image|[[Image:Info non-talk.jpg|40px]]}}}
}}</td>
   }}}</div>
<td class="ambox-text">{{{text}}}</td>
}}}</td>
{{#if:{{{imageright|}}}|
--><td class="ambox-text">{{{text}}}</td><!-- {{{#if:{{{imageright|}}}|<td class="ambox-imageright" style="width:10px;"><div style="width:40px;"> {{{imageright}}} </div></td>}}} --></tr></table></div>
  <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
</tr>
</table><noinclude>
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 15:46, 26 January 2008