FANDOM


Description
This template is used to easily produce message boxes to be used in articles.
Syntax
Type {{ambox|<text>}} at the start of a page or section. Additional parameters can be used, but are optional.
Parameters
  • type= The general box adopted. The default box will display with the default variables unless notice or section are entered.
  • bgcolor= Background color of the message box. Defaults to    : #aac6ec and    : #EEE.
  • border= Border color. Defaults to    : #0148c2 and    : #228b22.
    Recommended border colors
    • red -    : #b22222
    • orange -    : #f28500
    • yellow -    : #f4c430
    • purple -    : #9932cc
    • blue -    : #1e90ff
    • green -    : #228b22
    • gray -    : #bba
  • style= To add additional customization. Be sure to divide each value with a ; colon.
  • icon= The icon or image to be used.
    • Use [[File: {{{filename}}} | {{{size}}} ]] for images, where size is:
      • 65px for default
      • 40px for notice
      • 20px for section
  • text= Enter desired text, customizable.
  • cat= Category name to be inserted inside <includeonly>[[Category: ]]</includeonly>.
Usage
To use the default message box, type:
{{Ambox
|text = Lorem ipsum dolor sit amet, consectetur adipiscing elit
|icon = [[File:Example.jpg|65px|link=]]
}}
The result...
Example
Lorem ipsum dolor sit amet, consectetur adipiscing elit
To use the notice message box, type:
{{Ambox
|type = notice
|icon = [[File:Example.jpg|40px|link=]]
|text = Lorem ipsum dolor sit amet, consectetur adipiscing elit
}}
The result...
Example
Lorem ipsum dolor sit amet, consectetur adipiscing elit
To use the section message box, type:
{{Ambox
|type = section
|icon = [[File:Example.jpg|20px|link=]]
|text = Lorem ipsum dolor sit amet
}}
The result...
Example
Lorem ipsum dolor sit amet
Credits
This template was based on w:c:5hanayome:Template:Ambox. It has been heavily modified for use on Tensei Shitara Slime datta ken Wiki.
Community content is available under CC-BY-SA unless otherwise noted.