Messagebox/BI – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(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 22: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}} Template:tool-disclaimer
{{tool-disclaimer|title}} Template:tool-disclaimer
{{tool-disclaimer|title|message}} Template:tool-disclaimer
{{tool-disclaimer||my super message}} Template:tool-disclaimer
{{tool-disclaimer|message=my super message}} Template:tool-disclaimer