Difference between revisions of "Template:Infobox event"
From Wildermyth Wiki
FeralKitty (talk | contribs) (First draft of Infobox event) |
|||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><table class="floatright | <includeonly><table class="floatright infoboxEvent"><!-- | ||
--><th | --><th>'''{{{event}}}'''</th><!-- | ||
--><tr><td>[[Image:{{{image}}}|center|184px | --><tr><td>[[Image:{{{image}}}|center|184px]]</td></tr><!-- | ||
--><th | --><th>'''Author'''</th><!-- | ||
--><tr><td>{{#if:{{{author|}}}|{{{author}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{author|}}}|{{{author}}}|???}}</td></tr><!-- | ||
--><th | --><th>'''Event type'''</th><!-- | ||
--><tr><td>[[Event|{{#if:{{{type|}}}|{{{type}}}|???}}]]</td></tr><!-- | --><tr><td>[[Event#{{#if:{{{type|}}}|{{{type}}}|???}}|{{#if:{{{type|}}}|{{{type}}}|???}}]]</td></tr><!-- | ||
--></table></includeonly><noinclude> | --></table><!-- | ||
-->{{#if:{{{type|}}}|{{#if:{{NAMESPACE}}||[[Category:{{{type}}}]]}}}}</includeonly><noinclude> | |||
{{Infobox event/doc}} | {{Infobox event/doc}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:33, 5 December 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 |
|---|
| Author |
| Douglas Austin |
| Event type |
| Opportunity |