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 start|{{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|0}}}}{{#vardefine:duration array piece end|{{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|1}}}} | {{#vardefine:duration array piece|{{#sub:{{#var:duration array}}|0|{{#pos:{{#var:duration array}}|;}}}}}}{{#vardefine:duration array piece start|{{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|0}}}}{{#vardefine:duration array piece end|{{#explode:{{#explode:{{#var:duration array piece}}|!|1}}|->|1}}}} | ||
<tr> | <tr> | ||
{{#vardefine:duration array tag | {{#vardefine:duration array tag|b}} | ||
<td><{{#var:duration array tag}}>{{#explode:{{#var:duration array piece}}|!|0}}</{{#var:duration array tag}}> | <td><{{#var:duration array tag}}>{{#explode:{{#var:duration array piece}}|!|0}}</{{#var:duration array tag}}> | ||
</td> | </td> |
Revision as of 05:56, 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 |