Difference between revisions of "Template:BackupMonstersTable"
From Cassette Beasts
(Change 0% rates to dashes for improved readability) |
(Only include separate day and night rates if day_and_night is set to "yes") |
||
Line 1: | Line 1: | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
− | <th colspan=3 rowspan=2>Species</th> | + | <th colspan=3 {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Species</th> |
− | <th rowspan=2>Type</th> | + | <th {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Type</th> |
− | <th colspan=2>Rate</th> | + | <th {{#ifeq: {{{day_and_night|}}}|yes|colspan=2}}>Rate</th> |
</tr> | </tr> | ||
− | <tr> | + | {{#ifeq: {{{day_and_night|}}}|yes|<tr> |
<th>Day</th> | <th>Day</th> | ||
<th>Night</th> | <th>Night</th> | ||
− | </tr> | + | </tr>}} |
<tr> | <tr> | ||
<td align="center">[[File:{{#invoke:Database|get_species|{{{monster_1}}}|name}}.png|42x42px]]</td> | <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_1}}}|name}}.png|42x42px]]</td> | ||
Line 15: | Line 15: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_1}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_1}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_1_rate_day}}}|0.0|-|{{{monster_1_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_1_rate_day}}}|0.0|-|{{{monster_1_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_1_rate_night}}}|0.0|-|{{{monster_1_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_1_rate_night}}}|0.0|-|{{{monster_1_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
{{#if: {{{monster_2|}}}| | {{#if: {{{monster_2|}}}| | ||
Line 24: | Line 24: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_2}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_2}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_2_rate_day}}}|0.0|-|{{{monster_2_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_2_rate_day}}}|0.0|-|{{{monster_2_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_2_rate_night}}}|0.0|-|{{{monster_2_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_2_rate_night}}}|0.0|-|{{{monster_2_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 34: | Line 34: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_3}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_3}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_3_rate_day}}}|0.0|-|{{{monster_3_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_3_rate_day}}}|0.0|-|{{{monster_3_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_3_rate_night}}}|0.0|-|{{{monster_3_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_3_rate_night}}}|0.0|-|{{{monster_3_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 44: | Line 44: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_4}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_4}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_4_rate_day}}}|0.0|-|{{{monster_4_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_4_rate_day}}}|0.0|-|{{{monster_4_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_4_rate_night}}}|0.0|-|{{{monster_4_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_4_rate_night}}}|0.0|-|{{{monster_4_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 54: | Line 54: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_5}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_5}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_5_rate_day}}}|0.0|-|{{{monster_5_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_5_rate_day}}}|0.0|-|{{{monster_5_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_5_rate_night}}}|0.0|-|{{{monster_5_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_5_rate_night}}}|0.0|-|{{{monster_5_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 64: | Line 64: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_6}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_6}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_6_rate_day}}}|0.0|-|{{{monster_6_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_6_rate_day}}}|0.0|-|{{{monster_6_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_6_rate_night}}}|0.0|-|{{{monster_6_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_6_rate_night}}}|0.0|-|{{{monster_6_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 74: | Line 74: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_7}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_7}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_7_rate_day}}}|0.0|-|{{{monster_7_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_7_rate_day}}}|0.0|-|{{{monster_7_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_7_rate_night}}}|0.0|-|{{{monster_7_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_7_rate_night}}}|0.0|-|{{{monster_7_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 84: | Line 84: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_8}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_8}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_8_rate_day}}}|0.0|-|{{{monster_8_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_8_rate_day}}}|0.0|-|{{{monster_8_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_8_rate_night}}}|0.0|-|{{{monster_8_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_8_rate_night}}}|0.0|-|{{{monster_8_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 94: | Line 94: | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_9}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_9}}}|elemental_type}}}}</td> | ||
<td align="center">{{#ifeq: {{{monster_9_rate_day}}}|0.0|-|{{{monster_9_rate_day}}} %}}</td> | <td align="center">{{#ifeq: {{{monster_9_rate_day}}}|0.0|-|{{{monster_9_rate_day}}} %}}</td> | ||
− | <td align="center">{{#ifeq: {{{monster_9_rate_night}}}|0.0|-|{{{monster_9_rate_night}}} %}}</td> | + | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_9_rate_night}}}|0.0|-|{{{monster_9_rate_night}}} %}}</td>}} |
</tr> | </tr> | ||
}} | }} | ||
Line 100: | Line 100: | ||
== Examples == | == Examples == | ||
{{BackupMonstersTable | {{BackupMonstersTable | ||
+ | | day_and_night = yes | ||
| monster_1 = Traffikrab | | monster_1 = Traffikrab | ||
| monster_1_rate_day = 100 | | monster_1_rate_day = 100 | ||
Line 105: | Line 106: | ||
}} | }} | ||
{{BackupMonstersTable | {{BackupMonstersTable | ||
+ | | day_and_night = yes | ||
| monster_1 = Traffikrab | | monster_1 = Traffikrab | ||
| monster_1_rate_day = 11 | | monster_1_rate_day = 11 | ||
Line 131: | Line 133: | ||
| monster_9 = Zombleat | | monster_9 = Zombleat | ||
| monster_9_rate_day = 19 | | monster_9_rate_day = 19 | ||
+ | | monster_9_rate_night = 0.0 | ||
+ | }} | ||
+ | {{BackupMonstersTable | ||
+ | | day_and_night = yes | ||
+ | | monster_1 = Traffikrab | ||
+ | | monster_1_rate_day = 0.0 | ||
+ | | monster_1_rate_night = 0.0 | ||
+ | | monster_2 = Springheel | ||
+ | | monster_2_rate_day = 0.0 | ||
+ | | monster_2_rate_night = 0.0 | ||
+ | | monster_3 = Dandylion | ||
+ | | monster_3_rate_day = 0.0 | ||
+ | | monster_3_rate_night = 0.0 | ||
+ | | monster_4 = Pombomb | ||
+ | | monster_4_rate_day = 0.0 | ||
+ | | monster_4_rate_night = 0.0 | ||
+ | | monster_5 = Squirey | ||
+ | | monster_5_rate_day = 0.0 | ||
+ | | monster_5_rate_night = 0.0 | ||
+ | | monster_6 = Carniviper | ||
+ | | monster_6_rate_day = 0.0 | ||
+ | | monster_6_rate_night = 0.0 | ||
+ | | monster_7 = Vendemon | ||
+ | | monster_7_rate_day = 0.0 | ||
+ | | monster_7_rate_night = 0.0 | ||
+ | | monster_8 = Wooltergeist | ||
+ | | monster_8_rate_day = 0.0 | ||
+ | | monster_8_rate_night = 0.0 | ||
+ | | monster_9 = Zombleat | ||
+ | | monster_9_rate_day = 0.0 | ||
| monster_9_rate_night = 0.0 | | monster_9_rate_night = 0.0 | ||
}} | }} |
Revision as of 05:16, 8 May 2023
Species | Type | Rate | ||
---|---|---|---|---|
Unknown | #??? | {{{monster_1_rate_day}}} % |
Examples
Species | Type | Rate | |||
---|---|---|---|---|---|
Day | Night | ||||
Traffikrab | #011 | 100 % | 100 % |
Species | Type | Rate | |||
---|---|---|---|---|---|
Day | Night | ||||
Traffikrab | #011 | 11 % | 11 % | ||
Springheel | #001 | 12 % | 12 % | ||
Dandylion | #026 | 13 % | 13 % | ||
Pombomb | #104 | 14 % | 14 % | ||
Squirey | #034 | 15 % | 15 % | ||
Carniviper | #006 | 16 % | 16 % | ||
Vendemon | #017 | 17 % | 17 % | ||
Wooltergeist | #020 | - | 18 % | ||
Zombleat | #022 | 19 % | - |
Species | Type | Rate | |||
---|---|---|---|---|---|
Day | Night | ||||
Traffikrab | #011 | - | - | ||
Springheel | #001 | - | - | ||
Dandylion | #026 | - | - | ||
Pombomb | #104 | - | - | ||
Squirey | #034 | - | - | ||
Carniviper | #006 | - | - | ||
Vendemon | #017 | - | - | ||
Wooltergeist | #020 | - | - | ||
Zombleat | #022 | - | - |
Species | Type | Rate | ||
---|---|---|---|---|
Traffikrab | #011 | - | ||
Springheel | #001 | - | ||
Dandylion | #026 | - | ||
Pombomb | #104 | - | ||
Squirey | #034 | - | ||
Carniviper | #006 | - | ||
Vendemon | #017 | - | ||
Wooltergeist | #020 | - | ||
Zombleat | #022 | - |