Template:Warning: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{MessageBox| | {{MessageBox| | ||
bordercolorhex = | bordercolorhex = FFB2B2 | | ||
bgcolorhex = | bgcolorhex = FFE5E5 | | ||
image = File:Dialog-warning.png | | image = {{ #if: {{{2|}}} | File:Dialog-warning.png }} | | ||
title = Warning: | | title = Warning: | | ||
message = {{{1}}} | message = {{{1}}} }} <noinclude> | ||
{{Template documentation|Warning template for in-line and page warnings.| | |||
<syntaxhighlight lang="lua",N><nowiki>{{Warning|information|use warning image}}</nowiki></syntaxhighlight> | |||
* Example with warning image (recommended for page warnings): | |||
<syntaxhighlight lang="lua",N><nowiki>{{Warning|information|true}}</nowiki></syntaxhighlight> | |||
{{Warning|information|true}} | |||
* Example without warning image (recommended for in-line warnings): | |||
<syntaxhighlight lang="lua",N><nowiki>{{Warning|information}}</nowiki></syntaxhighlight> | |||
{{Warning|information}} | |||
}} | |||
</noinclude> |
Latest revision as of 18:14, 11 January 2016
Warning: {{{1}}} |
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>
Warning: information | |
- Example without warning image (recommended for in-line warnings):
<nowiki>{{Warning|information}}</nowiki>
Warning: information |