Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
This code is from another Wiki, no reason to remake it. |
No edit summary |
||
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
{{{contents}}} |
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:
{{{contents}}} |
Template loop detected: Template:Ambox
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.
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
{{{contents}}} |
Template loop detected: Template:Ambox
- File:Template info.png This documentation is transcluded from Template:Ambox/doc.
Lorem ipsum dolor sit amet. |
Template loop detected: Template:Ambox