Difference between revisions of "Template:Message"

From X-Cart 4 Classic
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|
 
|
 
{|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