提供: Valve Developer Community
ナビゲーションに移動
検索に移動
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.
Template Documentation [
閲覧] [
編集] [
作成 
]

Available doc translations
…
日本語The
Template:Metanotice/doc/ja documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
This 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