Difference between revisions of "Template:Gacha preview infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (Undo revision 33963 by SurtrFan8511 (talk)) |
SurtrFan8511 (talk | contribs) (Changed the frontpage image link to the gacha page) |
||
Line 14: | Line 14: | ||
padding: 0px; | padding: 0px; | ||
width: 425px; | width: 425px; | ||
height: auto; | |||
} | } | ||
Line 53: | Line 54: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="2">{{#vardefine:banner image | <td colspan="2">{{#vardefine:banner image|{{#show:{{#var:gacha subobj}}|?Has banner image}}}}<div class="banner-image">[[File:{{#var:banner image}}|link={{#var:gacha subobj}}]]</div> | ||
<div class="banner-image"> | |||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 07:32, 25 July 2020
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 | |
From July 05, 2018 at 18:00 until August 05, 2018 at 23:59 |