Template:Metanotice: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
m (Added support for hex colors) |
||
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, {{#if: {{{hex|}}}|{{{hex}}}|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|}}}|none|| | {{#ifeq:{{{id|}}}{{{image|}}}|none|| | ||
<div style="user-select:none;">{{{id|{{{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]] |
Revision as of 12:30, 19 September 2023
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.