Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Header Template/doc: Difference between revisions

Template page
m Updating
 
m 1 revision imported
(No difference)

Revision as of 09:37, 10 March 2024

[[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=Puzzle icon orange.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.