Template:Msgbox: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(new template for messageboxes)
 
m (crossbrowser templates)
 
Line 1: Line 1:
<div style="width: {{{width|50%}}}; padding: 32px 16px 16px 16px; margin: 0 auto; box-sizing: border-box; background: linear-gradient(to bottom, hsla({{{color|204,100%,90%}}},0) 0%,hsla({{{color|204,100%,90%}}},1) 35%,hsla({{{color|204,100%,90%}}},1) 100%); border-radius: 0px 0px 16px 16px;">{{#if:{{{icon|}}}|{{Icon
<div style="width: {{{width|50%}}}; padding: 32px 16px 16px 16px; margin: 0 auto; {{box-sizing}} {{bg linearfade|color={{{color|204,100%,90%}}}}} border-radius: 0px 0px 16px 16px;">{{#if:{{{icon|}}}|{{Icon
|dim=50px
|dim=50px
|radius=16px
|radius=16px

Latest revision as of 08:43, 25 August 2013

Message box

This is a message box.

Skeleton template for all messagebox templates.

Usage

Simple notification messagebox

{{Msgbox
|title=Hello world!
|body=I am a messagebox}}

Simple iconified messagebox

{{Msgbox
|icon=!
|title=Hello world!
|body=I am a messagebox}}

Advanced usage

{{Msgbox
|width=
|color=
|iconcolor=
|imagearea=
|icon=
|title=
|body=}}