Template:Event: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
(Event cargo template)
mNo edit summary
 
(17 intermediate revisions by the same user not shown)
Line 2:
{{#cargo_declare:
_table = events
| Id = Integer
| OriginalId = Integer
| Server = String
| Category = String
| NameJP = StringWikitext string
| NameEN = StringWikitext string
| Promo = File
| Image = File
| Start_date = Start datetime
Line 11 ⟶ 14:
| Reward_exchange_start = Datetime
| Reward_exchange_end = Datetime
| Notes = TextWikitext
| Description = Wikitext
}}
</noinclude>
<includeonly>{{#cargo_store:_table=events}}{|
{{#if: {{{SplashIconNameJP|}}} |
{{#cargo_store:_table=events}}
{|
! Server
| {{{Server|}}}
|-
! Category
| {{{Category|}}}
|-
! Japanese name
|{{!}} {{{NameJP|}}}
{{!}}-
|-
|}}
! English name
| {{{NameEN|}}}
|-
! Event period
| {{#time: m/d/Y H:i| @{{#expr: {{#time:U|{{{Start_date|}}}}} + 3600*9 }} }} — {{#time: m/d/Y H:i| @{{#expr: {{#time:U|{{{End_date|}}}}} + 3600*9 }} }}<!--
-->{{#if: {{{Reward_exchange_start|}}} | <nowiki/>
|-
{{!}}-
! Reward exchange
|{{!}} {{#time: m/d/Y H:i| @{{#expr: {{#time:U|{{{Reward_exchange_start|}}}}} + 3600*9 }} }} — {{#time: m/d/Y H:i| @{{#expr: {{#time:U|{{{Reward_exchange_end|}}}}} + 3600*9 }} }}
}}<!--
{{#if: {{{SplashIcon|}}} |
-->{{#if: {{{Notes|}}} | <nowiki/>
{{!}}-
! Notes
{{!}} {{{Notes|}}}
}}<!--
Missing promo image redlink
|}
-->{{#if: {{{Promo|}}} | {{#ifexist: File:{{{Promo|}}} | | <nowiki/>
</includeonly>
{{!}}-
! Promo image
{{!}} [[File:{{{Promo|}}}]] }} }}<!--
Missing banner redlink
-->{{#if: {{{Image|}}} | {{#ifexist: File:{{{Image|}}} | | <nowiki/>
{{!}}-
! Banner image
{{!}} [[File:{{{Image|}}}]] }} }}<!--
-->
|}</includeonly>

Latest revision as of 12:37, 17 June 2024

This template defines the table "events". View table.