Ibanez Wiki
m (Reverted edits by Deejayk (talk | block) to last version by Brambram)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table class="messagebox" style="border-left:8px solid {{#ifeq:{{{background|}}}||#221111|{{{background}}}}}">
+
<includeonly><table class="messagebox" style="border-left:8px solid {{#if:{{{background|}}}|{{{background}}}|#221111}}">
 
<TR>
 
<TR>
 
<TD style="width:40px">{{#ifeq:{{{image|}}}||[[File:I icon.png|40px]]|[[File:{{{image}}}|40px|link={{{filelink|File:{{{image}}}}}}]]}}</TD>
 
<TD style="width:40px">{{#ifeq:{{{image|}}}||[[File:I icon.png|40px]]|[[File:{{{image}}}|40px|link={{{filelink|File:{{{image}}}}}}]]}}</TD>

Latest revision as of 15:39, 7 July 2016

{{ Info1.png }} Template documentation: Messagebox [edit] [purge]

This documentation is transcluded from Template:Messagebox/doc.


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 gray 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.