Template:Banner/doc

From Predecessor Wiki
Jump to navigation Jump to search
To view, add and edit banner presets, see Template:Banner/data.

Place at the top of pages (above infoboxes, if any) to show necessary warnings or info for the reader.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Preset1

The preset the banner will use. This parameter grabs the presets from the Template:Banner/data page.

Example
Lua
Stringrequired
Text Overridetext

Overrides the banner's text with the new text.

Stringoptional
Title Overridetitle

Overrides the banner's title with the new text.

Stringoptional
Width Overridewidth

Overrides the banner's width.

Example
400px
Stringoptional
Height Overrideheight

Overrides the banner's height.

Example
300px
Stringoptional
CSScss

An additional parameter to add any CSS to customise the individual banner.

Example
font-size: 12px;
Stringoptional

Syntax

{{Banner|preset}}

Examples

{{Banner|Lua}}

Template:Banner