Template:Messagebox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added bg image - experimental.) |
||
Line 1: | Line 1: | ||
{{Lang}}{{Doc}} | {{Lang}}{{Doc}} | ||
<includeonly><onlyinclude><div class="plainlinks" style="display:flex; align-items:center; background-color:{{{bgcolor|#28374b}}}; {{#if:{{{bgcolorgradient|}}}|background-image: linear-gradient({{{bgcolordeg}}}, {{{bgcolorgradient}}}, {{{bgcolorgradient2}}});}} border: 1px solid {{{bdcolor2|#525252}}}; {{{borderstyle|border-left: 10px solid}}} {{{bdcolor|#537AA8}}}; font-style:{{{txtstyle|normal}}}; {{#if:{{{txtcolor|}}}|color:{{{txtcolor}}};}} padding:{{{padding|4px}}}; margin:{{{margin|6px 0}}}; {{{style|}}};"> | <includeonly><onlyinclude><div class="plainlinks" style="display:flex; align-items:center; background-color:{{{bgcolor|#28374b}}}; {{#if:{{{bgimage|}}}|background-image: url({{{bgimage}}});}} {{#if:{{{bgcolorgradient|}}}|background-image: linear-gradient({{{bgcolordeg}}}, {{{bgcolorgradient}}}, {{{bgcolorgradient2}}});}} border: 1px solid {{{bdcolor2|#525252}}}; {{{borderstyle|border-left: 10px solid}}} {{{bdcolor|#537AA8}}}; font-style:{{{txtstyle|normal}}}; {{#if:{{{txtcolor|}}}|color:{{{txtcolor}}};}} padding:{{{padding|4px}}}; margin:{{{margin|6px 0}}}; {{{style|}}};"> | ||
{{#ifeq:{{{image}}}|None||<div style="margin:0 .8em 0 .5em">{{{image|[[File:Info.png|40px|link=]]}}}</div>}} | {{#ifeq:{{{image}}}|None||<div style="margin:0 .8em 0 .5em">{{{image|[[File:Info.png|40px|link=]]}}}</div>}} | ||
<div>{{{text}}} {{#if: {{{small|}}} | <br /><small>{{{small}}}</small> }}</div> | <div>{{{text}}} {{#if: {{{small|}}} | <br /><small>{{{small}}}</small> }}</div> | ||
</div><!-- | </div><!-- | ||
-->{{#ifeq:{{FULLPAGENAME}}|Help Desk|{{note|Further discussion has moved to [[New Help Desk]]}}}}</onlyinclude></includeonly> | -->{{#ifeq:{{FULLPAGENAME}}|Help Desk|{{note|Further discussion has moved to [[New Help Desk]]}}}}</onlyinclude></includeonly> |
Latest revision as of 04:45, 26 August 2023
The above documentation is transcluded from Template:Messagebox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.