Difference between revisions of "Template:Messagebox/BI"

From Bohemia Interactive Community
< Messagebox
Jump to navigation Jump to search
m (Add Doc/Template usage)
m (Add Icon usage)
 
Line 1: Line 1:
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{Trim|{{{1}}}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|[[File:bohemia interactive logo black.png|link={{Name|bi}}]]|#F4E8FF}}</includeonly><noinclude>{{Doc/Template
+
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{Trim|{{{1}}}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|{{Icon|bi}}|#F4E8FF}}</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 02:18, 29 July 2021

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}}
bohemia interactive logo black.png
-message not defined-
{{Messagebox/BI|title}}
bohemia interactive logo black.png
title
-message not defined-
{{Messagebox/BI|title|message}}
bohemia interactive logo black.png
title
message
{{Messagebox/BI||my super message}}
bohemia interactive logo black.png
my super message
{{Messagebox/BI|message=my super message}}
bohemia interactive logo black.png
my super message