Template:Warning

From STEP Modding Wiki

Purpose & Usage

This template (not useful within lists) provides a simple means to present an obvious 'warning' callout. The standard version (i.e., not the 'small' version) is mainly intended for use at the top of the article but may be used anywhere within and article.

Parameters:

  • text is the text for the note.
  • border decides what border style will be used (solid or dashed; default is solid)
  • size determines the width by percentage. Accepts any integer from 0 - 100, but standard sizes are preferred using the appropriate keyword (default is max):
    • min
    • mid
    • max

Examples

Code: (simplest call returns defaults for the template [size=70 (max), solid border])

{{Warning|text=Your text here.}}

Result:

Warning-Logo.png Warning: Your text here.


Code: (switch to a dashed border)

{{Warning|border=dashed|text=Your text here.}}

Result:

Warning-Logo.png Warning: Your text here.


Code: (alter the size (%) using a defined keyword)

{{Warning|size=mid|text=Your text here.}}

Result:

Warning-Logo.png Warning: Your text here.


Code: (explicitly define a size (%) using an integer between 0 - 100)

{{Warning|size=23|text=Your text here.}}

Result:

Warning-Logo.png Warning: Your text here.

See Also