Template:Critter hatches: Difference between revisions

From Everafter Falls Wiki

Created page with "<includeonly>;{{Hatches from|{{{1|Frog}}}|{{{2|Tiny}}}}} :{{#cargo_query:table=Items |where=Type="{{{1|Frog}}}" AND Size="{{{2|Tiny}}}" |format=list |fields=CONCAT('{{i_nobr{{!}}',Name,'}}')=Name |delimiter= · }}</includeonly><noinclude>Category:Templates</noinclude>"
 
mNo edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>;{{Hatches from|{{{1|Frog}}}|{{{2|Tiny}}}}}
<includeonly>{{#if:{{{noheader|}}}| |
:{{#cargo_query:table=Items
;{{#switch:{{lc:{{{1|}}}}}
| frog | frogs = {{#switch:{{lc:{{{2|}}}}}
  | tiny | small = {{i|Small Tadpole|1d}}
  | giant | large = {{i|Giant Tadpole|5d}}
  | #default = {{i|Tadpole|2d}}
  }}
| dragonfly | dragonflies = {{#switch:{{lc:{{{2|}}}}}
  | tiny | small = {{i|Small Dragonfly Nymph|1d}}
  | giant | large = {{i|Giant Dragonfly Nymph|5d}}
  | #default = {{i|Dragonfly Nymph|2d}}
  }}
| flutterfly | flutterflies = {{#switch:{{lc:{{{2|}}}}}
  | tiny | small = {{i nobr|Small Caterpillar|3d}} ''or'' {{i nobr|Small Cocoon|1d}}
  | giant | large = {{i nobr|Giant Caterpillar|11d}} ''or'' {{i nobr|Giant Cocoon|5d}}
  | #default = {{i nobr|Caterpillar|5d}} ''or'' {{i nobr|Cocoon|2d}}
  }}}}}}
:{{cols|2|{{#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
|fields=CONCAT('{{i{{!}}',Name,'{{!}}{{drop chance{{!}}',Rarity,'{{!}}',Type,'{{!}}', Size,'}}}}')=Name
|delimiter= &#32;·
|delimiter=
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
|order by=Rarity DESC
}}}}</includeonly><noinclude>
;Description
:A small template that makes the lists on [[Critter Terrarium]] page based on critter type and size.
[[Category:Cargo templates]]</noinclude>

Latest revision as of 21:00, 18 August 2024

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