Template:Ambox: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Bytecoyn (talk | contribs)
a new plain consistent ambox from osm.org
Taras (talk | contribs)
mNo edit summary
Line 31: Line 31:
     | protection = Ambox protection.png{{!}}Protection
     | protection = Ambox protection.png{{!}}Protection
     | notice<!-- = default -->
     | notice<!-- = default -->
     | #default  = Information icon4.svg{{!}}Information
     | #default  = Information.png{{!}}Information
     }}|{{#switch:{{{small|}}}  
     }}|{{#switch:{{{small|}}}  
     | left    = 20x20px
     | left    = 20x20px

Revision as of 20:09, 14 August 2014

This template is used in many pages.

History

This template is a derived work. It is, however, NOT exactly the same as Wikipedia's template of the same name! All CSS has been integrated into the template, and therefore some features are not available. However it is still a very useful template!

Usage Instructions

Example to display a notice:

 {{Ambox
 | type  = notice
 | text  = Hello world!
 }}

The code above should return:

There are lots more examples of ambox use on the Wiki labels page.

Amboxes are divided into various types. Each type should have a corresponding colour code. The colour-coding helps to inform of the severity of the issues at a glance, so you can use the following parameters to change the color of your ambox.