Messagebox/BI – Template
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) (Big template update) |
||
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> | ||
|'''{{{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 | |||
|- | |- | ||
|{{{ | | <nowiki>{{tool-disclaimer}}</nowiki> | ||
|}< | | {{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
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 |