Difference between revisions of "Template:MessageBox/doc"
From EVE University Wiki
(Provided documentation for the page) |
m |
||
(3 intermediate revisions by one other user not shown) | |||
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=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. | ||
;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.}} | ||
− | <includeonly>[[Category: | + | :<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:Formatting templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 21:08, 18 March 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
collapsible
parameter is optional. To make the message box collapsible, usecollapsible=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? |