Template:BR/Warning: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{MessageBox| bordercolorhex = FFB2B2 | bgcolorhex = FFE5E5 | image = {{ #if: {{{2|}}} | File:Dialog-warning.png }} | title = Aviso: | message = {{{1}}} }}")
 
m (Update from original)
 
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 = Aviso: |
   title = Aviso: |
   message = {{{1}}}
   message = {{{1}}} }}</div> <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 23:29, 5 September 2025

[[|link=|]] Aviso: {{{1}}}

Applications-office.pngTemplate 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>
Dialog-warning.png Warning: information
  • Example without warning image (recommended for in-line warnings):
<nowiki>{{Warning|information}}</nowiki>
[[|link=|]] Warning: information