Template:Metanotice: Difference between revisions
Jump to navigation
Jump to search

Consider discussing changes on the talk page before implementing them.
(This should fix the broken template on a lists) |
(template readability) |
||
Line 1: | Line 1: | ||
{{High-use}} | {{High-use}} | ||
{{Doc}}<includeonly><onlyinclude><div style="align-items:center; display:flex; box-sizing: border-box; gap:1em; font-size: 12px; background: linear-gradient(90deg, {{#if:{{{hex|}}}|{{{hex}}}{{{opacity|1a}}}|rgb({{{rgb|207, 207, 207}}},{{{opacity|.1}}})}} 0%, transparent 100%); border-left: 2px solid {{#if:{{{hex|}}}|{{{hex}}}|rgb({{{rgb|207, 207, 207}}})}}; padding-left: 1em; padding-block:.2em; margin-block:6px; {{{style|}}}"><!-- | {{Doc}} | ||
-->{{#ifeq:{{{id|}}}{{{image|}}}|none|| | <includeonly> | ||
<onlyinclude><div style="align-items:center; display:flex; box-sizing: border-box; gap:1em; font-size: 12px; background: linear-gradient(90deg, {{#if:{{{hex|}}}|{{{hex}}}{{{opacity|1a}}}|rgb({{{rgb|207, 207, 207}}},{{{opacity|.1}}})}} 0%, transparent 100%); border-left: 2px solid {{#if:{{{hex|}}}|{{{hex}}}|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|[[File:Icon-help.png|32px]]}}}}}}}}}</div> | |||
}}<div style="flex:1; {{{textstyle|}}}">{{{text|}}}</div> | |||
</div></onlyinclude> | |||
</includeonly> | |||
[[Category:Templates]] | |||
[[Category:Notice templates]] | |||
[[Category:Metatemplates]] |
Revision as of 16:01, 30 March 2025

This template is used on many pages and changes may be widely noticed.
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.
The above documentation is transcluded from Template:Metanotice/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.