Difference between revisions of "Template:MessageBox/doc"
From EVE University Wiki
(Provided documentation for the page) |
m (Change collapsible into collapsed) |
||
(4 intermediate revisions by 2 users 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>{{ | + | :Type <code>{{T|MessageBox|head|text|4=collapsed=yes}}</code> somewhere. |
+ | :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> | ||
::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> |
Latest 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, usecollapsed=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? |