Difference between revisions of "Template:OverworldMonstersTable"
From Cassette Beasts
(Change 0% rates to dashes for improved readability) |
(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 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> | ||
− | <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> | ||
<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|}}}| | ||
<tr> | <tr> | ||
<td align="center">[[File:{{#invoke:Database|get_species|{{{monster_2_overworld}}}|name}} - Overworld.png]]</td> | <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_2_overworld}}}|name}} - Overworld.png]]</td> | ||
− | <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> | ||
<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 33: | Line 33: | ||
<tr> | <tr> | ||
<td align="center">[[File:{{#invoke:Database|get_species|{{{monster_3_overworld}}}|name}} - Overworld.png]]</td> | <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_3_overworld}}}|name}} - Overworld.png]]</td> | ||
− | <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> | ||
<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: | ||
<tr> | <tr> | ||
<td align="center">[[File:{{#invoke:Database|get_species|{{{monster_4_overworld}}}|name}} - Overworld.png]]</td> | <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_4_overworld}}}|name}} - Overworld.png]]</td> | ||
− | <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> | ||
<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 55: | Line 55: | ||
<tr> | <tr> | ||
<td align="center">[[File:{{#invoke:Database|get_species|{{{monster_5_overworld}}}|name}} - Overworld.png]]</td> | <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_5_overworld}}}|name}} - Overworld.png]]</td> | ||
− | <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> | ||
<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 66: | Line 66: | ||
<tr> | <tr> | ||
<td align="center">[[File:{{#invoke:Database|get_species|{{{monster_6_overworld}}}|name}} - Overworld.png]]</td> | <td align="center">[[File:{{#invoke:Database|get_species|{{{monster_6_overworld}}}|name}} - Overworld.png]]</td> | ||
− | <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> | ||
<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 |
Latest revision as of 04:32, 17 May 2023
Sprite | Species | Type | Rate | ||
---|---|---|---|---|---|
File:Unknown - Overworld.png | Unknown | #??? | {{{monster_1_rate_day}}} % |
Examples
Sprite | Species | Type | Rate | |||
---|---|---|---|---|---|---|
Day | Night | |||||
Traffikrab | #011 | 100 % | 100 % |
Sprite | Species | Type | Rate | |||
---|---|---|---|---|---|---|
Day | Night | |||||
Traffikrab | #011 | 11 % | 11 % | |||
Springheel | #001 | 12 % | 12 % | |||
Dandylion | #026 | 13 % | 13 % | |||
Nevermort | #047 | 23.1 % | 23.1 % | |||
Sanzatime | #057 | 23.1 % | - | |||
Skelevangelist | #093 | - | 14.3 % |
Sprite | Species | Type | Rate | ||
---|---|---|---|---|---|
Traffikrab | #011 | - | |||
Springheel | #001 | - | |||
Dandylion | #026 | - | |||
Nevermort | #047 | - | |||
Sanzatime | #057 | - | |||
Skelevangelist | #093 | - |