Help us get to over 8,749 articles in 2024.

If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com

Difference between revisions of "Template:Ambox"

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to: navigation, search
m
Line 1: Line 1:
<div class="metadata plainlinks ambox" style="
+
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
  width:auto;
+
   | serious  = ambox-serious
  margin:-1px 10% 0 10%;
+
   | content  = ambox-content
  border-collapse: collapse;
+
   | style    = ambox-style
  border: 1px solid #aaa;
+
   | merge    = ambox-merge
  border-left: 10px solid {{#switch:{{{type|}}}
+
   | notice  = ambox-notice
   | serious  = #b22222
+
   | growth  = ambox-growth
   | content  = #f28500
+
   | #default = ambox-notice
   | style    = #f4c430
+
}}">
   | merge    = #9932cc
+
<tr>
  | protection=#bba
+
{{#ifeq:{{{image}}}|none
   | notice  = #1e90ff
+
   | growth  = #228b22
+
   | #default = #1e90ff
+
}};
+
  background: #f8fcff;">{{
+
#ifeq:{{{image}}}|none
+
 
   | <!-- no image cell -->
 
   | <!-- no image cell -->
   | <div class="ambox-image" style="float:left;width: 52px; padding: 2px 0px 2px 0.5em;"> {{#switch:{{{image|{{{type|}}}}}}
+
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
 
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
 
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
 
     | content  = [[Image:Emblem-important.svg|40px]]
 
     | content  = [[Image:Emblem-important.svg|40px]]
Line 23: Line 17:
 
     | merge    = [[Image:Merge-split-transwiki default.svg]]
 
     | merge    = [[Image:Merge-split-transwiki default.svg]]
 
     | notice  = [[Image:Info non-talk.png|40px]]
 
     | notice  = [[Image:Info non-talk.png|40px]]
     | growth  = [[Image:Green plus icon.png]]
+
     | growth  = [[Image:N write green black.svg|40px]]
 
     | blank    = <!-- empty image cell -->
 
     | blank    = <!-- empty image cell -->
 
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
 
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
   }}</div>
+
   }}</td>
 
}}
 
}}
 +
<td>{{{text}}}</td>
 
{{#if:{{{imageright|}}}|
 
{{#if:{{{imageright|}}}|
   <div class="ambox-imageright" style="float:right;width: 52px; padding: 2px 0.5em 2px 0px;"> {{{imageright}}} </div>
+
   <td class="ambox-imageright"> {{{imageright}}} </td>
 
}}
 
}}
<div> {{{text}}} <noinclude>
+
</tr>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
</table>
</noinclude></div>
+
 
+
<div style="clear:both;"></div>
+
</div>
+

Revision as of 01:13, 1 October 2007