Difference between revisions of "Template:Message"

From Organic Design wiki
m (od-code)
m
Line 7: Line 7:
 
|}
 
|}
 
|}<noinclude>
 
|}<noinclude>
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 such as [[Template:Info]] and [[Template:Stub]].
 
==Usage==
 
==Usage==
<nowiki>{{Message|icon=[[Image:Info_Icon.png|50px]]|text=This is a test}}</nowiki>
+
<nowiki>{{Message|icon=[[Image:Info.svg|50px]]|text=This is a test}}</nowiki>
  
 
Creates;
 
Creates;
{{Message|icon=[[Image:Info_Icon.png|50px]]|text=This is a test}}
+
{{Message|icon=[[Image:Info.svg|50px]]|text=This is a test}}
 
[[Category:Formatting templates]]</noinclude>
 
[[Category:Formatting templates]]</noinclude>

Revision as of 14:24, 9 July 2013

{{{text}}}

The message template, is used to format other templates such as Template:Info and Template:Stub.

Usage

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

Creates;

Info.svg This is a test