Difference between revisions of "Template:CalcGenericQualityFormula"

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