Difference between revisions of "Template:Event preview infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 14: Line 14:
td > .banner-image > a > img {
td > .banner-image > a > img {
     padding: 0px;
     padding: 0px;
    text-align: center;
     width: 425px;
     width: 425px;
     height: auto;
     height: auto;

Revision as of 04:35, 28 July 2020

Description

This template displays an event's information through an infobox.

Usage

{{Event preview infobox
| en name = 
| jp name =
| banners = 
| floats =
| use jp =
}}

Parameters

en name
English name of event
jp name
Japanese name of event (optional if en name is provided; required if not).
banners
Number of banners to show; defaults to 1. Provide 0 to show all.
floats
Determines if it should float to the right; only "true" enables it.
use jp
For the title: uses the JP name if en name is provided if true; uses the EN name if jp name is provided if false.

Examples

{{Event preview infobox
| en name = Honorless Great Summer Festival Struggle
| banners = 2
}}
Honorless Great Summer Festival Struggle
Durations
Gacha From July 05, 2018 at 18:00 until August 06, 2018 at 23:59
Event Main Quest From July 09, 2018 at 00:00 until August 06, 2018 at 23:59
Event Free Quest From July 09, 2018 at 00:00 until July 30, 2018 at 23:59
Bonus Quests From August 02, 2018 at 00:00 until August 06, 2018 at 23:59