Template:Notify: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (A simple solution to the list problem) |
||
Line 1: | Line 1: | ||
{{ModernTodo|Fix the margin created by the list.}} | |||
{{Doc}}__NOTOC__ | {{Doc}}__NOTOC__ | ||
<includeonly><onlyinclude>{{#switch:{{{mode|}}} | <includeonly><onlyinclude>{{#switch:{{{mode|}}} | ||
| inline = <{{#if:{{{text|{{{1|}}}}}}|div|span}} style="display:{{#if:{{{text|{{{1|}}}}}}|flex|inline-flex}}; 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; font-size:12px; padding:{{#if:{{{text|{{{1|}}}}}}|6px 0 4px 12px|2px 0 0 8px}}; margin:{{#if:{{{text|{{{1|}}}}}}|.5em 0|0}}"><!-- | | inline = <{{#if:{{{text|{{{1|}}}}}}|div|span}} style="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; font-size:12px; padding:{{#if:{{{text|{{{1|}}}}}}|6px 0 4px 12px|2px 0 0 8px}}; margin:{{#if:{{{text|{{{1|}}}}}}|.5em 0|0}}"><!-- | ||
--><strong style="display:table-cell; color:rgb({{{color|240,240,240}}}); white-space:nowrap"><!-- | --><strong style="display:table-cell; color:rgb({{{color|240,240,240}}}); white-space:nowrap"><!-- | ||
Line 7: | Line 8: | ||
--></strong><!-- | --></strong><!-- | ||
--><span style="display:table-cell | --><span style="display:table-cell"> | ||
{{{text|}}}</span></{{#if:{{{text|{{{1|}}}}}}|div|span}}> | |||
| #default = <div style="background-color:rgba(159,159,159,.05); border:1px solid rgba(159,159,159,.3); border-left:4px solid #9F9F9F; border-radius:3px; padding:10px 12px; margin-bottom:6px">{{{text|{{{1|}}}}}}</div> | | #default = <div style="background-color:rgba(159,159,159,.05); border:1px solid rgba(159,159,159,.3); border-left:4px solid #9F9F9F; border-radius:3px; padding:10px 12px; margin-bottom:6px">{{{text|{{{1|}}}}}}</div> | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Revision as of 05:36, 17 April 2023
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Custom styles
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Important:
Hello, World!
Special Subpages
- /inline/doc - Documentation for inline note templates.
See also
- Category:Modern Templates
- Category:Inline note templatesThe above documentation is transcluded from Template:Notify/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.