Template:Header Template/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Header Template. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
Purpose
This template is an attempt to reinvent the "message box template" and to standardize the information contained. This is to prevent templates that look different from one another. One can use this template to make new templates, or use it as a guide to how the new template should look.
Usage
This template has four optional parameters, though each should probably be used:
This code:
{{Header Template|bgColor=cadetblue|image=OOjs UI icon puzzle-ltr-warning.svg|message='''tester'''}}
Generates:
Explanation
The fields, in order, are:
:* The color of the background, :* The color of the bottom border, :* The file image for the template, :* The text on the template.
The template uses only color keywords to know what color to use. You can find them on this website.