Permanently protected template

Difference between revisions of "Template:Ambox"

From Yugipedia
Jump to: navigation, search
(Created page with '<table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}} | red = ambox-red | orange = ambox-orange | yellow = ambox-yellow | purple = ambox-...')
 
Line 1: Line 1:
<table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
+
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
   | red     = ambox-red
+
| left =
   | orange  = ambox-orange
+
  {{Ambox/core
   | yellow  = ambox-yellow
+
   | small     = left
   | purple  = ambox-purple
+
   | type      = {{{type|}}}
   | blue    = ambox-blue
+
   | image      = {{#if:{{{smallimage|}}}
   | green    = ambox-green
+
                | {{{smallimage}}}
   | gray    = ambox-gray
+
                | {{{image|}}}
   | #default = ambox-green
+
                }}
}}">
+
   | imageright = {{#if:{{{smallimageright|}}}
<tr>
+
                | {{{smallimageright}}}
<td class="ambox-image">{{{image|[[Image:No image.svg|50px]]}}}</td>
+
                | {{{imageright|}}}
<td style="padding: 0.25em 0.5em;">{{{type|}}}
+
                }}
<div class="ambox-smalltext">
+
   | style      = {{{style|}}}
{{{info|}}}
+
   | textstyle  = {{{textstyle|}}}
</div></td></tr></table><noinclude>
+
   | text      = {{#if:{{{smalltext|}}}
 +
                | {{{smalltext}}}
 +
                | {{{text}}}
 +
                }}
 +
   }}
 +
| #default =  
 +
  {{Ambox/core
 +
  | type      = {{{type|}}}
 +
  | image      = {{{image|}}}
 +
  | imageright = {{{imageright|}}}
 +
  | style     = {{{style|}}}
 +
  | textstyle  = {{{textstyle|}}}
 +
  | text      = {{{text}}}
 +
  }}
 +
}}<!--
  
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!--
 +
 
 +
--><!--{{Ambox}} end--><noinclude>
 +
 
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 19:30, 8 July 2010

Template:Ambox/core