Template:BBDW Event: Difference between revisions

Template page
m (fixed typos)
(added new parameter tradable_chars for gacha exchange, renamed table labels to be clearer)
Line 22: Line 22:
--></table><!--
--></table><!--


-->{{#if:{{{featured_chars|}}}{{{new_chars|}}}|
-->{{#if:{{{featured_chars|}}}{{{tradable_chars|}}}{{{new_chars|}}}|
<table class="wikitable {{#if:{{{new_chars|}}}|mw-collapsible}}" style="margin-top:0;margin-bottom:0;width:100%;"><!--
<table class="wikitable {{#if:{{{new_chars|}}}|mw-collapsible}}" style="margin-top:0;margin-bottom:0;width:100%;"><!--


-->{{#if:{{{featured_chars|}}}|
-->{{#if:{{{featured_chars|}}}|
<tr><td style="vertical-align:top;">
<tr><td style="vertical-align:top;">
<div style="text-align:center">Featured Characters</div>
<div style="text-align:center">{{#switch:{{{eventtype|}}}
|Gacha=Characters on Rate Up
|Event=Characters with an Event Bonus
|#default=Featured Characters
}}</div>
{{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=left}}
</td></tr>
}}<!--
-->{{#if:{{{tradable_chars|}}}|
<tr><td style="vertical-align:top;">
<div style="text-align:center">Exchangeable Characters</div>
{{Icon Grid
|{{#arraymap:{{{tradable_chars|}}}|,|x|{{bbdw|char|{{#sub:x|0|{{#pos:x|,}}}}}}|\s}}
|text-align=left}}
|text-align=left}}
</td></tr>
</td></tr>
Line 36: Line 49:
-->{{#if:{{{new_chars|}}}|
-->{{#if:{{{new_chars|}}}|
<tr><td style="vertical-align:top;">
<tr><td style="vertical-align:top;">
<div style="text-align:center">New Characters</div>
<div style="text-align:center">Other New Characters</div>
{{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=left}}
|text-align=left}}
</td></tr>
</td></tr>
}}</table>
}}
</table>
}}<!--
}}<!--


-->{{#if:{{{featured_grimoires|}}}{{{new_grimoires|}}}|
-->{{#if:{{{featured_grimoires|}}}{{{new_grimoires|}}}|
<table class="wikitable {{#if:{{{new_grimoires|}}}|mw-collapsible}}" style="margin-top:0;margin-bottom:0;width:100%;"><!--
<table class="wikitable {{#if:{{{featured_grimoires|}}}{{{new_grimoires|}}}|mw-collapsible}}" style="margin-top:0;margin-bottom:0;width:100%;"><!--


-->{{#if:{{{featured_grimoires|}}}|
-->{{#if:{{{featured_grimoires|}}}|
<tr><td style="vertical-align:top;">
<tr><td style="vertical-align:top;">
<div style="text-align:center">Featured Grimoires</div>
<div style="text-align:center">{{#switch:{{{eventtype|}}}
|Gacha=Grimoires on Rate Up
|Event=Grimoires with an Event Bonus
|#default=Featured Grimoires
}}</div>
{{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}}
Line 116: Line 134:
|start=2021/02/16 12:00:00AM
|start=2021/02/16 12:00:00AM
|end=
|end=
|featured_chars=Jin Kisaragi, Zwei
 
|featured_grimoires=A Gentle Hand,Invisible
|featured_chars=Rate-Up characters for gacha; Event Bonus characters for events
|new_chars=Jin Kisaragi, Zwei, Kuon Glamred Stroheim, Saya Terumi, Valkenhayn Hellsing (BE), Mai Natsume, Makoto Nanaya, Ripper, Valkenhayn R. Hellsing, Acht, Akane Teruhiko, Arakune, Bang Shishigami, Bullet, Drei, Kajun Faycott, Kiiro Hikagami, Iron Tager, Tirnity Glassfille, Relius Clover (BE)
|tradable_chars=Characters that can be traded for from the gacha exchange.
|new_grimoires=
|new_chars=other newly added characters in the gacha or event that aren't on rate-up or have an event bonus
|others=
 
|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.
|notes=
|notes=
}}
}}

Revision as of 01:19, 26 February 2021

This template defines the table "BBDW_Events". View table.

Adds basic info about a BBDW event or gacha.

Usage

{{BBDW Event
|nameen=Tutorial Gacha
|namejp=chuchoriaru gacha
|namejpalt=
|image=
|eventtype=Gacha
|start=2021/02/16 12:00:00AM
|end=

|featured_chars=Rate-Up characters for gacha; Event Bonus characters for events
|tradable_chars=Characters that can be traded for from the gacha exchange.
|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.
|notes=
}}