Template:Metanotice/doc

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
Edit-copy.png
This is a documentation subpage for Template:Metanotice.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

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}}
Icon-help.png
{{{rgb}}} Controls the metanotice background and border color
| rgb = 235, 185, 23
Icon-help.png
{{{opacity}}} Metanotice background opacity
| opacity = .3
Icon-help.png
{{{id}}} Idbox content. Most commonly used for adding icons.
| id = [[File:Warning_icon.png|32px|link=]]
Warning icon.png
{{{text}}} Text content
| text = Hello, World!
Icon-help.png
Hello, World!
Style parameters
{{{style}}} Notice styling
| style = border:1px solid currentcolor;
Icon-help.png
{{{textstyle}}} Text styling
| textstyle = font-family:monospace;
Icon-help.png
Example text
Template:Metanotice
Logo-template.png
Summary
Aids in the creation of article notice boxes
Type
Metatemplate
Contributors
Creation date
30/04/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
01/07/2023
20230701065704
Revision size
2376 bytes
2.376 kilobytes
0.002376 megabytes
Technical information
Page identifier
53258
Contains translations
No
Uses parser functions?
No
Uses variables?
No