Ibanez Wiki
(Created page with '{| style="width:100%" |align="center"|<div style="width:60%; text-align:left; background-color:#{{{background|CCCCCC}}}"> {| style="height:100px; padding:5px;" |{{#ifeq:{{{image|…')
 
m (Reverted edits by Deejayk (talk | block) to last version by Brambram)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
<includeonly><table class="messagebox" style="border-left:8px solid {{#if:{{{background|}}}|{{{background}}}|#221111}}">
{| style="width:100%"
 
  +
<TR>
|align="center"|<div style="width:60%; text-align:left; background-color:#{{{background|CCCCCC}}}">
 
  +
<TD style="width:40px">{{#ifeq:{{{image|}}}||[[File:I icon.png|40px]]|[[File:{{{image}}}|40px|link={{{filelink|File:{{{image}}}}}}]]}}</TD>
{| style="height:100px; padding:5px;"
 
  +
<TD>{{#if:{{{title|}}}|'''{{{title}}}'''<br>}}{{{text1}}} {{#if:{{{text2|}}}|''{{{text2}}}''}}</TD>
|{{#ifeq:{{{image|}}}||[[File:Haircut.jpg|left|80px]]|[[File:{{{image}}}|left|80px]]}}
 
 
</TR>
|<font size="4"><b>{{{title}}}</b></font><br>{{{text1}}}<br><font size="1">{{{text2}}}</font>
 
  +
</table>
|}
 
  +
[[Category:Pages with a Messagebox]]</includeonly><noinclude>
</div>
 
  +
{{documentation}}
|}
 
  +
[[Category:Templates]]
{{clear}}
 
  +
</noinclude>

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.