Template:Warning: Difference between revisions
No edit summary |
No edit summary |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Box| | {{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }} | ||
<noinclude> | |1={{{1}}} | ||
|4=alert-warning}}<noinclude> | |||
---- | |||
Displays an information box. Parameters | |||
# Text of the main body | |||
# (optional) Title of the box (default: Warning) | |||
{{ | Example: <nowiki>{{Warning|This is a warning}}</nowiki> gives | ||
{{Warning|This is a warning}} | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:47, 15 April 2020
Warning
{{{1}}}
Displays an information box. Parameters
- Text of the main body
- (optional) Title of the box (default: Warning)
Example: {{Warning|This is a warning}} gives
Warning
This is a warning