Difference between revisions of "Template:Messagebox/BI"

From Bohemia Interactive Community
< Messagebox
Jump to navigation Jump to search
m
(Big template update)
Line 1: Line 1:
{| class="toccolours" style="background:{{{bg|#f4e8ff}}}; margin-bottom:20px" width=80%
+
<includeonly>{{Messagebox|{{#ifeq:{{{1|}}}|||'''{{{1|-title not defined-}}}'''<br>}}{{{2|{{{message|-message not defined-}}}}}}|[[File:bohemia interactive logo black.png]]|#F4E8FF}}</includeonly><noinclude>
|'''{{{1}}}'''
+
Shows a "tool disclaimer" message.
 +
 
 +
== Usage ==
 +
{{<nowiki/>tool-disclaimer|'''''title'''''|'''''message'''''}}
 +
* title: (Optional) title to display
 +
* message: (named) message to display
 +
 
 +
{|class="wikitable"
 +
|+ Examples
 +
! Code
 +
! Result
 
|-
 
|-
|{{{2}}}
+
| <nowiki>{{tool-disclaimer}}</nowiki>
|}<noinclude>
+
| {{tool-disclaimer}}
 +
|-
 +
| <nowiki>{{tool-disclaimer|title}}</nowiki>
 +
| {{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|TOOL-disclaimer]]</noinclude>
 
[[Category:Templates|TOOL-disclaimer]]</noinclude>

Revision as of 23:19, 13 November 2019

Shows a "tool disclaimer" message.

Usage

{{tool-disclaimer|title|message}}

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