Difference between revisions of "Template:Ambox"

From Bitcoin Wiki
Jump to: navigation, search
(This code is from another Wiki, no reason to remake it.)
 
Line 14: Line 14:
 
[[Category:Maintenance templates|Ambox]]
 
[[Category:Maintenance templates|Ambox]]
 
</noinclude>
 
</noinclude>
 +
 +
{{ambox | type = notice | contents = '''Lorem ipsum''' dolor sit amet.}}

Revision as of 01:47, 27 May 2011

Documentation for Ambox

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.

40px This documentation is transcluded from Template:Ambox/doc.