Difference between revisions of "Template:Ambox"

From MPDLMediaWiki
Jump to navigation Jump to search
(New page: <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | serious = ambox-serious | content = ambox-content | style = ambox-style | merge = ambox...)
 
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
<table style="border-width: 2px;border-spacing: 2px;border-style: solid;border-color: orange;border-collapse: separate;background-color: white;">
  | serious  = ambox-serious
  | content  = ambox-content
  | style   = ambox-style
  | merge    = ambox-merge
  | notice  = ambox-notice
  | #default = ambox-notice
}}">
<tr>
<tr>
<td class="ambox-image">
<td style="border-width: 2px;padding: 2px;border-style: dotted;border-color:#dddddd;background-color: white;-moz-border-radius: 0px;text-align: center;">
{{#ifeq:{{{image}}}|none
{{#ifeq:{{{image}}}|none
   | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
   | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
Line 21: Line 14:
   }}</div>
   }}</div>
}}</td>
}}</td>
<td class="ambox-text">{{{text}}}</td>
<td class="ambox">{{{text}}}</td>
{{#if:{{{imageright|}}}|
{{#if:{{{imageright|}}}|
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
Line 29: Line 22:


<noinclude>copied from [http://en.wikipedia.org/w/index.php?title=Template:Ambox Wikipedia]</noinclude>
<noinclude>copied from [http://en.wikipedia.org/w/index.php?title=Template:Ambox Wikipedia]</noinclude>
<noinclude>[[Category:Templates|Ambox]]</noinclude>

Latest revision as of 14:15, 10 November 2011

{{{text}}}

copied from Wikipedia