Template:Header Template

Revision as of 02:48, 30 June 2021 by Deadfire (talk | contribs) (Creation (as this is needed))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
50px This is a "meta-template" used to standardize other templates. The first argument is usually an image, the second is the text. The bgColor param allows a background color to be set, and borderColor, a border color.


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=Puzzle icon orange.svg|message='''tester'''}}

Generates:

50px This is a "meta-template" used to standardize other templates. The first argument is usually an image, the second is the text. The bgColor param allows a background color to be set, and borderColor, a border color.


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.