Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Notice: Difference between revisions

Template page
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"><div class="evo-notice-icon">{{{icon|ℹ️}}}</div><div class="evo-notice-text">{{{1|}}}</div></div></includeonly><noinclude>
<includeonly><div class="evo-notice evo-notice-{{{type|info}}}" role="note"><div class="evo-notice-text">{{{1|}}}</div></div></includeonly><noinclude>
Generic notice banner. Used by [[Template:Stub]] and [[Template:WIP]], and can be used directly for one-off notes.
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 banner shown at the top of a page.",
"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": "Colour of the banner", "type": "string", "default": "info", "suggestedvalues": [ "info", "stub", "wip" ] },
"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" ] }
"icon": { "label": "Icon", "description": "An emoji or short symbol", "type": "string", "default": "ℹ️" }
}
}
}
}
</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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Text1

The message to show

Contentrequired
Typetype

Which icon to show: info (circle with an i), stub (plus) or wip (pencil)

Suggested values
info stub wip
Default
info
Stringoptional