Difference between revisions of "Template:Event"
Jump to navigation
Jump to search
>Eave m (replace colons in event name when getting the banner - image names cannot have colons) |
>Eave (making enddate optional - when not supplied we should not attempt to store a blank value, doing so will cause cargo to use the current time instead) |
||
| Line 20: | Line 20: | ||
// Cargo Store | // Cargo Store | ||
| − | -->{{#ifeq:{{PAGENAME}} | {{{Name|}}} | | {{#cargo_store:_table=Events | + | -->{{#ifeq:{{PAGENAME}} | {{{Name|}}} | | |
| + | {{#if:{{{EndDate|}}} | ||
| + | | {{#cargo_store:_table=Events | ||
|Name={{{Name|}}} | |Name={{{Name|}}} | ||
|NameJP={{{NameJP|}}} | |NameJP={{{NameJP|}}} | ||
| Line 36: | Line 38: | ||
|ExclusiveWeapon={{{ExclusiveWeapon|}}}{{{CustomWeaponList|}}} | |ExclusiveWeapon={{{ExclusiveWeapon|}}}{{{CustomWeaponList|}}} | ||
}} | }} | ||
| + | | {{#cargo_store:_table=Events | ||
| + | |Name={{{Name|}}} | ||
| + | |NameJP={{{NameJP|}}} | ||
| + | |NameSC={{{NameSC|}}} | ||
| + | |NameTC={{{NameTC|}}} | ||
| + | |Date={{{Date|}}} | ||
| + | |Type={{{Type|}}} | ||
| + | |Description={{{Description|}}} | ||
| + | |StartDate={{#time:F d, Y h:i:s A e|{{{StartDate|}}}}} | ||
| + | |ExclusiveAdventurer={{{ExclusiveAdventurer|}}} | ||
| + | |ExclusiveDragon={{{ExclusiveDragon|}}} | ||
| + | |ExclusiveWyrmprint={{{ExclusiveWyrmprint|}}}{{{CustomWyrmprintList|}}} | ||
| + | |ExclusiveFacility={{{ExclusiveFacility|}}} | ||
| + | |ExclusiveWeapon={{{ExclusiveWeapon|}}}{{{CustomWeaponList|}}} | ||
| + | }} | ||
| + | }}<!-- END if:EndDate --> | ||
}}</includeonly><!-- | }}</includeonly><!-- | ||
Revision as of 03:46, 28 March 2020
Usage
{{Event
|Name=
|NameJP=
|NameSC=
|NameTC=
|Date=
|Type=
|Description=
|EnemyElement=
|EnemyAffliction=
|ThemeSong=
|StartDate=
|EndDate=
|Rerun=
|Content=
|RaidBoosts=
|RareRaidBoosts=
|PersonalPerks=
|Battles=
|BattleQuestName1=
|ExclusiveAdventurer=
|ExclusiveDragon=
|ExclusiveWyrmprint=
|ExclusiveFacility=
|ExclusiveWeapon=
|TreasureTradeShop=
|CollectionRewards=
|EventMaterialCollection=
|SummonRewards=
|EventMaterialSummon=
|5StarSummonWyrmprint=
}}
This template defines the table "Events". This table has not been created yet.