From Valve Developer Community
Jump to navigation
Jump to search
Test changes in the template's
/sandbox or
/testcases subpages, or in your own user subpage.
Consider discussing changes on the
talk page before implementing them.

Available doc translations
…
EnglishThis template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
This is a metatemplate used to aid in the creation of notice templates. It's goal is to supplant the {{messagebox}} template as a simplified, easier to use alternative.
Copy and Paste
{{Metanotice
| rgb =
| id =
| text =
}}
Usage, Parameters and Examples
Parameter
|
Description
|
Example
|
Preview
|
No parameters
|
Template will revert to the default valves specified within the parser functions.
|
|
|
{{{rgb}}}
|
Controls the metanotice background and border color
|
|
|
{{{hex}}}
|
Controls the metanotice background and border color
|
|
|
{{{opacity}}}
|
Metanotice background opacity if {{{hex}}} is used then opacity will be from 00 to fe
|
| hex = ...| opacity = 3a
|
|
{{{id}}}
|
Idbox content. Most commonly used for adding icons.
|
| id = [[File:Warning_icon.png|32px|link=]]
|
|
{{{text}}}
|
Text content
|
|
|
Style parameters
|
{{{style}}}
|
Notice styling
|
| style = border:1px solid currentcolor;
|
|
{{{textstyle}}}
|
Text styling
|
| textstyle = font-family:monospace;
|
|
Summary
Aids in the creation of article notice boxes
Creation date
30/04/2023
(30 April 2023)
Last edited
08/05/2025
20250508115007
Revision size
855 bytes
0.855 kilobytes
0.000855 megabytes
Uses parser functions?
No