Template:Warning: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{MessageBox| | <div class="warning-messagebox">{{MessageBox| | ||
bordercolorhex = FFB2B2 | | bordercolorhex = FFB2B2 | | ||
bgcolorhex = FFE5E5 | | bgcolorhex = FFE5E5 | | ||
image = {{ #if: {{{2|}}} | File:Dialog-warning.png }} | | image = {{ #if: {{{2|}}} | File:Dialog-warning.png }} | | ||
title = Warning: | | title = Warning: | | ||
message = {{{1}}} }} <noinclude> | message = {{{1}}} }}</div> <noinclude> | ||
{{Template documentation|Warning template for in-line and page warnings.| | {{Template documentation|Warning template for in-line and page warnings.| |
Latest revision as of 23:17, 15 October 2024
Template Documentation
Warning template for in-line and page warnings.
Usage
<nowiki>{{Warning|information|use warning image}}</nowiki>
- Example with warning image (recommended for page warnings):
<nowiki>{{Warning|information|true}}</nowiki>
- Example without warning image (recommended for in-line warnings):
<nowiki>{{Warning|information}}</nowiki>