Template:Metanotice
From Valve Developer Community
Revision as of 17:39, 28 April 2023 by Mailmanmicky (talk | contribs)

'This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
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
{{Metanotice}}
Parameter | Description | Example | Preview |
---|---|---|---|
No parameters | Template will revert to the default valves specified within the parser functions. | {{Metanotice}} |
|
{{{rgb}}} | Controls the metanotice background and border color | | rgb = 235, 185, 23 |
|
{{{hex}}} | Controls the metanotice background and border color | | hex = #22eb17 |
|
{{{opacity}}} | Metanotice background opacity if {{{hex}}} is used then opacity will be from 00 to fe |
| opacity = .3 | hex = ...| opacity = 3a |
|
{{{id}}} | Idbox content. Most commonly used for adding icons. | | id = [[File:Warning_icon.png|32px|link=]] |
![]() ' |
{{{text}}} | Text content | | text = Hello, World! |
|
Style parameters | |||
{{{style}}} | Notice styling | | style = border:1px solid currentcolor; |
|
{{{textstyle}}} | Text styling | | textstyle = font-family:monospace; |
Template:Metanotice
Summary
Aids in the creation of article notice boxes
Type
Metatemplate
Contributors
Creation date
30/04/2023
(30 April 2023)
(30 April 2023)
Notes
N/A
Subpages
Documentation
Preload
N/A
Sandbox
Strings
N/A
Testcases
N/A
Other
N/A
Revision information
Latest editor
Mailmanmicky
Last edited
28/04/2023
20230428173955
20230428173955
Revision size
580 bytes
0.58 kilobytes
0.00058 megabytes
0.58 kilobytes
0.00058 megabytes
Technical information
Page identifier
52638
Contains translations
No
Uses parser functions?
No
Uses variables?
No
The above documentation is transcluded from Template:Metanotice/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Hidden category: