Template:Drop rate: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
imported>Elaeagnifolia No edit summary |
||
Line 25: | Line 25: | ||
--><nowiki/> | --><nowiki/> | ||
|- | |- | ||
| {{#switch:{{{1|}}} | | {{#switch:{{{1|}}}<!-- | ||
-->|Stellin={{Currency|Stellin}} Stellin<!-- | |||
-->|#default={{Item icon|{{{1|}}}}} {{#titleparts:{{{1|}}}}}<!-- | |||
-->}} x{{{quantity|}}} | |||
| {{{numRuns|}}} | | {{{numRuns|}}} | ||
| {{#iferror:{{#expr:100*{{{numRuns|0}}}/{{#var:totalRuns}}}} | N/A | {{#expr:100*{{{numRuns|0}}}/{{#var:totalRuns}}}}% }}</includeonly> | | {{#iferror:{{#expr:100*{{{numRuns|0}}}/{{#var:totalRuns}}}} | N/A | {{#expr:100*{{{numRuns|0}}}/{{#var:totalRuns}}}}% }}</includeonly> |
Revision as of 18:28, 15 August 2021
Description
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
{{Drop rate/Stage|<name of stage> |totalRuns= |dropRateData= {{Drop rate|<item name> |quantity= |numRuns= }} }}
Example
{{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)