Difference between revisions of "Template:Box"
Jump to navigation
Jump to search
m (Added vertical margin) |
m (Use bold text for emphasis) |
||
Line 3: | Line 3: | ||
More specific box templates include: |
More specific box templates include: |
||
− | * [[Template:TipBox]], for displaying tips and miscellaneous information; |
+ | * [[Template:TipBox]], for displaying '''notices''', '''tips''' and '''miscellaneous information'''; |
− | * [[Template:WarningBox]], for displaying warnings and important notes; |
+ | * [[Template:WarningBox]], for displaying '''warnings''' and '''important notes'''; |
− | * [[Template:SafeBox]], for displaying validating information (e.g. see [[Template:Applicable to TDE]]). |
+ | * [[Template:SafeBox]], for displaying '''validating information''' (e.g. see [[Template:Applicable to TDE]]). |
Revision as of 14:21, 22 January 2022
Template:Box is a general-purpose template meant to display Wikipedia-style boxes with information such as warnings about the content of a page.
More specific box templates include:
- Template:TipBox, for displaying notices, tips and miscellaneous information;
- Template:WarningBox, for displaying warnings and important notes;
- Template:SafeBox, for displaying validating information (e.g. see Template:Applicable to TDE).
Usage
To use this template, use {{Box|caption=...|text=...|icon=...|background=...|highlight=...}}
on the target page.
caption
(optional) is the box caption;text
(required) is the box contents;icon
(optional) is the icon displayed by the text (default: File:Gear.png);background
(optional) is the background color (default: gainsboro);highlight
(optional) is the highlight color (default: gray).
Using this template on a page results in a box being placed.
Examples