Template:Notify: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (Adjust size of type to work properly with previous edit) |
SirYodaJedi (talk | contribs) m (Undo revision 316209 by SirYodaJedi (talk) looks good without the big tags) Tag: Undo |
||
Line 3: | Line 3: | ||
| inline = <{{#if:{{{text|{{{1|}}}}}}|div|span}} style="margin:{{#if:{{{text|{{{1|}}}}}}|.5em 0|0}}; margin-{{Dir|ltr=left|rtl=right}}:calc(2em * {{{offset|0}}}); display:{{#if:{{{text|{{{1|}}}}}}|flex|inline-flex}}; {{#if:{{{text|{{{1|}}}}}}|gap:4px;|}} background:linear-gradient(90deg, rgba({{{color|240,240,240}}},.07) 0%, transparent 100%); border-left:2px solid rgb({{{color|240,240,240}}}); border-radius:2px; padding:{{#if:{{{text|{{{1|}}}}}}|6px 0 4px 12px|2px 0 0 8px}}; {{{root_inline_style|}}}"><!-- | | inline = <{{#if:{{{text|{{{1|}}}}}}|div|span}} style="margin:{{#if:{{{text|{{{1|}}}}}}|.5em 0|0}}; margin-{{Dir|ltr=left|rtl=right}}:calc(2em * {{{offset|0}}}); display:{{#if:{{{text|{{{1|}}}}}}|flex|inline-flex}}; {{#if:{{{text|{{{1|}}}}}}|gap:4px;|}} background:linear-gradient(90deg, rgba({{{color|240,240,240}}},.07) 0%, transparent 100%); border-left:2px solid rgb({{{color|240,240,240}}}); border-radius:2px; padding:{{#if:{{{text|{{{1|}}}}}}|6px 0 4px 12px|2px 0 0 8px}}; {{{root_inline_style|}}}"><!-- | ||
-->{{#if:{{{img|}}}{{{type|}}}|<strong style="{{{inline_style|}}}display:table-cell; color:rgb({{{color|240,240,240}}}); white-space:nowrap" | -->{{#if:{{{img|}}}{{{type|}}}|<strong style="{{{inline_style|}}}display:table-cell; color:rgb({{{color|240,240,240}}}); white-space:nowrap"><!-- | ||
-->{{#if:{{{img|}}}|<span style="{{{span1_inline_style|}}}user-select:none; margin-right:4px">[[File:{{{img|}}}|{{#if:{{{size|}}}|{{{size}}}{{!}}|}}link=]]</span>|}}{{{type|}}}: | -->{{#if:{{{img|}}}|<span style="{{{span1_inline_style|}}}user-select:none; margin-right:4px">[[File:{{{img|}}}|{{#if:{{{size|}}}|{{{size}}}{{!}}|}}link=]]</span>|}}{{{type|}}}:<!-- | ||
--></strong>|}}<!-- | --></strong>|}}<!-- | ||
Revision as of 13:10, 14 June 2023
The above documentation is transcluded from Template:Notify/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.