Template:BackupMonstersTable: Difference between revisions

From Cassette Beasts
ExcaliburZero (talk | contribs)
Only include separate day and night rates if day_and_night is set to "yes"
ExcaliburZero (talk | contribs)
Ensure rows are the same size by placing sprites in a fixed-size box
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable">
<table class="wikitable sortable">
<tr>
<tr>
     <th colspan=3 {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Species</th>
     <th colspan=3 {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Species</th>
Line 10: Line 10:
</tr>}}
</tr>}}
<tr>
<tr>
     <td align="center">[[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>
Line 19: Line 19:
{{#if: {{{monster_2|}}}|
{{#if: {{{monster_2|}}}|
<tr>
<tr>
     <td align="center">[[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>
Line 29: Line 29:
{{#if: {{{monster_3|}}}|
{{#if: {{{monster_3|}}}|
<tr>
<tr>
     <td align="center">[[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>
Line 39: Line 39:
{{#if: {{{monster_4|}}}|
{{#if: {{{monster_4|}}}|
<tr>
<tr>
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_4}}}|name}}.png|42x42px]]</td>
     <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>{{#invoke:Database|get_link|species|{{{monster_4}}}}}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_4}}}|index}} | {{{index}}} }}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_4}}}|index}} | {{{index}}} }}</td>
Line 49: Line 49:
{{#if: {{{monster_5|}}}|
{{#if: {{{monster_5|}}}|
<tr>
<tr>
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_5}}}|name}}.png|42x42px]]</td>
     <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>{{#invoke:Database|get_link|species|{{{monster_5}}}}}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_5}}}|index}} | {{{index}}} }}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_5}}}|index}} | {{{index}}} }}</td>
Line 59: Line 59:
{{#if: {{{monster_6|}}}|
{{#if: {{{monster_6|}}}|
<tr>
<tr>
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_6}}}|name}}.png|42x42px]]</td>
     <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>{{#invoke:Database|get_link|species|{{{monster_6}}}}}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_6}}}|index}} | {{{index}}} }}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_6}}}|index}} | {{{index}}} }}</td>
Line 69: Line 69:
{{#if: {{{monster_7|}}}|
{{#if: {{{monster_7|}}}|
<tr>
<tr>
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_7}}}|name}}.png|42x42px]]</td>
     <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>{{#invoke:Database|get_link|species|{{{monster_7}}}}}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_7}}}|index}} | {{{index}}} }}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_7}}}|index}} | {{{index}}} }}</td>
Line 79: Line 79:
{{#if: {{{monster_8|}}}|
{{#if: {{{monster_8|}}}|
<tr>
<tr>
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_8}}}|name}}.png|42x42px]]</td>
     <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>{{#invoke:Database|get_link|species|{{{monster_8}}}}}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_8}}}|index}} | {{{index}}} }}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_8}}}|index}} | {{{index}}} }}</td>
Line 89: Line 89:
{{#if: {{{monster_9|}}}|
{{#if: {{{monster_9|}}}|
<tr>
<tr>
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_9}}}|name}}.png|42x42px]]</td>
     <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>{{#invoke:Database|get_link|species|{{{monster_9}}}}}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_9}}}|index}} | {{{index}}} }}</td>
     <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_9}}}|index}} | {{{index}}} }}</td>
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">{{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 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

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 -