Template:Drop rate: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
imported>Elaeagnifolia No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
-->{{#cargo_store:_table=DropRate | -->{{#cargo_store:_table=DropRate | ||
|stageName={{{stageName|{{#var:stageName}}}}} | |stageName={{{stageName|{{#var:stageName}}}}} | ||
|itemName={{{1|}}} | |itemName={{#titleparts:{{{1|}}}}} | ||
|quantity={{{quantity|}}} | |quantity={{{quantity|}}} | ||
|numRuns={{{ | |numRuns={{{numRuns|0}}} | ||
|totalRuns={{#var:totalRuns}} | |totalRuns={{#var:totalRuns}} | ||
}}<!-- | }}<!-- | ||
Line 25: | Line 25: | ||
--><nowiki/> | --><nowiki/> | ||
|- | |- | ||
| {{{1|}}} x{{{quantity|}}} | | {{#switch:{{{1|}}} | ||
|Stellin={{Currency|Stellin}} | |||
|#default={{Item icon|{{#titleparts:{{{1|}}}}}}} | |||
}} x{{{quantity|}}} | |||
| {{{numRuns|}}} | | {{{numRuns|}}} | ||
| {{# | | {{#iferror:{{#expr:100*{{{numRuns|0}}}/{{#var:totalRuns}}}} | N/A | {{#expr:100*({{{numRuns|0}}}/{{#var:totalRuns}} round 5)}}% }}</includeonly> |
Latest revision as of 18:23, 27 August 2021
Description[edit source]
Used to record how many runs and item drops in. Must use both Template:Drop rate/Stage and Template:Drop rate in conjunction on Stage drop list.
For every run you do, increment totalRuns
. If an item dropped in that run, increment the # of runs item dropped
for that item.
Usage[edit source]
{{Drop rate/Stage|<name of stage> |totalRuns= |dropRateData= {{Drop rate|<item name> |quantity= |numRuns= }} }}
Example[edit source]
{{Drop rate/Stage|Anomaly Level 01-01 |totalRuns=123 |dropRateData= {{Drop rate|Stellin |quantity=600 |numRuns=123 }} {{Drop rate|Logic Chip I |quantity=3 |numRuns=20 }} {{Drop rate|Logic Chip I |quantity=4 |numRuns=10 }} }}
The above documentation is transcluded from Template:Drop rate/doc. (edit | history)