Difference between revisions of "Template:Message"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with '{|style="width: 100%;margin: 15px 0 0 0;padding: 3px;border: 1px solid #ccc;background: #f4f4f4;text-align: left;vertical-align: top;" |- | {|style="background:none;border:none;m…')
 
m
 
(3 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 9: Line 9:
 
The ''message'' template, is used to format other templates. It uses the class=''message'' css tag within [[MediaWiki:Common.css]]
 
The ''message'' template, is used to format other templates. It uses the class=''message'' css tag within [[MediaWiki:Common.css]]
 
==Usage==
 
==Usage==
<nowiki>{{Message|icon=[[Image:Info.png|50px]]|text=This is a test}}</nowiki>
+
<nowiki>{{Message|icon=[[Image:Information.gif|50px]]|text=This is a test}}</nowiki>
  
 
Creates;
 
Creates;
{{Message|icon=[[Image:Info.png|50px]]|text=This is a test}}
+
{{Message|icon=[[Image:Info.png|40px]]|text=This is a test}}
[[Category:Formatting 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