Template:Metanotice

From Open Fortress Wiki
Revision as of 03:14, 4 January 2025 by Kate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template Documentation [edit]

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
{{{opacity}}} Metanotice background opacity
| opacity = .3
{{{id}}} Idbox content. Most commonly used for adding icons.
| id = [[File:Warning_icon.png|32px|link=]]
{{{text}}} Text content
| text = Hello, World!
Hello, World!
Style parameters
{{{style}}} Notice styling
| style = border:1px solid currentcolor;
{{{textstyle}}} Text styling
| textstyle = font-family:monospace;
Example text
Template:Metanotice
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
N/A
Preload
N/A
Sandbox
N/A
Strings
N/A
Testcases
N/A
Other
N/A
Revision information
Latest editor
Kate
Last edited
04/01/2025
20250104031428
Revision size
657 bytes
0.657 kilobytes
0.000657 megabytes
Technical information
Page identifier
108
Contains translations
No
Uses parser functions?
No
Uses variables?
No