Difference between revisions of "Template:OverworldMonstersTable"

From Cassette Beasts
(Created template)
 
(Added day and night rate columns)
Line 1: Line 1:
 
<table class="wikitable">
 
<table class="wikitable">
 
<tr>
 
<tr>
     <th colspan=3>Species</th>
+
     <th colspan=3 rowspan=2>Species</th>
     <th>Type</th>
+
     <th rowspan=2>Type</th>
     <th>Rate</th>
+
     <th colspan=2>Rate</th>
 +
</tr>
 +
<tr>
 +
    <th>Day</th>
 +
    <th>Night</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 10: Line 14:
 
     <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>{{{monster_1_rate}}} %</td>
+
     <td>{{{monster_1_rate_day}}} %</td>
 +
    <td>{{{monster_1_rate_night}}} %</td>
 
</tr>
 
</tr>
 
{{#if: {{{monster_2|}}}|
 
{{#if: {{{monster_2|}}}|
Line 18: Line 23:
 
     <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>{{{monster_2_rate}}} %</td>
+
     <td>{{{monster_2_rate_day}}} %</td>
 +
    <td>{{{monster_2_rate_night}}} %</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 27: Line 33:
 
     <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>{{{monster_3_rate}}} %</td>
+
     <td>{{{monster_3_rate_day}}} %</td>
 +
    <td>{{{monster_3_rate_night}}} %</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 34: Line 41:
 
{{OverworldMonstersTable
 
{{OverworldMonstersTable
 
| monster_1 = Traffikrab
 
| monster_1 = Traffikrab
| monster_1_rate = 100
+
| monster_1_rate_day = 100
 +
| monster_1_rate_night = 100
 
}}
 
}}
 
{{OverworldMonstersTable
 
{{OverworldMonstersTable
 
| monster_1 = Traffikrab
 
| monster_1 = Traffikrab
| monster_1_rate = 11
+
| monster_1_rate_day = 11
 +
| monster_1_rate_night = 11
 
| monster_2 = Springheel
 
| monster_2 = Springheel
| monster_2_rate = 12
+
| monster_2_rate_day = 12
 +
| monster_2_rate_night = 12
 
| monster_3 = Dandylion
 
| monster_3 = Dandylion
| monster_3_rate = 13
+
| monster_3_rate_day = 13
 +
| monster_3_rate_night = 13
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 23:41, 7 May 2023

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

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 %