Difference between revisions of "Template:Message"

From Organic Design wiki
m (remove 100% and categorize)
m
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|style="background:#eee;margin-top:10px" class="document-code"
+
{|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="padding:10px;margin:0;background:#eee;border:1px #ddd solid;"
+
{|style="width:100%;background:none;border:none;margin:0;padding:0;vertical-align:middle;"
| [[Image:Arecibo message.png]]
+
|style="width:50px"|{{{icon|}}}
| ''{{{1}}}''
+
|{{{text}}}
 
|}
 
|}
|}
+
|}<noinclude>
[[Category:Messages]]
+
The ''message'' template, is used to format other templates such as [[Template:Info]] and [[Template:Stub]].
 +
==Usage==
 +
<nowiki>{{Message|icon=[[Image:Info.svg|50px]]|text=This is a test}}</nowiki>
 +
 
 +
Creates;
 +
{{Message|icon=[[Image:Info.svg|50px]]|text=This is a test}}
 +
[[Category:Formatting templates]]</noinclude>

Latest revision as of 17:34, 4 November 2015

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