Difference between revisions of "Template:Gacha preview infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:


td > .banner-image > a > img {
td > .banner-image > a > img {
    padding: 0px;
    width: 425px;
    height: auto;
}
td > .banner-image > img {
     padding: 0px;
     padding: 0px;
     width: 425px;
     width: 425px;
Line 62: Line 68:
   </td>
   </td>
</tr>
</tr>
{{#if:{{#var:gacha id|}}|
<tr><th colspan="2">Gacha ID: {{#var:gacha id|}}</td></th>
<tr><th colspan="2">Gacha Filename: {{#var:gacha filename|}}</td></th>
}}
{{#if:{{{show news link|}}}|<tr>
{{#if:{{{show news link|}}}|<tr>
   <th colspan="2">[{{#show:{{#var:gacha subobj}}|?Has news link}} News link]</th>
   <th colspan="2">[{{#show:{{#var:gacha subobj}}|?Has news link}} News link]</th>

Latest revision as of 18:31, 25 April 2021

Description

This template displays a gacha's information through an infobox.

Usage

{{Gacha preview infobox
| en name = 
| jp name =
| banners = 
| floats =
}}

Parameters

en name
English name of gacha
jp name
Japanese name of gacha (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.

Examples

{{Gacha preview infobox
| en name = Honorless Great Summer Festival Struggle
| banners = 2
}}
Honorless Great Summer Festival Struggle
Durations
Duration July 05, 2018 18:00 to August 05, 2018 23:59