Difference between revisions of "Template:Event infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Blanked the page)
Line 1: Line 1:
<includeonly>
{{#set:Has context=event}}
{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|#default=}}
<div class="infobox-n">
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
<p class="image_wrapper">{{#if:{{{image|}}}
  | {{#ifeq:{{{image}}}|no|{{clear}}<!-- Not visible or necessary-->| [[Has appearance::File:{{{image}}}|200x260px]] }}
  | {{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#ifexist:{{#var:default}} <!-- Default file name to display -->
        | [[Has appearance::{{#var:default}}|200x260px]]
        | [[{{#var:default}}|Upload an image of this event.]]<!-- Red link to file upload page -->
    }}
}}</p>
<div class="wrapper">
;    Event Timeline
:    {{{eventtimeline|}}}
;Event Chain
;External Source
</div></div><!--
-->{{#if:{{{description|}}}|
{{Quotation|Event description|{{{description}}}}} }}
<!-- AUTOCATEGORIZATION -->
[[Category:Events]]
</includeonly> <!-- this trailing space is a whitespace fix --><noinclude>
== Usage ==
Use this infobox for defining [[events]] within the game.
<pre>
{{Event infobox
| name =
| image =
| description =
| timeline =
| event-chain =
| external-source =
| patch =
| release =
}}
</pre>


==Parameters==
; name: Name of the event
; image: the event banner
; description: description of the event
; timeline: date the event took place
; event-chain: the main page for the group of events
; external-source: link to the lodestone page
; patch: the patch the event was released on/nearest too
; release: the release the event was released on/nearest too
==Examples==
<pre>{{Event infobox
| name = The Make it Rain Campaign 2021
| image = The Make it Rain Campaign NA Banner 2021.png
| description = The Make It Rain Campaign is back again, giving thrill-seekers the chance to earn 50% more MGP! <br>The campaign attendant offers discounts on a range of incredible prizes, such as furnishings that allow you to play Gold Saucer mini-games in the comfort of your estate hall. Join the festivities and rake in the rewards!
| timeline = July 19, 2021 to August 11, 2021
| event-chain = The Make it Rain Campaign
| external-source = https://na.finalfantasyxiv.com/lodestone/special/2021/the_make_it_rain_campaign/b1nyoh167i
| patch =
| release =
}}</pre>
{{Event infobox
| name = The Make it Rain Campaign 2021
| image = The Make it Rain Campaign NA Banner 2021.png
| description = The Make It Rain Campaign is back again, giving thrill-seekers the chance to earn 50% more MGP! <br>The campaign attendant offers discounts on a range of incredible prizes, such as furnishings that allow you to play Gold Saucer mini-games in the comfort of your estate hall. Join the festivities and rake in the rewards!
| timeline = July 19, 2021 to August 11, 2021
| event-chain = The Make it Rain Campaign
| external-source = https://na.finalfantasyxiv.com/lodestone/special/2021/the_make_it_rain_campaign/b1nyoh167i
| patch =
| release =
}}
{{clear}}
[[Category:Infobox templates|Mount infobox]]
</noinclude>

Revision as of 21:53, 19 July 2021