Difference between revisions of "Template:Ambox/doc"

From Prison Architect Wiki
Jump to navigation Jump to search
m (Variables: Adjusting imagelink information...)
Line 20: Line 20:
 
<code><nowiki>{{Ambox|type=notice|content=}}</nowiki></code>
 
<code><nowiki>{{Ambox|type=notice|content=}}</nowiki></code>
 
{{Ambox|type=notice}}
 
{{Ambox|type=notice}}
 +
:''warning''
 +
<code><nowiki>{{Ambox|type=warning|content=}}</nowiki></code>
 +
{{Ambox|type=warning}}
 
;class (optional) :Additional CSS classes for message box table
 
;class (optional) :Additional CSS classes for message box table
 
;style (optional) :Additional CSS style settings for message box table
 
;style (optional) :Additional CSS style settings for message box table
Line 29: Line 32:
 
;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
 
;image2alt (optional) :Set the right-side image <alt> tag
 
;image2alt (optional) :Set the right-side image <alt> tag
 +
;image3 (optional) :Middle image to use - format:  <code>Name of image.png</code> (Note that it does not include <code>File:</code>)
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 07:18, 15 March 2014

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=}}

warning

{{Ambox|type=warning|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
image3 (optional)
Middle image to use - format: Name of image.png (Note that it does not include File:)