Difference between revisions of "Template:MessageBox"

From EVE University Wiki
Jump to: navigation, search
(Made template collapsible (had to replace DIV with TABLE to make the collapsing JS work correctly))
m (Align left!)
Line 1: Line 1:
 
{| style="margin: 1em; max-width: 600px;" class="wikitable {{#ifeq:{{{collapsed|no}}}|yes|collapsible collapsed|}}"
 
{| style="margin: 1em; max-width: 600px;" class="wikitable {{#ifeq:{{{collapsed|no}}}|yes|collapsible collapsed|}}"
! style="font-size:0.9em; background-color:#000000; padding: 0.25em 0.5em;font-weight:normal" | {{{1|Message:}}}
+
! style="font-size:0.9em; background-color:#000000; padding: 0.25em 0.5em;font-weight:normal;text-align:left" | {{{1|Message:}}}
 
|-
 
|-
 
| style="background-color:#222222; padding: 1em;" | {{{2|Text}}}
 
| style="background-color:#222222; padding: 1em;" | {{{2|Text}}}

Revision as of 12:31, 10 November 2014

Message:
Text
Template documentation (for the above template, sometimes hidden or invisible)
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...
Visit Template:MessageBox/doc to edit this text! (How does this work?) (Refresh this text - why?)