Difference between revisions of "Template:BackupMonstersTable"

From Cassette Beasts
(Make columns sortable)
(Add support for up to 12 entries)
Line 95: Line 95:
 
     <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>
 
     {{#ifeq: {{{day_and_night|}}}|yes|<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>
 +
}}
 +
{{#if: {{{monster_10|}}}|
 +
<tr>
 +
    <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_10}}}|name}}.png|42x42px]]</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">[[File:{{#invoke:Database|get_species|{{{monster_11}}}|name}}.png|42x42px]]</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">[[File:{{#invoke:Database|get_species|{{{monster_12}}}|name}}.png|42x42px]]</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 164: Line 194:
 
| monster_9_rate_day = 0.0
 
| monster_9_rate_day = 0.0
 
| monster_9_rate_night = 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

Revision as of 03:23, 10 May 2023

Species Type Rate
Unknown.png Unknown #??? {{{monster_1_rate_day}}} %

Examples

Species Type Rate
Day Night
Traffikrab.png Traffikrab #011 100 % 100 %
Species Type Rate
Day Night
Traffikrab.png Traffikrab #011 11 % 11 %
Springheel.png Springheel #001 12 % 12 %
Dandylion.png Dandylion #026 13 % 13 %
Pombomb.png Pombomb #104 14 % 14 %
Squirey.png Squirey #034 15 % 15 %
Carniviper.png Carniviper #006 16 % 16 %
Vendemon.png Vendemon #017 17 % 17 %
Wooltergeist.png Wooltergeist #020 - 18 %
Zombleat.png Zombleat #022 19 % -
Species Type Rate
Day Night
Traffikrab.png Traffikrab #011 - -
Springheel.png Springheel #001 - -
Dandylion.png Dandylion #026 - -
Pombomb.png Pombomb #104 - -
Squirey.png Squirey #034 - -
Carniviper.png Carniviper #006 - -
Vendemon.png Vendemon #017 - -
Wooltergeist.png Wooltergeist #020 - -
Zombleat.png Zombleat #022 - -
Zeustrike.png Zeustrike #109 5.1 % 5.1 %
Spooki-onna.png Spooki-onna #115 11.4 % 11.4 %
Khepri.png Khepri #116 5.1 % 5.1 %
Species Type Rate
Traffikrab.png Traffikrab #011 -
Springheel.png Springheel #001 -
Dandylion.png Dandylion #026 -
Pombomb.png Pombomb #104 -
Squirey.png Squirey #034 -
Carniviper.png Carniviper #006 -
Vendemon.png Vendemon #017 -
Wooltergeist.png Wooltergeist #020 -
Zombleat.png Zombleat #022 -