Template:Critter hatches: Difference between revisions

From Everafter Falls Wiki

mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>;{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#if:{{{noheader|}}}| |
;{{#switch:{{lc:{{{1|}}}}}
| frog | frogs = {{#switch:{{lc:{{{2|}}}}}
| frog | frogs = {{#switch:{{lc:{{{2|}}}}}
   | tiny | small = {{i|Small Tadpole|1d}}
   | tiny | small = {{i|Small Tadpole|1d}}
Line 14: Line 15:
   | giant | large = {{i nobr|Giant Caterpillar|11d}} ''or'' {{i nobr|Giant Cocoon|5d}}
   | giant | large = {{i nobr|Giant Caterpillar|11d}} ''or'' {{i nobr|Giant Cocoon|5d}}
   | #default = {{i nobr|Caterpillar|5d}} ''or'' {{i nobr|Cocoon|2d}}
   | #default = {{i nobr|Caterpillar|5d}} ''or'' {{i nobr|Cocoon|2d}}
   }}
   }}}}}}
}}
:{{cols|2|{{#cargo_query:table=Items
:{{cols|3|{{#cargo_query:table=Items
|where=Type="{{{1|Frog}}}" AND Size="{{{2|Tiny}}}"
|where=Type="{{{1|Frog}}}" AND Size="{{{2|Tiny}}}"
|format=list
|format=list
|fields=CONCAT('{{i{{!}}',Name,'}}')=Name,CONCAT('{{drop chance{{!}}',Rarity,'{{!}}',Type,'{{!}}', Size,'}}')=Chance
|fields=CONCAT('{{i{{!}}',Name,'{{!}}{{drop chance{{!}}',Rarity,'{{!}}',Type,'{{!}}', Size,'}}}}')=Name
|delimiter=
|delimiter=
|order by=Rarity DESC
|order by=Rarity DESC

Latest revision as of 22:00, 18 August 2024

Description
A small template that makes the lists on Critter Terrarium page based on critter type and size.