Template:Shadow of Themis: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
imported>Harmonea (further 4SSRmode handling when present) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
|endDate=DateTime | |endDate=DateTime | ||
|featuredCards=List (,) of String | |featuredCards=List (,) of String | ||
}}</noinclude><includeonly>{{#ifeq:{{#titleparts: | |twitterLink=String | ||
|name={{{name|}}} | }}</noinclude><includeonly>{{#ifeq:{{#titleparts:{{PAGENAME}}|2}} | Shadows of Themis/Archive | {{#cargo_store:_table=ShadowOfThemis | ||
|name={{{name|}}}{{#if: {{{4SSRmode|}}} | - {{{4SSRmode|}}} }} | |||
|promoImage={{{promoImage|}}} | |promoImage={{{promoImage|}}} | ||
|bannerType={{{bannerType|}}} | |bannerType={{{bannerType|}}} | ||
Line 17: | Line 18: | ||
|endDate={{{endDate|}}} | |endDate={{{endDate|}}} | ||
|featuredCards={{{featuredCards|}}} | |featuredCards={{{featuredCards|}}} | ||
|twitterLink={{{twitterLink|}}} | |||
}} | }} | ||
}}<nowiki/> | }}<nowiki/> | ||
| [[File:{{{ | |- | ||
| {{{ | | {{#ifeq:{{{4SSRmode|}}}|Luke|rowspan = 4}} style="text-align:center; {{#switch:{{{4SSRmode|}}}|Artem|Vyn|Marius=display:none}}" | [[File:{{{promoImage|}}}|200px|link={{{twitterLink|}}}]]<br/>{{{name|}}} | ||
| {{{bannerType|}}} | | {{#switch:{{{4SSRmode|}}}|Luke = rowspan=4 {{!}} |Artem|Vyn|Marius = style{{=}}"display:none" {{!}}}} {{{bannerType|}}} | ||
| {{{startDate|}}} | | {{#switch:{{{4SSRmode|}}}|Luke = rowspan=4 {{!}} |Artem|Vyn|Marius = style{{=}}"display:none" {{!}}}} {{#if:{{{startDate|}}} | {{{startDate|}}} UTC+9 | N/A }} | ||
| {{{endDate|}}} | | {{#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|}}} | ||
|delimiter={{{delimiter|,}}} | |delimiter={{{delimiter|,}}} | ||
|format={{Card icon|$1|size= | |format={{Card icon|$1|size=52px}} | ||
|replaceString=$1 | |replaceString=$1 | ||
}} | }} | ||
{{#invoke:Loops|parseList | |||
|list={{{featuredCards|}}} | |||
|delimiter={{{delimiter|,}}} | |||
|template=Shadow of Themis/Card list | |||
|template!bannerName={{{name|}}} | |||
|template!startDate={{{startDate|}}} | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 04:25, 30 May 2022
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.
The above documentation is transcluded from Template:Shadow of Themis/doc. (edit | history)