Template:Warning: Difference between revisions
(New page: {{Box|1={{{3|Warning}}}|2=noframe|left|40px{{{1}}} <div class="clear"></div> }} <noinclude> Category:Template </noinclude>) |
(prepare for theme update (bootstrap 4 alert has per default no bc)) |
||
(17 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Box| | {{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }} | ||
< | |3=[[Image:Warning.png|left|40px|link=]] | ||
|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 12:34, 7 July 2019
Displays an information box. Parameters
- Text of the main body
- (optional) Title of the box (default: Warning)
Example: {{Warning|This is a warning}} gives