Difference between revisions of "Template:ARR Infobox Event"

(46 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude><pre>
 
<noinclude><pre>
 
{{ARR Infobox Event
 
{{ARR Infobox Event
|Patch  =  
+
|Patch  = 4.56
 
|Event  =  
 
|Event  =  
|Year  = 2016
+
|Year  = 2019
|Begins    = Monday, January 1st, 2016, at 1:00 a.m.(PDT)   <!-- Example -->
+
|Begins    = Monday, January 1st, 2016, at 1:00 a.m.(PDT)
|Concludes = Friday, January 18th, 2016 at 12:59 a.m. (PDT)  <!-- Example -->
+
|Concludes = Friday, January 15th, 2016 at 12:59 a.m. (PDT)
|Header Image = <!-- Manual override if custom header name is required. 499px limit -->
+
|Begins    2 = <!-- Only required if 'Special' Events like Cross-overs have multiple dates -->
 +
|Concludes 2 =  <!-- Only required if 'Special' Events like Cross-overs have multiple dates -->
 +
|Header Image   = <!-- Manual override if custom header name is required. 499px limit -->
 +
|Header Image 2 =
 
|Lodestone Link =  
 
|Lodestone Link =  
 +
|Lodestone Link 2 =
 +
|Event Reward-Title =
 +
|Event Reward-Achievement =
 
|Event Reward-Items =  
 
|Event Reward-Items =  
|Event Reward-Title =
 
 
|Description =  
 
|Description =  
 
}}
 
}}
  
==How to Participate==
+
=== How to Participate ===
<!-- Text about how to partake in the event's activities should go here,  
+
<!-- Text about how to partake in the event's activities should go here,
 
preferably with pictures from the Lodestone's event announcement page.
 
preferably with pictures from the Lodestone's event announcement page.
 
Quests related to this event will automatically show up assuming they're
 
Quests related to this event will automatically show up assuming they're
Line 21: Line 26:
 
At the very bottom of the page, remember the Event Navbox! -->
 
At the very bottom of the page, remember the Event Navbox! -->
  
{| class="wikitable unsortable" align=center style="background:white;color:black;margin: 1em auto 1em auto;"
+
{{Event Location Table
|-  
+
|Location = <!-- ie: Old Gridania -->
! style="background:#000000;color:orange;"|Location Name
+
|Extension = jpg
|-
+
}}
|[[File:Event Name Year Location Name.png|680px|link=Location Name]]
 
|}
 
  
 +
== Artwork ==
 +
<gallery>
 +
File:Name of Artwork Relating to Event.jpg
 +
</gallery>
 
{{ARR EventNavbox}}
 
{{ARR EventNavbox}}
</pre></noinclude><includeonly>{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Event|Event}}} {{#if:{{{Year|}}}|- {{{Year}}}}}|Icon=Seasonalachievementicon.png|Iconsize={{{Iconsize|40px}}}|Type=[[:Category:Events|Event]]|Icons=|Subtitle=}}
+
</pre></noinclude><includeonly>{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Event|Event}}} {{#if:{{{Year|}}}|- {{{Year}}}}}|Icon={{#if:{{{Event|}}}|{{Questiconswitch|icon={{{Event}}} ({{{Year}}})}}|Seasonalachievementicon.png}}|Iconsize={{#if:{{{Event|}}}|{{Questiconsizeswitch|iconsize={{{Event}}} ({{{Year}}})}}|40px}}|Type=[[:Category:Events|Event]]|Icons=|Subtitle=Event Timeline:<br>{{{Begins}}}{{#if:{{{Concludes|}}}|&nbsp;to {{{Concludes}}}}}{{#switch:{{{Year}}}|2010|2011|2012=|#default=&nbsp; (<span class="newwin">[{{{Lodestone Link}}} {{color|white|Source}}]</span>){{#if:{{{Begins 2|}}}|<br>{{{Begins 2}}} to {{{Concludes 2|x}}}&nbsp; (<span class="newwin">[{{{Lodestone Link 2|x}}} {{color|white|Source}}]</span>)}}}}}}
 
|-
 
|-
|height="12px" width="64%" valign="top" colspan="1"|<div style="text-align:center">{{#if:{{{Header Image|}}}|[[File:{{{Header Image|}}}|link={{{Lodestone Link|}}}|499px]]<br>|[[File:{{{Event}}} ({{{Year}}} Event Header.png|link={{{Lodestone Link}}}|499px]]}}</div>{{#if:{{{Description|}}}|<br>
+
|height="12px" width="64%" valign="top" colspan="6"|<div style="text-align:center">{{#switch:{{{Year}}}|2010|2011|2012=|#default={{#if:{{{Header Image|}}}|<span class="newwin">[[File:{{{Header Image|}}}|link={{{Lodestone Link|}}}|499px]]</span><br>|<span class="newwin">[[File:{{{Event}}} ({{{Year}}}) Event Header.png|link={{{Lodestone Link}}}|499px]]</span>}}{{#if:{{{Header Image 2|}}}|<br><span class="newwin">[[File:{{{Header Image 2|}}}|link={{{Lodestone Link 2|}}}|499px]]</span>}}}}</div>{{#if:{{{Description|}}}|<div class="whiteheaders"><br>
{{{Description|}}}
+
{{{Description|}}}</div><div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>|}}
<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>|}}
 
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
 
{{!}}-
 
{{!}}-
 
{{#if:{{{Event Reward-Title|}}}|
 
{{#if:{{{Event Reward-Title|}}}|
{{!}}[[File:titleicon.png|24px|link=Titles]] {{{Event Reward-Title|}}}
+
{{!}}[[File:Titleicon.png|24px|link=Titles]] {{{Event Reward-Title|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Event Reward-Achievement|}}}|
+
{{#if:{{{Event Reward-Achievement|}}}|{{#arraydefine:achieve|{{{Event Reward-Achievement}}}}}
{{!}}[[File:Achievementicon.png|24px|link=:Category:Achievement]] [[{{{Event Reward-Achievement|}}}]]
+
{{!}}colspan="2"{{!}}[[File:Achievementicon.png|24px|link=:Category:Achievement]] Achievement(s):&nbsp;{{#arrayprint:achieve|,&nbsp;|@@@@|[[@@@@]]}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{!}}width="50%"{{!}} {{#if:{{{Event Reward-Items|}}}|{{#arraydefine:eri|{{{Event Reward-Items}}}}}{{#ifexpr: {{#arraysize:eri}} = 1 |{{#arrayprint:eri||@@@@|[[File:@@@@ Icon.png|15px|link=@@@@]] [[@@@@]]}}|{{#arraysort:eri|asc}}{{#arrayslice:eri1|eri|0|{{#expr: {{#arraysize:eri}}/2}}}}{{#arrayprint:eri1|<br>|@@@@|[[File:@@@@ Icon.png|15px|link=@@@@]] [[@@@@]]}}}}}}
+
{{!}}width="50%"{{!}} {{#if:{{{Event Reward-Items|}}}|{{#arraydefine:eri|{{{Event Reward-Items}}}}}{{#ifexpr: {{#arraysize:eri}} = 1 |{{#arrayprint:eri||@@@@|[[File:@@@@ Icon.png|15px|link=@@@@]] [[@@@@]]}}|{{#arraysort:eri|asc}}{{#arrayslice:eri1|eri|0|{{#expr: {{#arraysize:eri}}/2}}}}{{#arrayprint:eri1|<br>|@@@@|{{#ifexist:File: @@@@ Emote Icon.png|[[File:@@@@ Emote Icon.png|15px|link=@@@@]] [[@@@@]]|[[File:@@@@ Icon.png|15px|link=@@@@]] [[@@@@]]}}}}}}}}
{{!}}width="50%"{{!}}{{#ifexpr: {{#arraysize:eri}} = 1 ||{{#arrayslice:eri2|eri|{{#expr: ({{#arraysize:eri}}/2)}}|{{#expr: ({{#arraysize:eri}}/2}}{{#ifexpr: {{#arraysize:eri}} = 1 ||+1}})}}{{#arrayprint:eri2|<br>|@@@@|[[File:@@@@ Icon.png|15px|link=@@@@]] [[@@@@]]}}}}
+
{{!}}width="50%"{{!}}{{#if:{{{Event Reward-Items|}}}|{{#ifexpr: {{#arraysize:eri}} = 1 ||{{#arrayslice:eri2|eri|{{#expr: ({{#arraysize:eri}}/2)}}|{{#expr: ({{#arraysize:eri}}/2}}{{#ifexpr: {{#arraysize:eri}} = 1 ||+1}})}}{{#arrayprint:eri2|<br>|@@@@|{{#ifexist:File: @@@@ Emote Icon.png|[[File:@@@@ Emote Icon.png|15px|link=@@@@]] [[@@@@]]|[[File:@@@@ Icon.png|15px|link=@@@@]] [[@@@@]]}}}}}}}}
 
{{!}}}
 
{{!}}}
|height="12px" width="1%" valign="top" colspan="1" style="border-left: 2px solid #969696;" |
 
|height="12px" width="35%" valign="top" colspan="1" |
 
{{RightBox|
 
{{RBI|Begins|{{{Begins}}}}}
 
{{RBI|Concludes|{{{Concludes}}}}}
 
{{#if:{{{Lodestone Link|}}}|{{RBI|Lodestone|[{{{Lodestone Link|}}} Lodestone Article]}}}}
 
{{#forargs:Custom| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>
 
{{RBI|{{undospace|{{#var:ik}}}}|{{#var:iv}}}}
 
}}}}}}
 
}}
 
 
|-
 
|-
 
{{XIVboxFooter}}{{Refreshlink}}
 
{{XIVboxFooter}}{{Refreshlink}}
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
+
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"
 
{{!}}-
 
{{!}}-
 
{{!}}{{CList2|Title=<span id="Related Quests">Related Quests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Quest|dpl={{#dpl:
 
{{!}}{{CList2|Title=<span id="Related Quests">Related Quests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Quest|dpl={{#dpl:
 
|  uses=Template:ARR Infobox Quest
 
|  uses=Template:ARR Infobox Quest
 
|  category={{Fixtick|{{SUBPAGENAME}}}} Quest
 
|  category={{Fixtick|{{SUBPAGENAME}}}} Quest
|  namespace    =  
+
|  namespace    =
 
|  includepage = {ARR Infobox Quest}:%PAGE%,{ARR Infobox Quest} sidequestrow dplevent
 
|  includepage = {ARR Infobox Quest}:%PAGE%,{ARR Infobox Quest} sidequestrow dplevent
 
|  format      =,,\n
 
|  format      =,,\n
Line 71: Line 67:
 
|  tablesortcol=2
 
|  tablesortcol=2
 
|  suppresserrors=true
 
|  suppresserrors=true
|  dplcache={{fixtick|{{FULLPAGENAME}}}}quests1
 
 
|  noresultsheader = None.
 
|  noresultsheader = None.
}}}}{{CList2|Title=<span id="Other Related">Other Related Activities</span>|CountCat={{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
+
}}}}{{CList2|Title=<span id="NPC Involvement">NPC Involvement</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} NPC|dpl={{#dpl:
|  category    = {{Fixtick|{{SUBPAGENAME}}}}
+
|  category    = {{Fixtick|{{SUBPAGENAME}}}} NPC
|  namespace  =  
+
|  namespace  =
|  includepage = {ARR Infobox Item}:Name
+
|  includepage = {ARR Infobox NPC} quest dplevent
 
|  format      = ,,\n
 
|  format      = ,,\n
|  table      = class="GEtable sortable" width=100%{{!}}Name
+
|  table      = class="GEtable sortable" width=100%,-,width=45%{{!}}Name,class="unsortable"{{!}}Location
 
|  tablerow    = %%
 
|  tablerow    = %%
 
|  suppresserrors=true
 
|  suppresserrors=true
|  dplcache    = {{fixtick|{{FULLPAGENAME}}}}other1
 
 
|  noresultsheader = None.
 
|  noresultsheader = None.
}}}}{{CList2|Title=<span id="NPC Involvement">NPC Involvement</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} NPC|dpl={{#dpl:
+
}}}}
|  category    = {{Fixtick|{{SUBPAGENAME}}}} NPC
+
{{!}}}
|  namespace  =  
+
{{{!}}width="100%"
includepage = {ARR Infobox NPC}:Name,{ARR Infobox NPC} quest dplevent
+
{{!}}width="50%" valign="top"{{!}}
 +
{{{!}} width="100%"
 +
{{!}}-
 +
|{{CList2|Title=<span id="Other Activities">Other Activities</span>|CountCat={{Fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
 +
|  category    = {{Fixtick|{{SUBPAGENAME}}}}
 +
|  namespace  =
 +
uses = Template:ARR Infobox FATE{{!}}Template:ARR Infobox Duty
 +
|  includepage = {ARR Infobox}:Name
 
|  format      = ,,\n
 
|  format      = ,,\n
|  table      = class="GEtable sortable" width=100%,-,width=25%{{!}}Name,class="unsortable"{{!}}Location
+
|  table      = class="GEtable sortable" width=100%{{!}}Name
|  tablerow    = [[%%]]
+
|  tablerow    = %%
 
|  suppresserrors=true
 
|  suppresserrors=true
dplcache    = {{fixtick|{{FULLPAGENAME}}}}npcs1
+
noresultsheader =  
|  noresultsheader = None.
+
}}}}
}}}}{{CList2|Title=<span id="Enemy Involvement">Monster Involvement</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Monster|dpl={{#dpl:
+
{{!}}}
 +
{{!}}width="50%" valign="top"{{!}}
 +
{{{!}}width="100%"
 +
{{!}}-
 +
{{!}}{{CList2|Title=<span id="Enemy Involvement">Monster Involvement</span>|CountCat={{Fixtick|{{SUBPAGENAME}}}} Monster|dpl={{#dpl:
 
|  category    = {{Fixtick|{{SUBPAGENAME}}}} Monster
 
|  category    = {{Fixtick|{{SUBPAGENAME}}}} Monster
|  namespace  =  
+
|  namespace  =
|  includepage = {ARR Infobox Mob}:Name,{ARR Mob Row}:Location:FATE
+
|  includepage = {ARR Infobox Item}:Name
|  includematch= /Event\s*{{=}}\s*[^{{!}}]*{{fixtick|{{PAGENAME}}}}/s
 
 
|  format      = ,,\n
 
|  format      = ,,\n
|  table      = class="GEtable sortable" width=100%,-,width=25%{{!}}Name,class="unsortable"{{!}}Location
+
|  table      = class="GEtable sortable" width=100%{{!}}Name
|  tablerow    = [[%%]]
+
|  tablerow    = %%
 
|  suppresserrors=true
 
|  suppresserrors=true
|  dplcache    = {{fixtick|{{FULLPAGENAME}}}}monsters1
 
 
|  noresultsheader = None.
 
|  noresultsheader = None.
 
}}}}
 
}}}}
|}
+
{{!}}}
 +
{{!}}}
 
[[Category:Events]][[Category:{{{Event}}}]]{{#if:{{{Event Reward-Items|}}}|{{#arrayprint:eri||@@@@|[[Category:@@@@ Rewarded from Event]]}}}}{{#if:{{{Event Additional-Items|}}}|{{#arraydefine:eai|{{{Event Additional-Items}}}}}{{#arraysort:eai|asc}}{{#arrayprint:eai||@@@@|[[Category:@@@@ Rewarded from Event]]}}}}
 
[[Category:Events]][[Category:{{{Event}}}]]{{#if:{{{Event Reward-Items|}}}|{{#arrayprint:eri||@@@@|[[Category:@@@@ Rewarded from Event]]}}}}{{#if:{{{Event Additional-Items|}}}|{{#arraydefine:eai|{{{Event Additional-Items}}}}}{{#arraysort:eai|asc}}{{#arrayprint:eai||@@@@|[[Category:@@@@ Rewarded from Event]]}}}}
__NOEDITSECTION__ __NOTOC__
+
__NOEDITSECTION__ __NOTOC__</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
</includeonly><noinclude>[[Category:Template|{{PAGENAME}}]]</noinclude>
 

Revision as of 15:03, 23 March 2020

{{ARR Infobox Event
|Patch  = 4.56
|Event  = 
|Year   = 2019
|Begins    = Monday, January 1st, 2016, at 1:00 a.m.(PDT)
|Concludes = Friday, January 15th, 2016 at 12:59 a.m. (PDT)
|Begins    2 =  <!-- Only required if 'Special' Events like Cross-overs have multiple dates -->
|Concludes 2 =  <!-- Only required if 'Special' Events like Cross-overs have multiple dates -->
|Header Image   = <!-- Manual override if custom header name is required. 499px limit -->
|Header Image 2 = 
|Lodestone Link = 
|Lodestone Link 2 = 
|Event Reward-Title = 
|Event Reward-Achievement = 
|Event Reward-Items = 
|Description = 
}}

=== How to Participate ===
<!-- Text about how to partake in the event's activities should go here,
preferably with pictures from the Lodestone's event announcement page.
Quests related to this event will automatically show up assuming they're
tagged correctly with the "|Event = " tag on the quest's page itself.
An example table (used on almost every event so far) is included for reference.
At the very bottom of the page, remember the Event Navbox! -->

{{Event Location Table
|Location = <!-- ie: Old Gridania -->
|Extension = jpg
}}

== Artwork ==
<gallery>
File:Name of Artwork Relating to Event.jpg
</gallery>
{{ARR EventNavbox}}