More actions
(moved tradable characters to the bottom, fixed logic for collapsing character/grimoire sections, added tradable_grimoires and trade_item fields) |
(adding params storypg and gachapg to store the page name for the related gacha/story) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
</tr><!-- | </tr><!-- | ||
--> | --><tr><td colspan="2" style="text-align:center;">{{#if:{{{image|}}}|[[File:{{{image|}}}|500x600px]]}}<!-- | ||
-->{{#if:{{{image2|}}}|[[File:{{{image2|}}}|260x500px]]</td></tr> | -->{{#if:{{{image2|}}}|[[File:{{{image2|}}}|260x500px]]}}</td></tr><!-- | ||
--><tr><th>Event Type</th><td>{{{eventtype|}}}</td></tr> | --><tr><th>Event Type</th><td>{{{eventtype|}}}</td></tr> | ||
<tr><th>Duration</th><td>{{#if:{{{start|}}}|{{{start}}} JST}} <!-- | <tr><th>Duration</th><td>{{#if:{{{start|}}}|{{#time:Y, F d H:i|{{{start}}}}} JST}} <!-- | ||
-->{{#if:{{{start|}}}|{{#if:{{{end|}}}|~ }} }}<!-- | -->{{#if:{{{start|}}}|{{#if:{{{end|}}}|~}}}} <!-- | ||
-->{{#if:{{{end|}}}|{{{end}}} JST}}</td> | -->{{#if:{{{end|}}}|{{#time:Y, F d H:i|{{{end}}}}} JST}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 35: | Line 35: | ||
{{Icon Grid | {{Icon Grid | ||
|{{#arraymap:{{{featured_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | |{{#arraymap:{{{featured_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | ||
|text-align= | |text-align=center|maxwidth=100%}} | ||
</td></tr> | </td></tr> | ||
}}<!-- | }}<!-- | ||
Line 44: | Line 44: | ||
{{Icon Grid | {{Icon Grid | ||
|{{#arraymap:{{{new_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | |{{#arraymap:{{{new_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | ||
|text-align= | |text-align=center|maxwidth=100%}} | ||
</td></tr> | </td></tr> | ||
}} | }} | ||
Line 62: | Line 62: | ||
{{Icon Grid | {{Icon Grid | ||
|{{#arraymap:{{{featured_grimoires|}}}|,|x|{{bbdw|grim|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | |{{#arraymap:{{{featured_grimoires|}}}|,|x|{{bbdw|grim|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | ||
|text-align= | |text-align=center|maxwidth=100%}} | ||
</td></tr> | </td></tr> | ||
}}<!-- | }}<!-- | ||
Line 74: | Line 74: | ||
{{Icon Grid | {{Icon Grid | ||
|{{#arraymap:{{{new_grimoires|}}}|,|x|{{bbdw|grim|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | |{{#arraymap:{{{new_grimoires|}}}|,|x|{{bbdw|grim|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | ||
|text-align= | |text-align=center|maxwidth=100%}} | ||
</td></tr> | </td></tr> | ||
}}</table> | }}</table> | ||
Line 83: | Line 83: | ||
-->{{#if:{{{tradable_chars|}}}| | -->{{#if:{{{tradable_chars|}}}| | ||
<tr><td style="vertical-align:top;"> | <tr><td style="vertical-align:top;"> | ||
<div style="text-align:center"> | <div style="text-align:center">Exchangeable Characters {{#if:{{{trade_item|}}}|{{bbdw|item|{{{trade_item|}}}|display=icononly|width=25px}}}}<br>{{bbdw|Rarity SS}} - 300</div> | ||
{{Icon Grid | {{Icon Grid | ||
|{{#arraymap:{{{tradable_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | |{{#arraymap:{{{tradable_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | ||
|text-align= | |text-align=center|maxwidth=100%}} | ||
</td></tr> | </td></tr> | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{tradable_grimoires|}}}| | ||
<tr><td style="vertical-align:top;"> | <tr><td style="vertical-align:top;"> | ||
<div style="text-align:center"> | <div style="text-align:center">Exchangeable Grimoires {{#if:{{{trade_item|}}}|{{bbdw|item|{{{trade_item|}}}|display=icononly|width=25px}}}}<br>★5 - 150</div> | ||
{{Icon Grid | {{Icon Grid | ||
|{{#arraymap:{{{tradable_grimoires|}}}|,|x|{{bbdw|grim|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | |{{#arraymap:{{{tradable_grimoires|}}}|,|x|{{bbdw|grim|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}} | ||
|text-align= | |text-align=center|maxwidth=100%}} | ||
</td></tr> | </td></tr> | ||
}}<!-- | }}<!-- | ||
Line 105: | Line 105: | ||
<tr><th>Notes</th></tr> | <tr><th>Notes</th></tr> | ||
<tr><td>{{{notes|}}}</td></tr><!-- | <tr><td>{{{notes|}}}</td></tr><!-- | ||
--></table>}}<!-- | --></table>}} | ||
__TOC__<!-- | |||
-->[[Category:BBDW Event]]<!-- | -->[[Category:BBDW Event]]<!-- | ||
Line 123: | Line 124: | ||
|new_grimoires={{{new_grimoires|}}} | |new_grimoires={{{new_grimoires|}}} | ||
|notes={{{notes|}}} | |notes={{{notes|}}} | ||
|gachapg={{{gachapg|}}} | |||
|storypg={{{storypg|}}} | |||
}}<!-- | }}<!-- | ||
Line 140: | Line 143: | ||
|new_grimoires=List (,) of String | |new_grimoires=List (,) of String | ||
|notes=Wikitext | |notes=Wikitext | ||
|gachapg=Page | |||
|storypg=Page | |||
}} | }} | ||
Adds basic info about a BBDW event or gacha. | Adds basic info about a BBDW event or gacha. | ||
See also | |||
* [[Template:BBDW Event/Preload]] for the text/headers that are pre-loaded into event pages when they are created using [[Form:BBDW Event]]. | |||
* [[Form:BBDW Event]] - Create or edit BBDW event pages | |||
* [[Form:BBDW Gacha]] - Create or edit BBDW gacha pages | |||
==Usage== | ==Usage== | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 166: | Line 177: | ||
|notes= | |notes= | ||
|gachapg=name of the page for the related gacha | |||
|storypg=name of the page for related story | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:33, 31 December 2021
This template defines the table "BBDW_Events". View table.
Adds basic info about a BBDW event or gacha.
See also
- Template:BBDW Event/Preload for the text/headers that are pre-loaded into event pages when they are created using Form:BBDW Event.
- Form:BBDW Event - Create or edit BBDW event pages
- Form:BBDW Gacha - Create or edit BBDW gacha pages
Usage
{{BBDW Event |nameen=Test Gacha |namejp=テストガチャ |namejpalt= |image= |image2= |eventtype=Gacha |start=2021/02/16 12:00:00AM |end= |featured_chars=Rate-Up characters for gacha; Event Bonus characters for events |new_chars=other newly added characters in the gacha or event that aren't on rate-up or have an event bonus |featured_grimoires=Rate-Up Grimoires |new_grimoires=Other new grimoires added to the event or gacha that don't have rate-up or event bonus. |tradable_chars=Characters that can be traded for from the gacha exchange. |tradable_grimoires= |trade_item=Item name |notes= |gachapg=name of the page for the related gacha |storypg=name of the page for related story }}