Template:Critter hatches: Difference between revisions

From Everafter Falls Wiki

mNo edit summary
Tag: Reverted
mNo edit summary
 
(9 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
:{{#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_nobr{{!}}',Name,'}}')=Name,CONCAT('{{drop chance{{!}}',Rarity,'{{!}}',Type,'{{!}}', Size,'}}')
|fields=CONCAT('{{i{{!}}',Name,'{{!}}{{drop chance{{!}}',Rarity,'{{!}}',Type,'{{!}}', Size,'}}}}')=Name
|delimiter= &#32;·
|delimiter=
}}</includeonly><noinclude>
|order by=Rarity DESC
}}}}</includeonly><noinclude>
;Description
;Description
:A small template that makes the lists on [[Critter Terrarium]] page based on critter type and size.
:A small template that makes the lists on [[Critter Terrarium]] page based on critter type and size.
[[Category:Cargo templates]]</noinclude>
[[Category:Cargo templates]]</noinclude>

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.