Difference between revisions of "Template:BackupMonstersTable"

From Cassette Beasts
(Created template)
 
(Added support for up to 9 entries, will add more as needed)
Line 28: Line 28:
 
     <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}}} %</td>
 +
</tr>
 +
}}
 +
{{#if: {{{monster_4|}}}|
 +
<tr>
 +
    <td>[[File:{{#invoke:Database|get_species|{{{monster_4}}}|name}}.png|42x42px]]</td>
 +
    <td>{{#invoke:Database|get_link|species|{{{monster_4}}}}}</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>{{{monster_4_rate}}} %</td>
 +
</tr>
 +
}}
 +
{{#if: {{{monster_5|}}}|
 +
<tr>
 +
    <td>[[File:{{#invoke:Database|get_species|{{{monster_5}}}|name}}.png|42x42px]]</td>
 +
    <td>{{#invoke:Database|get_link|species|{{{monster_5}}}}}</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>{{{monster_5_rate}}} %</td>
 +
</tr>
 +
}}
 +
{{#if: {{{monster_6|}}}|
 +
<tr>
 +
    <td>[[File:{{#invoke:Database|get_species|{{{monster_6}}}|name}}.png|42x42px]]</td>
 +
    <td>{{#invoke:Database|get_link|species|{{{monster_6}}}}}</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>{{{monster_6_rate}}} %</td>
 +
</tr>
 +
}}
 +
{{#if: {{{monster_7|}}}|
 +
<tr>
 +
    <td>[[File:{{#invoke:Database|get_species|{{{monster_7}}}|name}}.png|42x42px]]</td>
 +
    <td>{{#invoke:Database|get_link|species|{{{monster_7}}}}}</td>
 +
    <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_7}}}|index}} | {{{index}}} }}</td>
 +
    <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_7}}}|elemental_type}}}}</td>
 +
    <td>{{{monster_7_rate}}} %</td>
 +
</tr>
 +
}}
 +
{{#if: {{{monster_8|}}}|
 +
<tr>
 +
    <td>[[File:{{#invoke:Database|get_species|{{{monster_8}}}|name}}.png|42x42px]]</td>
 +
    <td>{{#invoke:Database|get_link|species|{{{monster_8}}}}}</td>
 +
    <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_8}}}|index}} | {{{index}}} }}</td>
 +
    <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_8}}}|elemental_type}}}}</td>
 +
    <td>{{{monster_8_rate}}} %</td>
 +
</tr>
 +
}}
 +
{{#if: {{{monster_9|}}}|
 +
<tr>
 +
    <td>[[File:{{#invoke:Database|get_species|{{{monster_9}}}|name}}.png|42x42px]]</td>
 +
    <td>{{#invoke:Database|get_link|species|{{{monster_9}}}}}</td>
 +
    <td>#{{#ifeq: {{{index|}}} | | {{#invoke:Database|get_species|{{{monster_9}}}|index}} | {{{index}}} }}</td>
 +
    <td>{{TypeButton|{{#invoke:Database|get_species|{{{monster_9}}}|elemental_type}}}}</td>
 +
    <td>{{{monster_9_rate}}} %</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 43: Line 97:
 
| monster_3 = Dandylion
 
| monster_3 = Dandylion
 
| monster_3_rate = 13
 
| monster_3_rate = 13
 +
| monster_4 = Pombomb
 +
| monster_4_rate = 14
 +
| monster_5 = Squirey
 +
| monster_5_rate = 15
 +
| monster_6 = Carniviper
 +
| monster_6_rate = 16
 +
| monster_7 = Vendemon
 +
| monster_7_rate = 17
 +
| monster_8 = Wooltergeist
 +
| monster_8_rate = 18
 +
| monster_9 = Zombleat
 +
| monster_9_rate = 19
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 19:00, 7 May 2023

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

Examples

Species Type Rate
Traffikrab.png Traffikrab #011 100 %
Species Type Rate
Traffikrab.png Traffikrab #011 11 %
Springheel.png Springheel #001 12 %
Dandylion.png Dandylion #026 13 %
Pombomb.png Pombomb #104 14 %
Squirey.png Squirey #034 15 %
Carniviper.png Carniviper #006 16 %
Vendemon.png Vendemon #017 17 %
Wooltergeist.png Wooltergeist #020 18 %
Zombleat.png Zombleat #022 19 %