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)
m (Add Icon usage)
 
(8 intermediate revisions by 2 users not shown)
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|{{#if:{{{1|}}}|'''{{Trim|{{{1}}}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|{{Icon|bi}}|#F4E8FF}}</includeonly><noinclude>{{Doc/Template
Shows a "tool disclaimer" message.
+
|descr= Shows a [[Bohemia Interactive]] message box.
 
+
|param1= title
== Usage ==
+
|descr1= (Optional) title to display
{{<nowiki/>tool-disclaimer|'''''title'''''|'''''message'''''}}
+
|param2= message
* title: (Optional) title to display
+
|descr2= (named) message to display
* message: (named) message to display
+
|example1= <nowiki>{{Messagebox/BI}}</nowiki>
 
+
|result1= {{Messagebox/BI}}
{|class="wikitable"
+
|example2= <nowiki>{{Messagebox/BI|title}}</nowiki>
|+ Examples
+
|result2= {{Messagebox/BI|title}}
! Code
+
|example3= <nowiki>{{Messagebox/BI|title|message}}</nowiki>
! Result
+
|result3= {{Messagebox/BI|title|message}}
|-
+
|example4= <nowiki>{{Messagebox/BI||my super message}}</nowiki>
| <nowiki>{{tool-disclaimer}}</nowiki>
+
|result4= {{Messagebox/BI||my super message}}
| {{tool-disclaimer}}
+
|example5= <nowiki>{{Messagebox/BI|message=my super message}}</nowiki>
|-
+
|result5= {{Messagebox/BI|message=my super message}}
| <nowiki>{{tool-disclaimer|title}}</nowiki>
+
}}</noinclude>
| {{tool-disclaimer|title}}
 
|-
 
| <nowiki>{{tool-disclaimer|title|message}}</nowiki>
 
| {{tool-disclaimer|title|message}}
 
|-
 
| <nowiki>{{tool-disclaimer||my super message}}</nowiki>
 
| {{tool-disclaimer||my super message}}
 
|-
 
| <nowiki>{{tool-disclaimer|message=my super message}}</nowiki>
 
| {{tool-disclaimer|message=my super message}}
 
|}
 
 
 
[[Category:Templates]]</noinclude>
 

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