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…')
 
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:Information.gif|50px]]|text=This is a test}}
[[Category:Formatting templates]]</noinclude>
+
[[Category:Info templates]]</noinclude>

Revision as of 16:05, 6 October 2010

{{{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;

Information.gif This is a test