Template:Banner: Difference between revisions
SimpleArrows (talk | contribs) mNo edit summary |
SimpleArrows (talk | contribs) mNo edit summary |
||
Line 49: | Line 49: | ||
"height_override": { | "height_override": { | ||
"label": "Height Override", | "label": "Height Override", | ||
"description": " | "description": "Overrides the banner's height.", | ||
"example": "300px", | "example": "300px", | ||
"type": "string" | "type": "string" |
Revision as of 23:19, 6 March 2024
- 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Preset | 1 | The preset the banner will use. This parameter grabs the presets from the Template:Banner/data page.
| String | required |
Caption Override | caption_override | Overrides the text beneath the banner's title with the new text. | String | optional |
Title Override | title_override | Overrides the banner's title with the new text. | String | optional |
Width Override | width_override | Overrides the banner's width.
| String | optional |
Height Override | height_override | Overrides the banner's height.
| String | optional |
CSS | css | An additional parameter to add any CSS to customise the individual banner.
| String | optional |
{{Banner|PRESET_NAME}}
Usage:
{{Banner|Under construction}}
Output:
This page is under construction. The information on this page may not yet be complete. |