Шаблон:MessageBox

Материал из EVE Online Wiki [Aliteg]
Версия от 22:58, 25 июня 2025; Cingulari (обсуждение | вклад) (Новая страница: «{| style="margin: 1em; min-width: 15em; max-width: 40em;" class="wikitable {{#ifeq:{{{collapsed|}}}|yes|mw-collapsible mw-collapsed}}" ! style="font-size: 0.9em; padding: 0.25em 0.5em;font-weight: normal; text-align: left" | {{{1|Message:}}} |- | style="padding: 1em;" | {{{2|Text}}} |}<noinclude> {{Documentation}} </noinclude>»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к: навигация, поиск
Message:
Text
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to do include various messages, in a collapsible box in text. Escalation messages, pop-up messages from Combat complexes, messages in local chat channel etc.
Syntax
{{MessageBox|<head>|<text>|<collapsed= yes>}}
Parameters
head
Text in the header of the message box
text
Text in the body of the box
collapsed=
Controls whether the box is initially collapsed. use collapsed= yes to have the box initially collapsed, otherwise omit it.
Sample
{{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?


Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
<templatedata>

{ "params": { "1": { "label": "Message title", "type": "string", "suggested": true }, "2": { "label": "Message text", "required": true }, "collapsed": { "label": "Initially collapsed?", "type": "string", "suggestedvalues": [ "yes" ], "description": "Leave empty when box should be initially expanded." } }, "description": "Box (collapsible) to show in-game messages etc.", "format": "block"

}</templatedata>
Visit Шаблон:MessageBox/doc to edit this text! (How does this work?) (Refresh this text - why?)