Ibanez Wiki
Line 1: Line 1:
 
{| style="width:100%"
 
{| style="width:100%"
|align="center"|<div style="width:60%; text-align:left; background-color:#{{#ifeq:{{{background|}}}||E7E5E5|{{{background}}}}}">
+
|align="center"|<div style="width:60%; text-align:left; background-color:{{#ifeq:{{{background|}}}||#E7E5E5|{{{background}}}}}">
 
{| style="height:100px; padding:5px;"
 
{| style="height:100px; padding:5px;"
 
|{{#ifeq:{{{image|}}}||[[File:I icon.png|left|80px]]|[[File:{{{image}}}|left|80px]]}}
 
|{{#ifeq:{{{image|}}}||[[File:I icon.png|left|80px]]|[[File:{{{image}}}|left|80px]]}}

Revision as of 08:07, 21 April 2010

I icon.png
{{{title}}}
{{{text1}}}
{{{text2}}}

This messagebox template can be used to create standard messageboxes for templates.

This code should be used for creating a messagebox on a template page:

{{Messagebox
|title=
|text1=
|text2=
|image=
|background=
}}

The title parameter is for the actual message in short, text1 should give more information for visitors, text2 should give some editing instructions. A special image for a template messagebox can be used and created: preferably square, it will be displayed with a with of 80px. If no image is defined a standard image will be used. A special background color can be defined with the background parameter. If not defined, a standard grey (CCCCCC) will be used.

Example

{{Messagebox
|title=This page needs a haircut
|text1=Content on this is page is outdated and needs revision.
|text2=
|image=Haircut.jpg
|background=BB5544
}}

gives

Haircut.jpg
This page needs a haircut
Content on this is page is outdated and needs revision.