Messagebox/BI – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fix icon and style to new standards)
(Add CSS class usage)
 
Line 1: Line 1:
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{Trim|{{{1}}}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|{{Icon|bi_alt|28}}|#6BA539}}</includeonly><noinclude>{{Doc/Template
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{Trim|{{{1}}}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|{{Icon|bi_alt|28}}|class= messagebox-bi}}</includeonly><noinclude>{{Doc/Template
|descr= Shows a [[Bohemia Interactive]] message box.
|descr= Shows a [[Bohemia Interactive]] message box.
|param1= title
|param1= title

Latest revision as of 18:09, 30 October 2024

Shows a Bohemia Interactive message box.

This template is used on these pages.

Usage

{{Messagebox/BI|title|message}}

  • title: (Optional) title to display
  • message: (named) message to display
Examples
Code Result
{{Messagebox/BI}}
bi symbol white.png
-message not defined-
{{Messagebox/BI|title}}
bi symbol white.png
title
-message not defined-
{{Messagebox/BI|title|message}}
bi symbol white.png
title
message
{{Messagebox/BI||my super message}}
bi symbol white.png
my super message
{{Messagebox/BI|message= my super message}}
bi symbol white.png
my super message