Difference between revisions of "Template:MessageBox/doc"

From EVE University Wiki
Jump to: navigation, search
m
m (Change collapsible into collapsed)
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|4=collapsed=yes}}</code> somewhere.
+
:Type <code>{{T|MessageBox|head|text|4=collapsed=yes}}</code> somewhere.
:The <code>collapsible</code> parameter is optional. To make the message box collapsible, use <code>collapsible=yes</code>; otherwise, omit it.  
+
:The <code>collapsed</code> parameter is optional. To make the message box initially collapsed, use <code>collapsed=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>

Revision as of 12:52, 3 July 2021

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>|<collapsed=yes>}} somewhere.
The collapsed parameter is optional. To make the message box initially collapsed, use collapsed=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?