Template:Warning: Difference between revisions
(Modifications to make template work well with neverland) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }} | ||
|3=[[Image:Warning.png|left|40px|link=]] | |||
|1={{{1}}} | |||
}} | |||
<noinclude> | <noinclude> | ||
---- | |||
# | Displays an information box. Parameters | ||
# (optional) | # Text of the main body | ||
# (optional) Title of the box (default: Warning) | |||
Example: | Example: <nowiki>{{Warning|This is a warning}}</nowiki> gives | ||
{{Warning| | |||
{{Warning|This is a warning}} | |||
The use of "1=" in the body text ensures that characters are not treated as system parameters. It is not visible in the output. | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Revision as of 16:39, 27 August 2012
Displays an information box. Parameters
- Text of the main body
- (optional) Title of the box (default: Warning)
Example: {{Warning|This is a warning}} gives
The use of "1=" in the body text ensures that characters are not treated as system parameters. It is not visible in the output.