User:Evertiro/Shields
From Step Mods | Change The Game
Purpose & Usage[edit | edit source]
This template provides a simple means to render custom scalable tags for use when applicable.
Parameters:[edit | edit source]
- label is the text for the (optional) label.
- message is the text for the (required) message.
- color determines the color used for the message background. The following built-in colors are available, custom colors can be defined by entering a hex color code:
- brightgreen
- green
- yellowgreen
- yellow
- orange
- red
- blue
- lightgrey
- blueviolet
- success
- important
- critical
- informational
- inactive
Examples[edit | edit source]
Code: (simplest call returns defaults for the template [size=80 (max), solid border])
{{Notice Small|text=Your text here.}}
Result: <img src="https://img.shields.io/badge/Test-Test 2-blue.svg" style="vertical-align: middle" />