Template:Drop rate: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia mNo edit summary |
imported>Elaeagnifolia No edit summary |
||
Line 15: | Line 15: | ||
|stageName={{{stageName|{{#var:stageName}}}}} | |stageName={{{stageName|{{#var:stageName}}}}} | ||
|itemName={{{1|{{{itemName|}}}}}} | |itemName={{{1|{{{itemName|}}}}}} | ||
|numDrops={{{2|0}}} | |numDrops={{{2|{{{numDrops|0}}}}}} | ||
|totalRuns={{{totalRuns|{{#var:totalRuns}}}}} | |totalRuns={{{totalRuns|{{#var:totalRuns}}}}} | ||
}}<!-- | }}<!-- | ||
Line 24: | Line 24: | ||
|- | |- | ||
| {{{1|{{{itemName|}}}}}} | | {{{1|{{{itemName|}}}}}} | ||
| {{{2|{{{numDrops|}}}}}} | | {{{2|{{{numDrops|0}}}}}} | ||
| {{#ifeq:{{#var:totalRuns}} | 0 | N/A | {{#expr:{{{numDrops|}}}/{{#var:totalRuns}}}}}}</includeonly> | | {{#ifeq:{{#var:totalRuns}} | 0 | N/A | {{#expr:{{{2|{{{numDrops|0}}}}}}/{{#var:totalRuns}}}}}}</includeonly> |
Revision as of 07:57, 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)