Difference between revisions of "Template:Messagebox/BI"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Title trim attempt)
m (Trim title to avoid bold issues)
Line 1: Line 1:
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{{1|-title not defined-}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|[[File:bohemia interactive logo black.png]]|#F4E8FF}}</includeonly><noinclude>
+
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{Trim|{{{1|-title not defined-}}}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|[[File:bohemia interactive logo black.png]]|#F4E8FF}}</includeonly><noinclude>
 
Shows a [[Bohemia Interactive]] message box.
 
Shows a [[Bohemia Interactive]] message box.
  

Revision as of 18:19, 15 November 2019

Shows a Bohemia Interactive message box.

Usage

{{BIMessagebox|title|message}}

  • title: (Optional) title to display
  • message: (named) message to display
Examples
Code Result
{{BIMessagebox}} BIMessagebox
{{BIMessagebox|title}} BIMessagebox
{{BIMessagebox|title|message}} BIMessagebox
{{BIMessagebox||my super message}} BIMessagebox
{{BIMessagebox|message=my super message}} BIMessagebox