Difference between revisions of "Template:Message"
(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: | + | {|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: | + | <nowiki>{{Message|icon=[[Image:Information.gif|50px]]|text=This is a test}}</nowiki> |
Creates; | Creates; | ||
− | {{Message|icon=[[Image:Info.png| | + | {{Message|icon=[[Image:Info.png|40px]]|text=This is a test}} |
− | [[Category: | + | [[Category:Info templates]]</noinclude> |
Latest revision as of 15:54, 5 June 2012
|
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;
|