Difference between revisions of "Template:ARR Infobox Event"

(77 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude><pre>
 
<noinclude><pre>
 
{{ARR Infobox Event
 
{{ARR Infobox Event
|Event=
+
|Patch  = 4.56
|Year=2014
+
|Event =  
|Begins =  
+
|Year   = 2019
|Concludes =  
+
|Begins   = Monday, January 1st, 2016, at 1:00 a.m.(PDT)
|Event Reward-Items=
+
|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==
+
=== 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
 +
}}
  
}}</pre></noinclude>{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Event|Event}}} {{#if:{{{Year|}}}|- {{{Year}}}}}|Icon=Seasonalachievementicon.png|Iconsize={{{Iconsize|40px}}}|Type=[[:Category:Events|Event]]|Icons=|Subtitle=}}
+
== Artwork ==
 +
<gallery>
 +
File:Name of Artwork Relating to Event.jpg
 +
</gallery>
 +
{{ARR EventNavbox}}
 +
</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"|{{#if:{{{Description|}}}|
+
|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:eri1||@@@@|[[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%"{{!}}{{#arrayslice:eri2|eri|{{#expr: ({{#arraysize:eri}}/2)}}|{{#expr: ({{#arraysize:eri}}/2}}+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}}}}}
 
}}
 
 
|-
 
|-
 
{{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:
Line 41: Line 61:
 
|  category={{Fixtick|{{SUBPAGENAME}}}} Quest
 
|  category={{Fixtick|{{SUBPAGENAME}}}} Quest
 
|  namespace    =  
 
|  namespace    =  
|  includepage = {ARR Infobox Quest}:%PAGE%,{ARR Infobox Quest} sidequestrow dpl
+
|  includepage = {ARR Infobox Quest} newdpl
 +
|  table      =class="GEtable sortable" width=100%,-,{{!}}Name,class="unsortable"{{!}}Rewards,Patch
 +
|  format      =,,\n
 +
|  tablerow =%%
 +
|  tablesortcol=1
 +
| dplcache=quests{{fixtick|{{FULLPAGENAME}}}}-3abc
 +
|  suppresserrors=true
 +
|  noresultsheader = None.
 +
}}
 +
{{#dpl:
 +
|  uses=Template:ARR Infobox Quest2
 +
|  category={{Fixtick|{{SUBPAGENAME}}}} Quest
 +
|  namespace    =
 +
|  includepage = {ARR Infobox Quest2} newdpl
 +
|  table      =class="GEtable sortable" width=100%,-,{{!}}Name,class="unsortable"{{!}}Rewards,Patch
 
|  format      =,,\n
 
|  format      =,,\n
|  table      =class="GEtable sortable" width=100%,-,width=25%{{!}}Name,Lvl,class="unsortable" {{!}}XP,Gil,style="padding-right:50px;"{{!}}Location
+
|  tablerow =%%
|  tablerow =[[%%]],,%%
+
|  tablesortcol=1
tablesortcol=2
+
| dplcache=quests{{fixtick|{{FULLPAGENAME}}}}-3a
 +
|  suppresserrors=true
 +
|  noresultsheader = None.
 +
}}}}{{CList2|Title=<span id="NPC Involvement">NPC Involvement</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} NPC|dpl={{#dpl:
 +
|  category    = {{Fixtick|{{SUBPAGENAME}}}} NPC
 +
|  uses=Template:Infobox NPC
 +
|  namespace  =
 +
|  includepage = {Infobox NPC}:Name
 +
|  format      = ,,\n
 +
|  table      = class="GEtable sortable" width=100%,-,width=45%{{!}}Name
 +
|  tablerow    = [[%%]]
 +
|  suppresserrors=true
 +
|  noresultsheader = None.
 +
}}}}
 +
{{!}}}
 +
{{{!}}width="100%"
 +
{{!}}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
 +
|  table      = class="GEtable sortable" width=100%{{!}}Name
 +
|  tablerow   = %%
 +
|  suppresserrors=true
 +
|  noresultsheader =
 +
}}}}
 +
{{!}}}
 +
{{!}}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
 +
|  namespace  =
 +
|  includepage = {ARR Infobox Item}:Name
 +
|  format      = ,,\n
 +
|  table      = class="GEtable sortable" width=100%{{!}}Name
 +
tablerow    = %%
 
|  suppresserrors=true
 
|  suppresserrors=true
|  dplcache={{fixtick|{{FULLPAGENAME}}}}1
 
 
|  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>

Revision as of 11:25, 19 July 2021

{{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}}