Difference between revisions of "Template:Ambox/doc"

From Prison Architect Wiki
Jump to navigation Jump to search
m (Variables: Editing documentation with new element...)
m (Variables: Adjusting imagelink information...)
Line 25: Line 25:
 
;imagewidth (optional) :Set the width of the image - default is 56px
 
;imagewidth (optional) :Set the width of the image - default is 56px
 
;imagealt (optional) :Set the image <alt> tag
 
;imagealt (optional) :Set the image <alt> tag
;imagelink (optional) :Set the link of the image used in the message box. Can be left blank to make an image unlinked.
+
;imagelink (optional) :Set the link of the image used in the message box. Images will not be linked by default. (Note that it does not include <code>link=</code> ... However, you '''must''' include <code>http://</code> for external links.)
 
;image2 (optional) :Right-side image to use - format:  <code>Name of image.png</code> (Note that it does not include <code>File:</code>)
 
;image2 (optional) :Right-side image to use - format:  <code>Name of image.png</code> (Note that it does not include <code>File:</code>)
 
;image2width (optional) :Set the width of the right-side image - default is 56px
 
;image2width (optional) :Set the width of the right-side image - default is 56px

Revision as of 05:17, 23 October 2013

Usage

{{Ambox|type=|content=}}

Variables

text
Contents of message box
type (optional)
delete

{{Ambox|type=delete|content=}}

serious

{{Ambox|type=serious|content=}}

content

{{Ambox|type=content|content=}}

maintenance

{{Ambox|type=maintenance|content=}}

notice (default)

{{Ambox|type=notice|content=}}

class (optional)
Additional CSS classes for message box table
style (optional)
Additional CSS style settings for message box table
image (optional)
Image to use - format: Name of image.png (Note that it does not include File:)
imagewidth (optional)
Set the width of the image - default is 56px
imagealt (optional)
Set the image <alt> tag
imagelink (optional)
Set the link of the image used in the message box. Images will not be linked by default. (Note that it does not include link= ... However, you must include http:// for external links.)
image2 (optional)
Right-side image to use - format: Name of image.png (Note that it does not include File:)
image2width (optional)
Set the width of the right-side image - default is 56px
image2alt (optional)
Set the right-side image <alt> tag