Difference between revisions of "Template:Ambox"

From Unbroken Wiki
Jump to navigation Jump to search
m (Protected "Template:Ambox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
<noinclude>
== Usage ==
Type in this:
<pre>
{{ambox
|image=[[Image:Unbroken-N.png|50px]]
|type= <span style="color:#c0c0c0">Nature of Notice </span>
|border=red
|info=  <span style="color:#c0c0c0">Additional info </span>
}}
</pre>
To see this:
</noinclude>
<table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
   | red        = ambox-red
   | red        = ambox-red
   | orange      = ambox-orange
   | orange      = ambox-orange
  | brown      = ambox-brown
   | yellow      = ambox-yellow
   | yellow      = ambox-yellow
   | purple      = ambox-purple
   | purple      = ambox-purple
  | pink        = ambox-pink
   | blue        = ambox-blue
   | blue        = ambox-blue
  | deep-blue  = ambox-deep-blue
   | green      = ambox-green
   | green      = ambox-green
   | gray        = ambox-gray
   | gray        = ambox-gray
  | dark-gray  = ambox-dark-gray
  | black      = ambox-black
  | white      = ambox-white
   | #default    = ambox-red
   | #default    = ambox-red
}}">
}}">
Line 14: Line 33:
<div class="ambox-smalltext">
<div class="ambox-smalltext">
{{{info|<span style="color:#c0c0c0">Additional info</span>}}}
{{{info|<span style="color:#c0c0c0">Additional info</span>}}}
</div></td></tr></table></onlyinclude>
</div></td></tr></table>

Latest revision as of 08:38, 19 June 2022

Usage

Type in this:

{{ambox
|image=[[Image:Unbroken-N.png|50px]]
|type= <span style="color:#c0c0c0">Nature of Notice </span>
|border=red
|info=  <span style="color:#c0c0c0">Additional info </span>
}}

To see this: