Template:W: Difference between revisions

From Everafter Falls Wiki

m Kalinka moved page Template:W size to Template:W type without leaving a redirect
Undo revision 31672 by Kalinka (talk) ok maybe not
Tag: Undo
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_query:table=Items
<includeonly>{{#cargo_query:table=Items
|where=Type="{{{type|Frog}}}" {{#if:{{{size|}}}|AND Size="{{{size|Tiny}}}"}} {{#if:{{{season|}}}|AND Season="%{{{season|Spring}}}%" OR Season="All"}}
|where=Type="{{{type|}}}" {{#if:{{{size|}}}|AND Size="{{{size|}}}"}} {{#switch:{{lc:{{{season|}}}}}
|fields=SUM(Rarity)
| summer = AND SpawnSummer="1"
| autumn = AND SpawnAutumn="1"
| winter = AND SpawnWinter="1"
| spring = AND SpawnSpring="1"
}}
}}
|fields=TRIM(SUM(Rarity))
|no html
}}</includeonly><noinclude>
;Description
:A small template to calculate total weights for calculating drop chances.
[[Category:Cargo templates]]</noinclude>

Latest revision as of 16:56, 22 November 2024

Description
A small template to calculate total weights for calculating drop chances.