From Test-Scratch-Wiki

< Template:Header Template

Documentation This is a documentation subpage for Template:Header Template (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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