Difference between revisions of "Template:Infobox event"
From Wildermyth Wiki
FeralKitty (talk | contribs) (Add event to event type subcategory) |
(Added an optional argument to specify the event type, in order to have that for the localized pages) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
--><tr><td>{{#if:{{{author|}}}|{{{author}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{author|}}}|{{{author}}}|???}}</td></tr><!-- | ||
--><th>'''Event type'''</th><!-- | --><th>'''Event type'''</th><!-- | ||
--><tr><td>[[Event|{{#if:{{{type|}}}|{{{type}}}|???}}]]</td></tr><!-- | --><tr><td>[[Event#{{#if:{{{type|}}}|{{{type}}}|???}}|{{#if:{{{type_display|}}}|{{{type_display}}}|{{#if:{{{type|}}}|{{{type}}}|???}}}}]]</td></tr><!-- | ||
--></table><!-- | --></table><!-- | ||
-->{{#if:{{{type|}}}|{{#if:{{NAMESPACE}}||[[Category:{{{type}}}]]}}}}</includeonly><noinclude> | -->{{#if:{{{type|}}}|{{#if:{{NAMESPACE}}||[[Category:{{{type}}}]]}}}}</includeonly><noinclude> | ||
Latest revision as of 10:49, 6 May 2026
- 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
- type_display (optional)
- Displayed text for the type of the event, so the other languages can customize it.
Example
{{Infobox event
| event = The Lonely Cost
| image = Thelonelycost.png
| author = Douglas Austin
| type = Opportunity
}}
| The Lonely Cost |
|---|
| Author |
| Douglas Austin |
| Event type |
| Opportunity |