Difference between revisions of "Template:Message"
From Organic Design wiki
m (od-code) |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {|class="od-code" style="width: 100%;margin: 15px 0 0 0;padding: 3px;border: 1px solid #ccc;background: #f4f4f4;text-align: left;vertical-align: top;" | + | {|class="od-code od-message" 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;margin:0;padding:0;vertical-align:middle;" | + | {|style="width:100%;background:none;border:none;margin:0;padding:0;vertical-align:middle;" |
| − | |{{{icon|}}} | + | |style="width:50px"|{{{icon|}}} |
|{{{text}}} | |{{{text}}} | ||
|} | |} | ||
|}<noinclude> | |}<noinclude> | ||
| − | The ''message'' template, is used to format other templates | + | The ''message'' template, is used to format other templates such as [[Template:Info]] and [[Template:Stub]]. |
==Usage== | ==Usage== | ||
| − | <nowiki>{{Message|icon=[[Image: | + | <nowiki>{{Message|icon=[[Image:Info.svg|50px]]|text=This is a test}}</nowiki> |
Creates; | Creates; | ||
| − | {{Message|icon=[[Image: | + | {{Message|icon=[[Image:Info.svg|50px]]|text=This is a test}} |
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> | ||
Latest revision as of 17:34, 4 November 2015
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;



