Difference between revisions of "Template:Info"

From Organic Design wiki
m (New page: {|style="background:#eee;margin-top:10px;width:100%" | {|style="padding:10px;margin:0;background:#eee;border:1px #ddd solid;" | valign="top" width="100%"|{{{1}}} |} |})
 
(noinclude templateinfp)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|style="background:#eee;margin-top:10px;width:100%"
+
{{message|icon=[[Image:Info.svg|50px]]|text={{{1}}}}}
|
+
<noinclude>
{|style="padding:10px;margin:0;background:#eee;border:1px #ddd solid;"
+
The ''info'' template, is used to for adding useful information describing the purpose of an article. It should only be used at the top of an article, but under some circumstances may be used within sections.
| valign="top" width="100%"|{{{1}}}
+
== Usage ==
|}
+
<nowiki>{{info|This is a test}}</nowiki>
|}
+
 
 +
Creates;
 +
{{info|This is a test}}
 +
[[Category:Formatting templates]]
 +
<templatedata>
 +
{
 +
"description": "The ''info'' template, is used to for adding useful information describing the purpose of an article.",
 +
"params": {
 +
"text": {
 +
"label": "Message",
 +
"type": "content",
 +
"required": true,
 +
"description": "The message",
 +
"aliases": ["1"]
 +
}
 +
}
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 19:30, 15 February 2016

Info.svg {{{1}}}

The info template, is used to for adding useful information describing the purpose of an article. It should only be used at the top of an article, but under some circumstances may be used within sections.

Usage

{{info|This is a test}}

Creates;

Info.svg This is a test

<templatedata> { "description": "The info template, is used to for adding useful information describing the purpose of an article.", "params": { "text": { "label": "Message", "type": "content", "required": true, "description": "The message", "aliases": ["1"] } } } </templatedata>