Difference between revisions of "Template:Gacha preview infobox"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
padding: 2px; | padding: 2px; | ||
text-align: center; | text-align: center; | ||
overflow: visible; | overflow: visible; | ||
position: relative; | position: relative; | ||
Line 49: | Line 48: | ||
|searchlabel= | |searchlabel= | ||
}} | }} | ||
}}{{#if:{{#var:gacha subobj}}|<table id="gacha{{#gachanumber}}" class="preview-infobox"> | }}{{#if:{{#var:gacha subobj}}|<table id="gacha{{#gachanumber}}" class="preview-infobox" style="{{#ifeq:{{{floats|false}}}|true|float: right;}}"> | ||
<tr> | <tr> | ||
<th colspan="2">[[{{#var:gacha subobj}}|{{{en name|{{{jp name|???}}}}}}]]</th> | <th colspan="2">[[{{#var:gacha subobj}}|{{{en name|{{{jp name|???}}}}}}]]</th> |
Revision as of 19:00, 28 December 2018
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 |