Difference between revisions of "Template:Messagebox/BI"

From Bohemia Interactive Community
< Messagebox
Jump to navigation Jump to search
m (Lou Montana moved page tool-disclaimer to 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 14: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}} BIMessagebox
{{BIMessagebox|title}} BIMessagebox
{{BIMessagebox|title|message}} BIMessagebox
{{BIMessagebox||my super message}} BIMessagebox
{{BIMessagebox|message=my super message}} BIMessagebox