Difference between revisions of "Template:Event preview infobox"
Jump to navigation
Jump to search
Line 64: | Line 64: | ||
{{#vardefine:duration array piece|{{#sub:{{#var:duration array}}|0|{{#pos:{{#var:duration array}}|;}}}}}} | {{#vardefine:duration array piece|{{#sub:{{#var:duration array}}|0|{{#pos:{{#var:duration array}}|;}}}}}} | ||
<tr> | <tr> | ||
<td>{{#explode:{{#var:duration array piece}}|!|0}}</td> | <td><b>{{#explode:{{#var:duration array piece}}|!|0}}</b></td> | ||
<td>From {{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|0}} until {{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|1}}</td> | <td>From {{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|0}} until {{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|1}}</td> | ||
</tr> | </tr> |
Revision as of 05:00, 13 July 2018
Description
This template displays.
Usage
{{Event preview infobox | en name = | jp name = | banners = | floats = }}
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.
Examples
{{Event preview infobox | en name = Honorless Great Summer Festival Struggle | banners = 2 }}
Honorless Great Summer Festival Struggle | |
---|---|
Durations | |
Gacha | From 2018-07-05T18:00:00+09:00 until 2018-08-06T23:59:00+09:00 |
Event Main Quest | From 2018-07-09T00:00:00+09:00 until 2018-08-06T23:59:00+09:00 |
Event Free Quest | From 2018-07-09T00:00:00+09:00 until 2018-07-30T23:59:00+09:00 |
Bonus Quests | From 2018-08-02T00:00:00+09:00 until 2018-08-06T23:59:00+09:00 |