Messagebox/BI – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Templates" to "{{uc:{{PAGENAME}}}}")
m (Add BI link)
Line 1: Line 1:
<includeonly>{{Messagebox|{{#if:{{{1|}}}|'''{{Trim|{{{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|link={{Name|bi}}]]|#F4E8FF}}</includeonly><noinclude>
Shows a [[Bohemia Interactive]] message box.
Shows a [[Bohemia Interactive]] message box.



Revision as of 17:34, 29 December 2020

Shows a Bohemia Interactive message box.

Usage

{{BIMessagebox|title|message}}

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