Messagebox/BI – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page Template:tool-disclaimer to Template:BIMessagebox: tool-disclaimer is not about tool anymore/only)
(Fix move)
Line 1: Line 1:
<includeonly>{{Messagebox|{{#ifeq:{{{1|}}}|||'''{{{1|-title not defined-}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|[[File:bohemia interactive logo black.png]]|#F4E8FF}}</includeonly><noinclude>
<includeonly>{{Messagebox|{{#ifeq:{{{1|}}}|||'''{{{1|-title not defined-}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|[[File:bohemia interactive logo black.png]]|#F4E8FF}}</includeonly><noinclude>
Shows a "tool disclaimer" message.
Shows a [[Bohemia Interactive]] message box.


== Usage ==
== Usage ==
{{<nowiki/>tool-disclaimer|'''''title'''''|'''''message'''''}}
{{<nowiki/>BIMessagebox|'''''title'''''|'''''message'''''}}
* title: (Optional) title to display
* title: (Optional) title to display
* message: (named) message to display
* message: (named) message to display
Line 12: Line 12:
! Result
! Result
|-
|-
| <nowiki>{{tool-disclaimer}}</nowiki>
| <nowiki>{{BIMessagebox}}</nowiki>
| {{tool-disclaimer}}
| {{BIMessagebox}}
|-
|-
| <nowiki>{{tool-disclaimer|title}}</nowiki>
| <nowiki>{{BIMessagebox|title}}</nowiki>
| {{tool-disclaimer|title}}
| {{BIMessagebox|title}}
|-
|-
| <nowiki>{{tool-disclaimer|title|message}}</nowiki>
| <nowiki>{{BIMessagebox|title|message}}</nowiki>
| {{tool-disclaimer|title|message}}
| {{BIMessagebox|title|message}}
|-
|-
| <nowiki>{{tool-disclaimer||my super message}}</nowiki>
| <nowiki>{{BIMessagebox||my super message}}</nowiki>
| {{tool-disclaimer||my super message}}
| {{BIMessagebox||my super message}}
|-
|-
| <nowiki>{{tool-disclaimer|message=my super message}}</nowiki>
| <nowiki>{{BIMessagebox|message=my super message}}</nowiki>
| {{tool-disclaimer|message=my super message}}
| {{BIMessagebox|message=my super message}}
|}
|}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 13:03, 14 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}} Template:BIMessagebox
{{BIMessagebox|title}} Template:BIMessagebox
{{BIMessagebox|title|message}} Template:BIMessagebox
{{BIMessagebox||my super message}} Template:BIMessagebox
{{BIMessagebox|message=my super message}} Template:BIMessagebox