Template:Metanotice/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
{{infobox template
| summary      = Transcludes a documentation subpage
| type        = Wrapper template
| creationdate = 22/08/2022<br><small>(22 August 2022)</small>
| doc          = [[Template:metanotice/doc|/doc]]
| sandbox      = [[Template:metanotice/sandbox|/sandbox]]
| translation  = No
| parser      = No
| var          = No
}}
This is a metatemplate used to aid in the creation of notice templates. It's goal is to supplant the {{tl|link=messagebox}} template as a simplified, easier to use alternative.
This is a metatemplate used to aid in the creation of notice templates. It's goal is to supplant the {{tl|link=messagebox}} template as a simplified, easier to use alternative.


Line 11: Line 23:
== Usage, Parameters and Examples ==
== Usage, Parameters and Examples ==
{{CodeBlock|<nowiki>{{Metanotice}}</nowiki>}}
{{CodeBlock|<nowiki>{{Metanotice}}</nowiki>}}
{|class="standard-table" | style="width:100%; text-align:center;"
{|class="standard-table" | style="width:auto; text-align:center;"
|-
|-
! style="width:15%" | {{Dictionary/common|Param}}
! style="width:15%" | {{Dictionary/common|Param}}

Revision as of 00:42, 1 June 2023

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.
Template:Metanotice
Logo-template.png
Summary
Transcludes a documentation subpage
Type
Wrapper template
Contributors
N/A
Creation date
22/08/2022
(22 August 2022)
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/06/2023
20230601004256
Revision size
1834 bytes
1.834 kilobytes
0.001834 megabytes
Technical information
Page identifier
53258
Contains translations
No
Uses parser functions?
No
Uses variables?
No

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!