Template:Notice: Difference between revisions
Template page
More actions
Initial setup: templates, Main Page, style guide |
Redesign: Star Citizen Wiki style Main Page, infoboxes and notices; short descriptions; Create a page |
||
| Line 1: | Line 1: | ||
<includeonly><div class="evo-notice evo-notice-{{{type|info}}}" role="note" | <includeonly><div class="evo-notice evo-notice-{{{type|info}}}" role="note"><div class="evo-notice-text">{{{1|}}}</div></div></includeonly><noinclude> | ||
Generic notice | Generic notice box. Used by [[Template:Stub]] and [[Template:WIP]], and can be used directly for one-off notes. | ||
<pre>{{Notice|This page describes events that are not canon yet.}}</pre> | <pre>{{Notice|This page describes events that are not canon yet.}}</pre> | ||
{{Notice|This page describes events that are not canon yet.}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "A notice | "description": "A notice box shown at the top of a page.", | ||
"params": { | "params": { | ||
"1": { "label": "Text", "description": "The message to show", "type": "content", "required": true }, | "1": { "label": "Text", "description": "The message to show", "type": "content", "required": true }, | ||
"type": { "label": "Type", "description": " | "type": { "label": "Type", "description": "Which icon to show: info (circle with an i), stub (plus) or wip (pencil)", "type": "string", "default": "info", "suggestedvalues": [ "info", "stub", "wip" ] } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:00, 18 October 2026
Generic notice box. Used by Template:Stub and Template:WIP, and can be used directly for one-off notes.
{{Notice|This page describes events that are not canon yet.}}
This page describes events that are not canon yet.
A notice box shown at the top of a page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The message to show | Content | required |
| Type | type | Which icon to show: info (circle with an i), stub (plus) or wip (pencil)
| String | optional |