Revision as of 04:44, 20 December 2021 by Kenny2scratch (talk | contribs) (temporary fix to at least make it readable)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Wiki.png 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.

[edit] [history] [purge] Documentation Template documentation

This documentation is transcluded from Template:Header Template/doc.

Usage

This template is to standardize the templates on the Scratch Wiki. 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.

Syntax

This template has four parameters, which are all optional (default may not suit the use of the template, though):

positional parameter number 1

The file image for the template. {{Header Template|[[File:File too big.png|100px]]}} produces

File too big.png 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.

positional parameter number 2

The text on the template. {{Header Template|[[File:File too big.png|100px]]|tester}} produces

File too big.png tester

bgColor

The color of the background. {{Header Template|bgColor=blue|[[File:File too big.png|100px]]|tester}} produces

File too big.png tester

borderColor

The color of the bottom border. {{Header Template|bgColor=blue|borderColor=yellow|[[File:File too big.png|100px]]|tester}} produces

File too big.png tester
Cookies help us deliver our services. By using our services, you agree to our use of cookies.