Difference between revisions of "Template:Event infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m (trying something)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch:{{lc:{{{expansion|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}}
{{#switch:{{lc:{{{expansion|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}}}
   <div class="infobox-n">
   <div class="infobox-n">
     <div class="heading" style="background-color:#333333; font-family: EasonPro, Times New Roman, serif !important; color: #fff !important; text-shadow: rgba(0,0,0,0.75) 0 0 .25em; padding: 10px 0px 10px 0px !important;">
     <div class="heading" style="background-color:#333333; font-family: EasonPro, Times New Roman, serif !important; color: #fff !important; text-shadow: rgba(0,0,0,0.75) 0 0 .25em; padding: 10px 0px 10px 0px !important;">
Line 6: Line 5:
     </div> <!--End of heading-->
     </div> <!--End of heading-->
     <div style="text-align: center; clear: both;">{{#if:{{{image|}}}|[[File:{{{image}}}|frameless|center]]}}
     <div style="text-align: center; clear: both;">{{#if:{{{image|}}}|[[File:{{{image}}}|frameless|center]]}}
</div>
</div><div class="wrapper">
    <div class="wrapper">
;    Event Start
;    Event Start
:    {{{eventstart}}}
:    {{{eventstart}}}
Line 13: Line 11:
:    {{{eventfinish}}}
:    {{{eventfinish}}}
;    Event Chain
;    Event Chain
:    [[{{{eventchain}}}]]
:    {{#arraymap:{{{eventchain}}}|,|@@@|[[@@@]]|<br>}}
;    Event Page
;    Event Page
:    [{{{eventpage}}} Link]
:    [{{{eventpage}}} Link]
Line 19: Line 17:
     <center><table style="width: 75%;">
     <center><table style="width: 75%;">
       <tr><th>Previous</th><th>Next</th></tr>
       <tr><th>Previous</th><th>Next</th></tr>
       <tr><td><center>{{#if:{{{prevevent|}}}|[[{{{prevevent}}}]]}}</center></td><td><center>{{#if:{{{nextevent|}}}|[[{{{nextevent}}}]]}}</center></td></tr>
       <tr><td><center>{{#if:{{{prevevent|}}}|{{#arraymap:{{{prevevent}}}|,|@@@|[[@@@]]|<br>}}}}</center></td><td><center>{{#if:{{{nextevent|}}}|{{#arraymap:{{{nextevent}}}|,|@@@|[[@@@]]|<br>}}}}</center></td></tr>
     </table></center>
     </table></center>
   </div>
   </div>
</includeonly>
'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is a [[Seasonal Event|seasonal event]] that took place from {{{eventstart}}} to {{{eventfinish}}}.
<noinclude>__NOTOC__
{{#if:{{{description|}}}|
== Description ==
{{Quotation|Event description|{{{description}}}}} }}
<!-- AUTOCATEGORIZATION -->
[[Category:Events]]
{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
| <!-- Do not categorize --> |
{{#if: {{{eventchain|}}} |
  {{#arraymap:{{{eventchain|}}}|,|@@@|[[Category:{{ucfirst:@@@}} Events]]|}}
  | }}
}}</includeonly><noinclude>__NOTOC__
==Description==
<pre>
<pre>
{{Event infobox
{{Event infobox
| name =  
| name =  
| image =  
| image =  
| description =
| eventstart =
| eventstart =
| eventfinish =   
| eventfinish =   
Line 43: Line 51:
| name = The Make It Rain Campaign 2021
| name = The Make It Rain Campaign 2021
| image = The Make it Rain Campaign NA Banner 2021.png ‎
| 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!
| eventstart = July 19, 2021
| eventstart = July 19, 2021
| eventfinish = August 11, 2021
| eventfinish = August 11, 2021
| eventchain = The Make It Rain Campaign
| eventchain = The Make It Rain Campaign
| eventpage = https://na.finalfantasyxiv.com/lodestone/special/2021/the_make_it_rain_campaign/b1nyoh167i
| eventpage = https://na.finalfantasyxiv.com/lodestone/special/2021/the_make_it_rain_campaign/b1nyoh167i
| prevevent = The Make It Rain Campaign 2020|2020
| prevevent = The Make It Rain Campaign 2020
| nextevent = The Make It Rain Campaign 2022|2022
| nextevent = The Make It Rain Campaign 2022
}}
}}
</pre>
</pre>
{{Event infobox
{{Event infobox
| name = The Make It Rain Campaign 2021
| name = The Make It Rain Campaign 2021
| image = The Make it Rain Campaign NA Banner 2021.png ‎
| 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!
| eventstart = July 19, 2021
| eventstart = July 19, 2021
| eventfinish = August 11, 2021
| eventfinish = August 11, 2021
Line 60: Line 71:
| prevevent = The Make It Rain Campaign 2020
| prevevent = The Make It Rain Campaign 2020
| nextevent = The Make It Rain Campaign 2022
| nextevent = The Make It Rain Campaign 2022
}}
}}[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 01:10, 3 October 2023

Description

{{Event infobox
| name = 
| image = 
| description = 
| eventstart =
| eventfinish =  
| eventchain = 
| eventpage = 
| prevevent = 
| nextevent = 
}}

Example

{{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!
| eventstart = July 19, 2021
| eventfinish = August 11, 2021
| eventchain = The Make It Rain Campaign
| eventpage = https://na.finalfantasyxiv.com/lodestone/special/2021/the_make_it_rain_campaign/b1nyoh167i
| prevevent = The Make It Rain Campaign 2020
| nextevent = The Make It Rain Campaign 2022
}}

The Make It Rain Campaign 2021
The Make it Rain Campaign NA Banner 2021.png
Event Start
July 19, 2021
Event Finish
August 11, 2021
Event Chain
The Make It Rain Campaign
Event Page
Link
PreviousNext
The Make It Rain Campaign 2020
The Make It Rain Campaign 2022

The Make It Rain Campaign 2021 is a seasonal event that took place from July 19, 2021 to August 11, 2021.

The Make It Rain Campaign is back again, giving thrill-seekers the chance to earn 50% more MGP!
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!

— Event description