Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Template:Calc

From DFO World Wiki
Revision as of 12:42, 27 May 2019 by Altair (talk | contribs) (Created new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is the "Calc" template. It calculates a value when provided certain variables.

Argument Description
VAR The variable that will be iterated within the arraylist. Will most likely be represented with the value:
{{#var:i}}
.
BASELvVALUE The base value to be used for calculation.
MAXLvVALUE The max value to be used for calculation.
MAXLv The max level to be used for calculation. This level must correspond to MAXLvVALUE.
BASELv The base level to be used for calculation. This level must correspond to BASELvVALUE. Default value is set to 1.
ROUND The rounded nearest decimal place, in front or behind. Increase values for nearest tenths/hundredths decimal place. Decrease values for tens/hundreds place. Default value is set to 0.

It should be called in the following format:

{{Calc
|VAR=
|BASELvVALUE=
|MAXLvVALUE=
|MAXLv=
|BASELv=
|ROUND=
}}

Examples:

{{Calc|3|3767|11629|10|1|0}}

5514

{{Calc|3|3767|11629|10}}

5514


Copy and Paste Version:

{{Calc|{{{#var:i}}}|BASELvVALUE|MAXLvVALUE|MAXLv}}