Template:Shadow of Themis: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
mNo edit summary
imported>Harmonea
(further 4SSRmode handling when present)
 
Line 12: Line 12:
|twitterLink=String
|twitterLink=String
}}</noinclude><includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|2}} | Shadows of Themis/Archive | {{#cargo_store:_table=ShadowOfThemis
}}</noinclude><includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|2}} | Shadows of Themis/Archive | {{#cargo_store:_table=ShadowOfThemis
|name={{{name|}}}
|name={{{name|}}}{{#if: {{{4SSRmode|}}} | - {{{4SSRmode|}}} }}
|promoImage={{{promoImage|}}}
|promoImage={{{promoImage|}}}
|bannerType={{{bannerType|}}}
|bannerType={{{bannerType|}}}
Line 22: Line 22:
}}<nowiki/>
}}<nowiki/>
|-
|-
| {{#ifeq:{{{4SSRmode|}}}|1|rowspan = 4}} style="text-align:center; {{#switch:{{{4SSRmode|}}}|2|3|4=display:none}}" | [[File:{{{promoImage|}}}|200px|link={{{twitterLink|}}}]]<br/>{{{name|}}}
| {{#ifeq:{{{4SSRmode|}}}|Luke|rowspan = 4}} style="text-align:center; {{#switch:{{{4SSRmode|}}}|Artem|Vyn|Marius=display:none}}" | [[File:{{{promoImage|}}}|200px|link={{{twitterLink|}}}]]<br/>{{{name|}}}
| {{#switch:{{{4SSRmode|}}}|1 = rowspan=4 {{!}} |2|3|4 = style{{=}}"display:none" {{!}}}} {{{bannerType|}}}
| {{#switch:{{{4SSRmode|}}}|Luke = rowspan=4 {{!}} |Artem|Vyn|Marius = style{{=}}"display:none" {{!}}}} {{{bannerType|}}}
| {{#switch:{{{4SSRmode|}}}|1 = rowspan=4 {{!}} |2|3|4 = style{{=}}"display:none" {{!}}}} {{#if:{{{startDate|}}} | {{{startDate|}}} UTC+9 | N/A }}
| {{#switch:{{{4SSRmode|}}}|Luke = rowspan=4 {{!}} |Artem|Vyn|Marius = style{{=}}"display:none" {{!}}}} {{#if:{{{startDate|}}} | {{{startDate|}}} UTC+9 | N/A }}
| {{#switch:{{{4SSRmode|}}}|1 = rowspan=4 {{!}} |2|3|4 = style{{=}}"display:none" {{!}}}} {{#if:{{{endDate|}}} | {{{endDate|}}} UTC+9 | N/A }}
| {{#switch:{{{4SSRmode|}}}|Luke = rowspan=4 {{!}} |Artem|Vyn|Marius = style{{=}}"display:none" {{!}}}} {{#if:{{{endDate|}}} | {{{endDate|}}} UTC+9 | N/A }}
| {{#invoke:Loops|parseList
| {{#invoke:Loops|parseList
   |list={{{featuredCards|}}}
   |list={{{featuredCards|}}}

Latest revision as of 04:25, 30 May 2022

Template-info.png Documentation

Description[edit source]

Used for storing Shadow of Themis data into Cargo on the Shadow of Themis archive pages.

Usage[edit source]

{{Shadow of Themis
|name=
|promoImage=
|bannerType=
|startDate=
|endDate=
|featuredCards=
|twitterLink=
}}

Parameters[edit source]

  • name - Name of the banner
    • For event banners, the exact name of the banner is enough (e.g. "Dazzling Summer" Shadow of Themis)
    • For rotation banners, they should be called "Shadow of Themis Rotation (startDate-endDate)". For example, Shadow of Themis Rotation (Aug. 06, 2021-Aug. 13, 2021). The dates used should be based on timezone UTC+9 (the timezone social media uses).
  • promoImage - File name of the banner image used to promote the banner. This can usually be found on their Twitter.
  • bannerType - Rotation, Event Exclusive, Permanent, etc. The type of banner can be found in-game when viewing the Shadow of Themis at the top-left.
  • startDate - When the banner starts. Format should be YYYY-MM-DD HH:mm:ss in UTC+9 timezone.
  • endDate - When the banner ends. Format should be YYYY-MM-DD HH:mm:ss in UTC+9 timezone.
  • featuredCards - This is a comma-delimited list of card names. Do not put spaces before/after commas when adding to the list. For example, Luke "Alluring Gaze",Artem "Atmospherics",Vyn "False Tears".
  • twitterLink - Direct link to the Twitter post announcing the banner.
This template defines the table "ShadowOfThemis". View table.