Difference between revisions of "Template:Gacha preview infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
|||
Line 97: | Line 97: | ||
}}{{#vardefine:duration array piece end|{{#time:{{#var:duration format}}|{{#replace:{{#replace:{{#var:duration array piece end}}|@|}}|+09:00|+00:00}}}} | }}{{#vardefine:duration array piece end|{{#time:{{#var:duration format}}|{{#replace:{{#replace:{{#var:duration array piece end}}|@|}}|+09:00|+00:00}}}} | ||
}} | }} | ||
<td> | <td>{{#var:duration array piece start|?}} to {{#var:duration array piece end|?}}</td> | ||
</tr>{{#if:{{#varexists:duration primary}}||{{#vardefine:duration primary|{{#var:duration array piece start}} until {{#var:duration array piece end}}}}}}{{#if:{{#pos:{{#var:duration array}}|;}}|| | </tr>{{#if:{{#varexists:duration primary}}||{{#vardefine:duration primary|{{#var:duration array piece start}} until {{#var:duration array piece end}}}}}}{{#if:{{#pos:{{#var:duration array}}|;}}|| | ||
{{#vardefine:duration loop|}} | {{#vardefine:duration loop|}} |
Revision as of 16:27, 15 September 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 | |
July 05, 2018 at 18:00 to August 05, 2018 at 23:59 |