Difference between revisions of "Template:OverworldMonstersTable"

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 rowspan=2>Sprite</th>
+
     <th {{#ifeq: {{{day_and_night|}}}|yes|rowspan=2}}>Sprite</th>
     <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_overworld}}}|name}} - Overworld.png]]</td>
 
     <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_1_overworld}}}|name}} - Overworld.png]]</td>
Line 17: Line 17:
 
     <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 27: Line 27:
 
     <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 38: Line 38:
 
     <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 49: Line 49:
 
     <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 60: Line 60:
 
     <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 71: Line 71:
 
     <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 77: Line 77:
 
== Examples ==
 
== Examples ==
 
{{OverworldMonstersTable
 
{{OverworldMonstersTable
 +
| day_and_night = yes
 
| monster_1 = Traffikrab
 
| monster_1 = Traffikrab
 
| monster_1_overworld = Traffikrab
 
| monster_1_overworld = Traffikrab
Line 83: Line 84:
 
}}
 
}}
 
{{OverworldMonstersTable
 
{{OverworldMonstersTable
 +
| day_and_night = yes
 
| monster_1 = Traffikrab
 
| monster_1 = Traffikrab
 
| monster_1_overworld = Traffikrab
 
| monster_1_overworld = Traffikrab

Revision as of 05:21, 8 May 2023

Sprite Species Type Rate
File:Unknown - Overworld.png Unknown.png Unknown #??? {{{monster_1_rate_day}}} %

Examples

Sprite Species Type Rate
Day Night
Traffikrab - Overworld.png Traffikrab.png Traffikrab #011 100 % 100 %
Sprite Species Type Rate
Day Night
Traffikrab - Overworld.png Traffikrab.png Traffikrab #011 11 % 11 %
Springheel - Overworld.png Springheel.png Springheel #001 12 % 12 %
Traffikrab - Overworld.png Dandylion.png Dandylion #026 13 % 13 %
Nevermort - Overworld.png Nevermort.png Nevermort #047 23.1 % 23.1 %
Sanzatime - Overworld.png Sanzatime.png Sanzatime #057 23.1 % -
Pawndead - Overworld.png Skelevangelist.png Skelevangelist #093 - 14.3 %
Sprite Species Type Rate
Traffikrab - Overworld.png Traffikrab.png Traffikrab #011 -
Springheel - Overworld.png Springheel.png Springheel #001 -
Traffikrab - Overworld.png Dandylion.png Dandylion #026 -
Nevermort - Overworld.png Nevermort.png Nevermort #047 -
Sanzatime - Overworld.png Sanzatime.png Sanzatime #057 -
Pawndead - Overworld.png Skelevangelist.png Skelevangelist #093 -