Difference between revisions of "Template:Message"

From X-Cart 4 Classic
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|style="width: 100%;margin: 15px 0 0 0;padding: 3px;border: 1px solid #ccc;background: #f4f4f4;text-align: left;vertical-align: top;"
+
{|style="width: 100%;margin: 5px 0 0 0;padding: 3px;border: 1px solid #ccc;background: #f4f4f4;text-align: left;vertical-align: top;"
 
|-
 
|-
 
|
 
|
 
{|style="background:none;border:none;margin:0;padding:0;vertical-align:middle;"
 
{|style="background:none;border:none;margin:0;padding:0;vertical-align:middle;"
|{{{icon|}}}
+
|{{{icon|[[Image:Info.png|40px]]}}}
 
|{{{text}}}
 
|{{{text}}}
 
|}
 
|}
Line 12: Line 12:
  
 
Creates;
 
Creates;
{{Message|icon=[[Image:Information.gif|50px]]|text=This is a test}}
+
{{Message|icon=[[Image:Info.png|40px]]|text=This is a test}}
 
[[Category:Info templates]]</noinclude>
 
[[Category:Info templates]]</noinclude>

Latest revision as of 15:54, 5 June 2012

Info.png {{{text}}}

The message template, is used to format other templates. It uses the class=message css tag within MediaWiki:Common.css

Usage

{{Message|icon=[[Image:Information.gif|50px]]|text=This is a test}}

Creates;

Info.png This is a test