Template:Metanotice: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Doc}}<includeonly><onlyinclude><div style="align-items:center; display:flex; box-sizing: border-box; gap:1em; font-size: 12px; background: linear-gradient(90deg, rgb({{{rgb|207, 207, 207}}},{{{opacity|.1}}}) 0%, transparent 100%); border-left: 2px solid rgb({{{rgb|207, 207, 207}}}); padding-left: 1em; padding-block:.2em; margin-block:6px; {{{style|}}}"> {{#ifeq:{{{id|}}}{{{image|}}}|none|| <div style="user-select:none;">{{{id|{{{image|{{{3|32px}}...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Doc}}<includeonly><onlyinclude><div style="align-items:center; display:flex; box-sizing: border-box; gap:1em; font-size: 12px; background: linear-gradient(90deg, rgb({{{rgb|207, 207, 207}}},{{{opacity|.1}}}) 0%, transparent 100%); border-left: 2px solid rgb({{{rgb|207, 207, 207}}}); padding-left: 1em; padding-block:.2em; margin-block:6px; {{{style|}}}"> | {{Doc}} | ||
<includeonly><onlyinclude><div style="align-items:center; display:flex; box-sizing: border-box; gap:1em; font-size: 12px; background: linear-gradient(90deg, rgb({{{rgb|207, 207, 207}}},{{{opacity|.1}}}) 0%, transparent 100%); border-left: 2px solid rgb({{{rgb|207, 207, 207}}}); padding-left: 1em; padding-block:.2em; margin-block:6px; {{{style|}}}"> | |||
{{#ifeq:{{{id|}}}{{{image|}}}|none|| | {{#ifeq:{{{id|}}}{{{image|}}}|none|| | ||
<div style="user-select:none;">{{{id|{{{image|{{{3|[[File:Icon-help.png|32px]]}}}}}}}}}</div>}} | <div style="user-select:none;">{{{id|{{{image|{{{3|[[File:Icon-help.png|32px]]}}}}}}}}}</div>}} | ||
<div style="flex:1; {{{textstyle}}}">{{{text|}}}</div></div></onlyinclude></includeonly>[[Category:Templates]][[Category:Notice templates]][[Category:Metatemplates]] | <div style="flex:1; {{{textstyle}}}">{{{text|}}}</div></div></onlyinclude></includeonly>[[Category:Templates]][[Category:Notice templates]][[Category:Metatemplates]] |
Latest revision as of 03:14, 4 January 2025
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
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 | ||
{{{opacity}}}
|
Metanotice background opacity | ||
{{{id}}}
|
Idbox content. Most commonly used for adding icons. | ||
{{{text}}}
|
Text content | Hello, World! | |
Style parameters | |||
{{{style}}}
|
Notice styling | ||
{{{textstyle}}}
|
Text styling | Example text |
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
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
20250104031428
Revision size
657 bytes
0.657 kilobytes
0.000657 megabytes
0.657 kilobytes
0.000657 megabytes
Technical information
Page identifier
108
Contains translations
No
Uses parser functions?
No
Uses variables?
No