Template:Ambox/doc: Difference between revisions

Content deleted Content added
mNo edit summary
m Updated desc with small
 
(2 intermediate revisions by the same user not shown)
Line 2:
This template is used to create article management templates. '''Note: This template requires sitewide CSS!'''
 
Use <code>{{t|amboxAmbox|...}}</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.
Line 21:
 
==Named parameters==
; |small=: if the ambox should be small or not.
; |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 greenred)
:; red : ambox-red (serious issue)
:; orange : ambox-orange (important issuecontent)
:; yellow : ambox-yellow (mild issuestyle/structure)
:; green : ambox-green (somethingpositive goodnote)
:; purple : ambox-purple (merge)
:; blue : ambox-blue (notice)
:; gray : ambox-gray (protection)
; |style=: extra style parameters ''(unlikely to be used)''
 
Line 49 ⟶ 50:
}}
 
=== Small ===
<pre>
{{ambox
| type = I am type
| info = I am info
| small = True
}}
</pre>
 
{{ambox
| type = I am type
| info = I am info
| small = true
}}
 
=== Small + image ===
<pre>
{{ambox
| image = [[Image:Example.jpg|50px]]
| type = I am type
| info = I am info
| small = True
}}
</pre>
 
{{ambox
| image = [[Image:Example.jpg|50px]]
| type = I am type
| info = I am info
| small = true
}}
=== Red + image ===
<pre>