Difference between revisions of "Template:CalcGenericQualityFormula"

From Underrail Wiki
Jump to navigation Jump to search
(Created page with "{{#expr: floor( {{{1|1}}} + {{{2|0.1}}}*{{{3|1}}} )}}<noinclude><noinclude> {{documentation}}</noinclude>")
 
m (Protected "Template:CalcGenericQualityFormula": template (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#expr: floor( {{{1|1}}} + {{{2|0.1}}}*{{{3|1}}} )}}<noinclude><noinclude>
+
{{#ifexpr: {{{3|0}}} > {{#expr: trunc( {{{1|10}}} + {{{2|0.1}}}*{{{5|1}}} )}}
 +
  | {{{3|min}}}
 +
  | {{#ifexpr: {{{4|9000}}} > {{#expr: trunc( {{{1|10}}} + {{{2|0.1}}}*{{{5|1}}} )}}
 +
      | {{#expr: trunc( {{{1|10}}} + {{{2|0.1}}}*{{{5|1}}} )}}
 +
      | {{{4|max}}}
 +
    }}
 +
}}<noinclude>
  
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 06:31, 14 October 2017

10

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:CalcGenericQualityFormula/doc to view this documentation. (edit) (How does this work?)
Description
Part of Template:Quality table