Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
a new plain consistent ambox from osm.org |
mNo edit summary |
||
Line 31: | Line 31: | ||
| protection = Ambox protection.png{{!}}Protection | | protection = Ambox protection.png{{!}}Protection | ||
| notice<!-- = default --> | | notice<!-- = default --> | ||
| #default = 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:
Hello world! |
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.
|type= danger , deletion and other serious warnings, concerns, and serious issues such as {{delete}} and {{delete proposal}} |
|type= warning , important concerns and notes, major issues such as {{cleaning}} |
|type= caution , recommended operations, moderate to fairly major issues, such as {{cleanup}} |
|type= detail , minor to fairly moderate issues such as {{OutOfDate}} |
|type= proposal , move, transwiki and copy to Wikimedia Commons proposals such as {{move}} |
|type= protection , page is protected against edits. |
|type= notice , general notices and minor issues such as {{stub}} |
|type= approval , done operations such as {{cleaned}} |