Difference between revisions of "Template:Imbox/doc"
From WikiTemp, the GBAtemp wiki
(Docu) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Docpage}}</noinclude><!-- Add Documentation below this line --> | <noinclude>{{Docpage}}</noinclude><!-- Add Documentation below this line --> | ||
This is the basic Template for Image Message Boxes. Normally, this template isn't used directly on a page, but is implemented by other Templates instead. | This is the basic Template for Image Message Boxes. Normally, this template isn't used directly on a page, but is implemented by other Templates instead. | ||
+ | <br/>You should only use this template on Image pages. Use [[Template:Mbox]] (or the correct *mbox) on other pages. | ||
It is recommended to base your Templates on [[Template:Mbox]] instead of this template. | It is recommended to base your Templates on [[Template:Mbox]] instead of this template. | ||
==Parameters== | ==Parameters== | ||
− | * color = The color of the | + | * color = The color of the border, default = dodgerBlue. |
* background = Background color of the box, default = #F8EABA. | * background = Background color of the box, default = #F8EABA. | ||
* width = The width of the box, default = 80% | * width = The width of the box, default = 80% |
Latest revision as of 13:57, 4 January 2011
This is the documentation page of Template:Imbox. Please add the documentation for this Template below. |
This is the basic Template for Image Message Boxes. Normally, this template isn't used directly on a page, but is implemented by other Templates instead.
You should only use this template on Image pages. Use Template:Mbox (or the correct *mbox) on other pages.
It is recommended to base your Templates on Template:Mbox instead of this template.
Parameters
- color = The color of the border, default = dodgerBlue.
- background = Background color of the box, default = #F8EABA.
- width = The width of the box, default = 80%
- image = The image to use (can be entered with or without preceding Image:), default = Image:Ambox_notice.png.
- imagewidth = To change the width of the Image.
- text = The text to appear in the box.
Example Usage
{{Imbox |color = red |background = #EEE |image = Image:Warning.png |imagewidth = 40px |text = WARNING: This is just an example! }}
This produces:
WARNING: This is just an example! |