Template:Notice/doc

From Toon Wiki
Revision as of 19:26, 18 October 2021 by imported>ToonWikiBot (Imported from Avatar Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description
This template is used to make notice templates.
Dependencies
Syntax
Type {{Notice|<type=>|<info=>|<image=>|<border=>|<style=>|<bottom=>}} somewhere.
An explanation of the parameters above:
  • type= – Notice box header text (default: Header text)
  • info= – Notice box additional info (default: Explanation)
  • image=Optional Notice box symbol image (default: [[File:Wiki.png|50px]])
  • border=Optional Notice box border bar color (default    : 10px solid #000000)
    Border options
    • red –    : 10px solid #b22222
    • orange –    : 10px solid #f28500
    • yellow –    : 10px solid #f4c430
    • gold –    : 10px solid gold
    • purple –    : 10px solid #9932cc
    • navy –    : 10px solid navy
    • blue –    : 10px solid #1e90ff
    • green –    : 10px solid #228b22
    • gray –    : 10px solid #bba
  • style=Optional Notice box additional inline CSS
  • bottom=Optional Set if you want to change the margin at the bottom of the notice template (default: 1em)
Sample output
{{Notice
|border= orange
|image= [[File:Chong.png|60px|Oh, it's a real legend.]]
|type= Oh, it's a real legend. 
|info= This information is ambiguously canon and has not been confirmed to be canon. 
}}
gives...
Error creating thumbnail: Unable to save thumbnail to destination Oh, it's a real legend.
This information is ambiguously canon and has not been confirmed to be canon.
See also