Difference between revisions of "Template:Infobox event"

From Wildermyth Wiki
m (Remove alt parameter)
(Added infoboxEvent style)
Line 1: Line 1:
<includeonly><table class="floatright" cellpadding=0 style="width:200px; border-spacing: 2px; border:1px solid #BBB; background:white; text-align:center;"><!--
<includeonly><table class="floatright infoboxEvent"><!--
--><th style="background: SkyBlue;">'''{{{event}}}'''</th><!--
--><th>'''{{{event}}}'''</th><!--
--><tr><td>[[Image:{{{image}}}|center|184px]]</td></tr><!--
--><tr><td>[[Image:{{{image}}}|center|184px]]</td></tr><!--
--><th style="background: SkyBlue;">'''Author'''</th><!--
--><th>'''Author'''</th><!--
--><tr><td>{{#if:{{{author|}}}|{{{author}}}|???}}</td></tr><!--
--><tr><td>{{#if:{{{author|}}}|{{{author}}}|???}}</td></tr><!--
--><th style="background: SkyBlue;">'''Event type'''</th><!--
--><th>'''Event type'''</th><!--
--><tr><td>[[Event|{{#if:{{{type|}}}|{{{type}}}|???}}]]</td></tr><!--
--><tr><td>[[Event|{{#if:{{{type|}}}|{{{type}}}|???}}]]</td></tr><!--
--></table></includeonly><noinclude>
--></table></includeonly><noinclude>

Revision as of 09:19, 23 November 2019

This documentation is transcluded from Template:Infobox event/doc

Usage

This template displays an Infobox for an event.

The Infobox uses the following parameters:

event
Name of the event
image
Image filename for the event
author
Author of the event
type
Type of the event. One of: Wilderness scouting, Arrive at hostile site, Attack mundane site, Arrive at final battle, Defend against incursion, Infestation ambushed, Opportunity, Mission victory, Plot Event, Mid-Mission Story, Omen

Example

{{Infobox event
| event = The Lonely Cost
| image = Thelonelycost.png
| author = Douglas Austin
| type = Opportunity
}}
The Lonely Cost
Thelonelycost.png
Author
Douglas Austin
Event type
Opportunity