Template:Ambox/doc: Difference between revisions
Appearance
Content deleted Content added
m Changed default from green to red |
m Border information updated |
||
| Line 2: | Line 2: | ||
This template is used to create article management templates. '''Note: This template requires sitewide CSS!''' |
This template is used to create article management templates. '''Note: This template requires sitewide CSS!''' |
||
Use <code>{{t| |
Use <code>{{t|Ambox|...}}</code> on a template page, filling in the various options. The created template is then used at the top of various wiki pages to notify the user of issues. |
||
Article management boxes should be used sparingly, as it can get in the way of content. |
Article management boxes should be used sparingly, as it can get in the way of content. |
||
| Line 22: | Line 22: | ||
==Named parameters== |
==Named parameters== |
||
; |image=: image for use on the left. The image box area has a limit of 60px width. |
; |image=: image for use on the left. The image box area has a limit of 60px width. |
||
; |type=: top line text |
; |type=: top line text or header |
||
; |info=: list of extra info |
; |info=: list of extra info |
||
; |border=: border colour (defaults to red) |
; |border=: border colour (defaults to red) |
||
:; red : ambox-red (serious |
:; red : ambox-red (serious) |
||
:; orange : ambox-orange ( |
:; orange : ambox-orange (content) |
||
:; yellow : ambox-yellow ( |
:; yellow : ambox-yellow (style/structure) |
||
:; green : ambox-green ( |
:; green : ambox-green (positive note) |
||
:; purple : ambox-purple |
:; purple : ambox-purple (merge) |
||
:; blue : ambox-blue |
:; blue : ambox-blue (notice) |
||
:; gray : ambox-gray |
:; gray : ambox-gray (protection) |
||
; |style=: extra style parameters ''(unlikely to be used)'' |
; |style=: extra style parameters ''(unlikely to be used)'' |
||
Revision as of 00:22, 8 June 2015
Description and usage
This template is used to create article management templates. Note: This template requires sitewide CSS!
Use {{Ambox|<...>}} on a template page, filling in the various options. The created template is then used at the top of various wiki pages to notify the user of issues.
Article management boxes should be used sparingly, as it can get in the way of content.
Named parameters
- |image=
- image for use on the left. The image box area has a limit of 60px width.
- |type=
- top line text or header
- |info=
- list of extra info
- |border=
- border colour (defaults to red)
- red
- ambox-red (serious)
- orange
- ambox-orange (content)
- yellow
- ambox-yellow (style/structure)
- green
- ambox-green (positive note)
- purple
- ambox-purple (merge)
- blue
- ambox-blue (notice)
- gray
- ambox-gray (protection)
- |style=
- extra style parameters (unlikely to be used)
Examples
Default
{{ambox
| type = I am type
| info = I am info
}}
I am type I am info |
Red + image
{{ambox
| image = [[Image:Example.jpg|50px]]
| border = red
| type = I am type
| info =
* I am info
}}
I am type * I am info |
Other colors
Yellow
I am type * I am info |
Green
I am type * I am info |
Purple
I am type * I am info |
Blue
I am type * I am info |
Orange
I am type * I am info |
Gray
I am type * I am info |
See also
- Template:Ambox on WoWWiki
- Template:Ambox on Wikipedia</includeonly>