Difference between revisions of "Template:MessageBox/doc"

From EVE University Wiki
Jump to: navigation, search
m (Correct template category)
(Update documentation)
Line 2: Line 2:
 
:This template is used to do include various messages in text. Escalation messages, pop-up messages from Combat complexes, messages in local chat channel.
 
:This template is used to do include various messages in text. Escalation messages, pop-up messages from Combat complexes, messages in local chat channel.
 
;Syntax
 
;Syntax
:Type <code>{{t|MessageBox|head|text}}</code> somewhere.
+
:Type <code>{{t|MessageBox|head|text|4=collapsible=yes}}</code> somewhere.
 +
:The <code>collapsible</code> parameter is optional. To make the message box collapsible, use <code>collapsible=yes</code>; otherwise, omit it.  
 
;Sample output
 
;Sample output
 
:<code><nowiki>{{MessageBox|In local chat channel:|Serpentis Mug: Blah.}}</nowiki></code>
 
:<code><nowiki>{{MessageBox|In local chat channel:|Serpentis Mug: Blah.}}</nowiki></code>
 
::gives...
 
::gives...
 
{{MessageBox|In local chat channel:|Serpentis Mug: Blah.}}
 
{{MessageBox|In local chat channel:|Serpentis Mug: Blah.}}
 +
:<code><nowiki>{{MessageBox|In local chat channel:|Serpentis Lion: And who are you, the proud lord said, that I must bow so low?|collapsed=yes}}</nowiki></code>
 +
::gives...
 +
{{MessageBox|In local chat channel:|Serpentis Lion: And who are you, the proud lord said, that I must bow so low?|collapsed=yes}}
 +
 
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 12:35, 10 November 2014

Description
This template is used to do include various messages in text. Escalation messages, pop-up messages from Combat complexes, messages in local chat channel.
Syntax
Type {{MessageBox|<head>|<text>|<collapsible=yes>}} somewhere.
The collapsible parameter is optional. To make the message box collapsible, use collapsible=yes; otherwise, omit it.
Sample output
{{MessageBox|In local chat channel:|Serpentis Mug: Blah.}}
gives...
In local chat channel:
Serpentis Mug: Blah.
{{MessageBox|In local chat channel:|Serpentis Lion: And who are you, the proud lord said, that I must bow so low?|collapsed=yes}}
gives...
In local chat channel:
Serpentis Lion: And who are you, the proud lord said, that I must bow so low?