Template:Info: Difference between revisions

From KDE TechBase
(Created page with "{{Box|1={{{3|Information}}}|2=left|40px|link=<div style="margin-left:50px">{{{1}}}</div> |3={{{4}}}|4={{{5}}} }} <noinclude> [[Category:Template]...")
 
(typo)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Box|1={{{3|Information}}}|2=[[Image:Dialog-information.png|left|40px|link=]]<div style="margin-left:50px">{{{1}}}</div> |3={{{4}}}|4={{{5}}} }}
{{Box1|2={{{2|Information}}}|3=[[Image:Dialog-information.png|left|40px|link=]]|4=alert-success|1={{{1}}} }}
<noinclude>
<noinclude>
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code>
# The body of the box
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
Example: {{Input|1=<nowiki>{{Info|1=This is an info box.}}</nowiki>}}
{{Info|1=This is an info box.}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 15:44, 27 August 2012

 
Information
{{{1}}}

This template displays an info box in the page. Syntax: {{Info|2=title|1=text}}

  1. The body of the box
  2. (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.

Example:

{{Info|1=This is an info box.}}
 
Information
This is an info box.