Template:Banner: Difference between revisions
SimpleArrows (talk | contribs) mNo edit summary |
SimpleArrows (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
|{{#if: {{Banner/data|{{{1|}}}|data=title}} |<b>{{Banner/data|{{{1|}}}|data=title}}</b><br>|}}{{#if: {{Banner/data|{{{1|}}}|data=description}} |{{Banner/data|{{{1|}}}|data=description}}|}} | |{{#if: {{Banner/data|{{{1|}}}|data=title}} |<b>{{Banner/data|{{{1|}}}|data=title}}</b><br>|}}{{#if: {{Banner/data|{{{1|}}}|data=description}} |{{Banner/data|{{{1|}}}|data=description}}|}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Banner}} | : To view, add and edit banner presets, see [[Template:Banner/data]]. | ||
{{Banner| | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Preset", | |||
"description": "The preset the banner will use. This parameter grabs the presets from the Template:Banner/data page.", | |||
"example": "Under construction", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Place at the top of pages (above infoboxes, if any) to show necessary warnings or info for the reader.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
<pre>{{Banner|PRESET_NAME}}</pre> | |||
'''Usage:''' | |||
<pre>{{Banner|Under construction}}</pre> | |||
'''Output:''' | |||
{{Banner|Under construction}} | |||
</noinclude> | </noinclude> |
Revision as of 10:08, 28 January 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 |
{{Banner|PRESET_NAME}}
Usage:
{{Banner|Under construction}}
Output:
This page is under construction. The information on this page may not yet be complete. |