Template:Info: Difference between revisions
*>AnneW (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]...") |
No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Box| | {{Box|2={{#if: {{{2|}}} | {{{2}}} | Information }} | ||
< | |3=[[File:Dialog-information.png|left|40px|link=]] | ||
|1={{{1}}} | |||
|4=alert-success}}<noinclude> | |||
---- | |||
Displays an information box. Parameters | |||
# Text of the main body | |||
# (optional) Title of the box (default: Information) | |||
Example: <nowiki>{{Info|This is an info box}}</nowiki> gives | |||
{{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 10:58, 27 July 2019
Displays an information box. Parameters
- Text of the main body
- (optional) Title of the box (default: Information)
Example: {{Info|This is an info box}} gives
Code:
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Information }}
|3=[[Image:Dialog-information.png|left|40px|link=]]
|1={{{1}}}
|4=alert-success
}}