Difference between revisions of "Template:BackupMonstersTable"
From Cassette Beasts
(Created template) |
(Ensure rows are the same size by placing sprites in a fixed-size box) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table class="wikitable"> | + | <table class="wikitable sortable"> |
<tr> | <tr> | ||
− | <th colspan=3>Species</th> | + | <th colspan=3 {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Species</th> |
− | <th>Type</th> | + | <th {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Type</th> |
− | <th>Rate</th> | + | <th {{#ifeq: {{{day_and_night|}}}|yes|colspan=2}}>Rate</th> |
</tr> | </tr> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<tr> | ||
+ | <th>Day</th> | ||
+ | <th>Night</th> | ||
+ | </tr>}} | ||
<tr> | <tr> | ||
− | <td>[[File:{{#invoke:Database|get_species|{{{monster_1}}}|name}}.png|42x42px]]</td> | + | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_1}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> |
<td>{{#invoke:Database|get_link|species|{{{monster_1}}}}}</td> | <td>{{#invoke:Database|get_link|species|{{{monster_1}}}}}</td> | ||
<td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_1}}}|index}} | {{{index}}} }}</td> | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_1}}}|index}} | {{{index}}} }}</td> | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_1}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_1}}}|elemental_type}}}}</td> | ||
− | <td>{{{ | + | <td align="center">{{#ifeq: {{{monster_1_rate_day}}}|0.0|-|{{{monster_1_rate_day}}} %}}</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|}}}| | ||
<tr> | <tr> | ||
− | <td>[[File:{{#invoke:Database|get_species|{{{monster_2}}}|name}}.png|42x42px]]</td> | + | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_2}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> |
<td>{{#invoke:Database|get_link|species|{{{monster_2}}}}}</td> | <td>{{#invoke:Database|get_link|species|{{{monster_2}}}}}</td> | ||
<td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_2}}}|index}} | {{{index}}} }}</td> | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_2}}}|index}} | {{{index}}} }}</td> | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_2}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_2}}}|elemental_type}}}}</td> | ||
− | <td>{{{ | + | <td align="center">{{#ifeq: {{{monster_2_rate_day}}}|0.0|-|{{{monster_2_rate_day}}} %}}</td> |
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_2_rate_night}}}|0.0|-|{{{monster_2_rate_night}}} %}}</td>}} | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{monster_3|}}}| | {{#if: {{{monster_3|}}}| | ||
<tr> | <tr> | ||
− | <td>[[File:{{#invoke:Database|get_species|{{{monster_3}}}|name}}.png|42x42px]]</td> | + | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_3}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> |
<td>{{#invoke:Database|get_link|species|{{{monster_3}}}}}</td> | <td>{{#invoke:Database|get_link|species|{{{monster_3}}}}}</td> | ||
<td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_3}}}|index}} | {{{index}}} }}</td> | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_3}}}|index}} | {{{index}}} }}</td> | ||
<td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_3}}}|elemental_type}}}}</td> | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_3}}}|elemental_type}}}}</td> | ||
− | <td>{{{ | + | <td align="center">{{#ifeq: {{{monster_3_rate_day}}}|0.0|-|{{{monster_3_rate_day}}} %}}</td> |
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_3_rate_night}}}|0.0|-|{{{monster_3_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_4|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_4}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_4}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_4}}}|index}} | {{{index}}} }}</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> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_4_rate_night}}}|0.0|-|{{{monster_4_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_5|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_5}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_5}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_5}}}|index}} | {{{index}}} }}</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> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_5_rate_night}}}|0.0|-|{{{monster_5_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_6|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_6}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_6}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_6}}}|index}} | {{{index}}} }}</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> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_6_rate_night}}}|0.0|-|{{{monster_6_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_7|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_7}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_7}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_7}}}|index}} | {{{index}}} }}</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> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_7_rate_night}}}|0.0|-|{{{monster_7_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_8|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_8}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_8}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_8}}}|index}} | {{{index}}} }}</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> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_8_rate_night}}}|0.0|-|{{{monster_8_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_9|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_9}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_9}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_9}}}|index}} | {{{index}}} }}</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> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_9_rate_night}}}|0.0|-|{{{monster_9_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_10|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_10}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_10}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_10}}}|index}} | {{{index}}} }}</td> | ||
+ | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_10}}}|elemental_type}}}}</td> | ||
+ | <td align="center">{{#ifeq: {{{monster_10_rate_day}}}|0.0|-|{{{monster_10_rate_day}}} %}}</td> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_10_rate_night}}}|0.0|-|{{{monster_10_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_11|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_11}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_11}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_11}}}|index}} | {{{index}}} }}</td> | ||
+ | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_11}}}|elemental_type}}}}</td> | ||
+ | <td align="center">{{#ifeq: {{{monster_11_rate_day}}}|0.0|-|{{{monster_11_rate_day}}} %}}</td> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_11_rate_night}}}|0.0|-|{{{monster_11_rate_night}}} %}}</td>}} | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{monster_12|}}}| | ||
+ | <tr> | ||
+ | <td align="center">{{Box|[[File:{{#invoke:Database|get_species|{{{monster_12}}}|name}}.png|42x42px]]|width=42px|height=42px}}</td> | ||
+ | <td>{{#invoke:Database|get_link|species|{{{monster_12}}}}}</td> | ||
+ | <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_12}}}|index}} | {{{index}}} }}</td> | ||
+ | <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_12}}}|elemental_type}}}}</td> | ||
+ | <td align="center">{{#ifeq: {{{monster_12_rate_day}}}|0.0|-|{{{monster_12_rate_day}}} %}}</td> | ||
+ | {{#ifeq: {{{day_and_night|}}}|yes|<td align="center">{{#ifeq: {{{monster_12_rate_night}}}|0.0|-|{{{monster_12_rate_night}}} %}}</td>}} | ||
</tr> | </tr> | ||
}} | }} | ||
Line 33: | Line 130: | ||
== Examples == | == Examples == | ||
{{BackupMonstersTable | {{BackupMonstersTable | ||
+ | | day_and_night = yes | ||
+ | | monster_1 = Traffikrab | ||
+ | | monster_1_rate_day = 100 | ||
+ | | monster_1_rate_night = 100 | ||
+ | }} | ||
+ | {{BackupMonstersTable | ||
+ | | day_and_night = yes | ||
| monster_1 = Traffikrab | | monster_1 = Traffikrab | ||
− | | | + | | monster_1_rate_day = 11 |
+ | | monster_1_rate_night = 11 | ||
+ | | monster_2 = Springheel | ||
+ | | monster_2_rate_day = 12 | ||
+ | | monster_2_rate_night = 12 | ||
+ | | monster_3 = Dandylion | ||
+ | | monster_3_rate_day = 13 | ||
+ | | monster_3_rate_night = 13 | ||
+ | | monster_4 = Pombomb | ||
+ | | monster_4_rate_day = 14 | ||
+ | | monster_4_rate_night = 14 | ||
+ | | monster_5 = Squirey | ||
+ | | monster_5_rate_day = 15 | ||
+ | | monster_5_rate_night = 15 | ||
+ | | monster_6 = Carniviper | ||
+ | | monster_6_rate_day = 16 | ||
+ | | monster_6_rate_night = 16 | ||
+ | | monster_7 = Vendemon | ||
+ | | monster_7_rate_day = 17 | ||
+ | | monster_7_rate_night = 17 | ||
+ | | monster_8 = Wooltergeist | ||
+ | | monster_8_rate_day = 0.0 | ||
+ | | monster_8_rate_night = 18 | ||
+ | | monster_9 = Zombleat | ||
+ | | 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_10 = Zeustrike | ||
+ | | monster_10_rate_day = 5.1 | ||
+ | | monster_10_rate_night = 5.1 | ||
+ | | monster_11 = Spooki-onna | ||
+ | | monster_11_rate_day = 11.4 | ||
+ | | monster_11_rate_night = 11.4 | ||
+ | | monster_12 = Khepri | ||
+ | | monster_12_rate_day = 5.1 | ||
+ | | monster_12_rate_night = 5.1 | ||
}} | }} | ||
{{BackupMonstersTable | {{BackupMonstersTable | ||
| monster_1 = Traffikrab | | monster_1 = Traffikrab | ||
− | | | + | | monster_1_rate_day = 0.0 |
+ | | monster_1_rate_night = 0.0 | ||
| monster_2 = Springheel | | monster_2 = Springheel | ||
− | | | + | | monster_2_rate_day = 0.0 |
+ | | monster_2_rate_night = 0.0 | ||
| monster_3 = Dandylion | | 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 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 04:31, 17 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 | - | - | ||
Zeustrike | #109 | 5.1 % | 5.1 % | ||
Spooki-onna | #115 | 11.4 % | 11.4 % | ||
Khepri | #116 | 5.1 % | 5.1 % |
Species | Type | Rate | ||
---|---|---|---|---|
Traffikrab | #011 | - | ||
Springheel | #001 | - | ||
Dandylion | #026 | - | ||
Pombomb | #104 | - | ||
Squirey | #034 | - | ||
Carniviper | #006 | - | ||
Vendemon | #017 | - | ||
Wooltergeist | #020 | - | ||
Zombleat | #022 | - |