Template:Metanotice
From Valve Developer Community
Revision as of 17:27, 28 April 2023 by Mailmanmicky (talk | contribs) (Created page with "{{Doc}}{{ModernTodo|Documentation}} <includeonly><onlyinclude><div style="background: linear-gradient(90deg, rgb({{{color|207, 207, 207,.1}}}) 0%, transparent 100%); border-le...")

'This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
You can test how this page looks with it's different skins and parsers.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
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=]] |
![]() Lorem Ipsum Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
{{{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
20230428172735
20230428172735
Revision size
596 bytes
0.596 kilobytes
0.000596 megabytes
0.596 kilobytes
0.000596 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: