Template:Info: Difference between revisions

From KDE Wiki Sandbox
No edit summary
m (update to blue)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|3=[[Image:Dialog-information.png|left|40px|link=]]
|3=[[Image:Dialog-information.png|left|40px|link=]]
|1={{{1}}}
|1={{{1}}}
}}
|4=alert-info
<noinclude>
}}<noinclude>
----
----
Displays an information box. Parameters
Displays an information box. Parameters
Line 12: Line 12:


{{Info|This is an info box}}
{{Info|This is an info box}}
Code:<br /><br />
<nowiki>{{Box|2={{#if: {{{2|}}} | {{{2}}} | Information }}</nowiki><br />
<nowiki>|3=[[Image:Dialog-information.png|left|40px|link=]]</nowiki><br />
<nowiki>|1={{{1}}}</nowiki><br />
<nowiki>|4=alert-success</nowiki><br />
<nowiki>}}</nowiki><br />
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 21:30, 9 August 2019

Information
{{{1}}}

Displays an information box. Parameters

  1. Text of the main body
  2. (optional) Title of the box (default: Information)

Example: {{Info|This is an info box}} gives

Information
This is an info box


Code:

{{Box|2={{#if: {{{2|}}} | {{{2}}} | Information }}
|3=[[Image:Dialog-information.png|left|40px|link=]]
|1={{{1}}}
|4=alert-success
}}