Difference between revisions of "Template:Quality table"

From Underrail Wiki
Jump to navigation Jump to search
(add min & max values to tooltip)
(add col_damage1)
Line 5: Line 5:
 
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_DR1}}} + {{{quality_DR1}}}*quality DR% and {{{base_DT1}}} + {{{quality_DT1}}}*quality DT">{{{col_resist1}}} DR% / DT</span>|}}{{#if: {{{col_resist2|}}}|&nbsp;
 
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_DR1}}} + {{{quality_DR1}}}*quality DR% and {{{base_DT1}}} + {{{quality_DT1}}}*quality DT">{{{col_resist1}}} DR% / DT</span>|}}{{#if: {{{col_resist2|}}}|&nbsp;
 
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_DR2}}} + {{{quality_DR2}}}*quality DR% and {{{base_DT2}}} + {{{quality_DT2}}}*quality DT">{{{col_resist2}}} DR% / DT</span>|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_DR2}}} + {{{quality_DR2}}}*quality DR% and {{{base_DT2}}} + {{{quality_DT2}}}*quality DT">{{{col_resist2}}} DR% / DT</span>|}}{{#if: {{{col_resist3|}}}|&nbsp;
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_DR2}}} + {{{quality_DR3}}}*quality DR% and {{{base_DT3}}} + {{{quality_DT3}}}*quality DT">{{{col_resist3}}} DR% / DT</span>|}}{{#if: {{{col_common1|}}}|&nbsp;
+
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_DR2}}} + {{{quality_DR3}}}*quality DR% and {{{base_DT3}}} + {{{quality_DT3}}}*quality DT">{{{col_resist3}}} DR% / DT</span>|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base_dmg1}}} + {{{level_dmg1}}}*level damage with {{{dmgspread_L1}}}-{{{dmgspread_U1}}} damage spread">{{{col_damage1}}}</span>|}}{{#if: {{{col_common1|}}}|&nbsp;
 
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base1}}} + {{{quality1}}}*quality{{#if: {{{min1|}}}|&#10;Minimum value: {{{min1}}}|}}{{#if: {{{max1|}}}|&#10;Maximum value: {{{max1}}}|}}">{{{col_common1}}}</span>|}}{{#ifexpr: {{{min_quality|0}}} <= 1 and 1 <= {{{max_quality|9000}}}|&nbsp;
 
! colspan="2"{{!}}<span style="cursor:help" title="Formula: {{{base1}}} + {{{quality1}}}*quality{{#if: {{{min1|}}}|&#10;Minimum value: {{{min1}}}|}}{{#if: {{{max1|}}}|&#10;Maximum value: {{{max1}}}|}}">{{{col_common1}}}</span>|}}{{#ifexpr: {{{min_quality|0}}} <= 1 and 1 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
Line 12: Line 13:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|1}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|1}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|1}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|1}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|1}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 10 and 10 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|1}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|1}}|}}{{#ifexpr: {{{min_quality|0}}} <= 10 and 10 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  10{{#if: {{{col_resist1|}}}|&nbsp;
 
!  10{{#if: {{{col_resist1|}}}|&nbsp;
Line 18: Line 20:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|10}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|10}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|10}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|10}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|10}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 20 and 20 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|10}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|10}}|}}{{#ifexpr: {{{min_quality|0}}} <= 20 and 20 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  20{{#if: {{{col_resist1|}}}|&nbsp;
 
!  20{{#if: {{{col_resist1|}}}|&nbsp;
Line 24: Line 27:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|20}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|20}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|20}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|20}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|20}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 30 and 30 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|20}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|20}}|}}{{#ifexpr: {{{min_quality|0}}} <= 30 and 30 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  30{{#if: {{{col_resist1|}}}|&nbsp;
 
!  30{{#if: {{{col_resist1|}}}|&nbsp;
Line 30: Line 34:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|30}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|30}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|30}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|30}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|30}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 40 and 40 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|30}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|30}}|}}{{#ifexpr: {{{min_quality|0}}} <= 40 and 40 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  40{{#if: {{{col_resist1|}}}|&nbsp;
 
!  40{{#if: {{{col_resist1|}}}|&nbsp;
Line 36: Line 41:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|40}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|40}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|40}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|40}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|40}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 50 and 50 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|40}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|40}}|}}{{#ifexpr: {{{min_quality|0}}} <= 50 and 50 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  50{{#if: {{{col_resist1|}}}|&nbsp;
 
!  50{{#if: {{{col_resist1|}}}|&nbsp;
Line 42: Line 48:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|50}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|50}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|50}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|50}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|50}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 60 and 60 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|50}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|50}}|}}{{#ifexpr: {{{min_quality|0}}} <= 60 and 60 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  60{{#if: {{{col_resist1|}}}|&nbsp;
 
!  60{{#if: {{{col_resist1|}}}|&nbsp;
Line 48: Line 55:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|60}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|60}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|60}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|60}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|60}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 70 and 70 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|60}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|60}}|}}{{#ifexpr: {{{min_quality|0}}} <= 70 and 70 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  70{{#if: {{{col_resist1|}}}|&nbsp;
 
!  70{{#if: {{{col_resist1|}}}|&nbsp;
Line 54: Line 62:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|70}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|70}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|70}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|70}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|70}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 80 and 80 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|70}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|70}}|}}{{#ifexpr: {{{min_quality|0}}} <= 80 and 80 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  80{{#if: {{{col_resist1|}}}|&nbsp;
 
!  80{{#if: {{{col_resist1|}}}|&nbsp;
Line 60: Line 69:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|80}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|80}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|80}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|80}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|80}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 90 and 90 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|80}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|80}}|}}{{#ifexpr: {{{min_quality|0}}} <= 90 and 90 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  90{{#if: {{{col_resist1|}}}|&nbsp;
 
!  90{{#if: {{{col_resist1|}}}|&nbsp;
Line 66: Line 76:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|90}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|90}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|90}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|90}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|90}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 100 and 100 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|90}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|90}}|}}{{#ifexpr: {{{min_quality|0}}} <= 100 and 100 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 100{{#if: {{{col_resist1|}}}|&nbsp;
 
! 100{{#if: {{{col_resist1|}}}|&nbsp;
Line 72: Line 83:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|100}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|100}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|100}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|100}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|100}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 110 and 110 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|100}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|100}}|}}{{#ifexpr: {{{min_quality|0}}} <= 110 and 110 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 110{{#if: {{{col_resist1|}}}|&nbsp;
 
! 110{{#if: {{{col_resist1|}}}|&nbsp;
Line 78: Line 90:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|110}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|110}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|110}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|110}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|110}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 120 and 120 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|110}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|110}}|}}{{#ifexpr: {{{min_quality|0}}} <= 120 and 120 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 120{{#if: {{{col_resist1|}}}|&nbsp;
 
! 120{{#if: {{{col_resist1|}}}|&nbsp;
Line 84: Line 97:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|120}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|120}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|120}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|120}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|120}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 130 and 130 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|120}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|120}}|}}{{#ifexpr: {{{min_quality|0}}} <= 130 and 130 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 130{{#if: {{{col_resist1|}}}|&nbsp;
 
! 130{{#if: {{{col_resist1|}}}|&nbsp;
Line 90: Line 104:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|130}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|130}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|130}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|130}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|130}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 140 and 140 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|130}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|130}}|}}{{#ifexpr: {{{min_quality|0}}} <= 140 and 140 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 140{{#if: {{{col_resist1|}}}|&nbsp;
 
! 140{{#if: {{{col_resist1|}}}|&nbsp;
Line 96: Line 111:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|140}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|140}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|140}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|140}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|140}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 150 and 150 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|140}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|140}}|}}{{#ifexpr: {{{min_quality|0}}} <= 150 and 150 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 150{{#if: {{{col_resist1|}}}|&nbsp;
 
! 150{{#if: {{{col_resist1|}}}|&nbsp;
Line 102: Line 118:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|150}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|150}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|150}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|150}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|150}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 160 and 160 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|150}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|150}}|}}{{#ifexpr: {{{min_quality|0}}} <= 160 and 160 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 160{{#if: {{{col_resist1|}}}|&nbsp;
 
! 160{{#if: {{{col_resist1|}}}|&nbsp;
Line 108: Line 125:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|160}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|160}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|160}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|160}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|160}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 170 and 170 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|160}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|160}}|}}{{#ifexpr: {{{min_quality|0}}} <= 170 and 170 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 170{{#if: {{{col_resist1|}}}|&nbsp;
 
! 170{{#if: {{{col_resist1|}}}|&nbsp;
Line 114: Line 132:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|170}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|170}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|170}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|170}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|170}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 180 and 180 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|170}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|170}}|}}{{#ifexpr: {{{min_quality|0}}} <= 180 and 180 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 180{{#if: {{{col_resist1|}}}|&nbsp;
 
! 180{{#if: {{{col_resist1|}}}|&nbsp;
Line 120: Line 139:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|180}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|180}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|180}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|180}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|180}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 190 and 190 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|180}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|180}}|}}{{#ifexpr: {{{min_quality|0}}} <= 190 and 190 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 190{{#if: {{{col_resist1|}}}|&nbsp;
 
! 190{{#if: {{{col_resist1|}}}|&nbsp;
Line 126: Line 146:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|190}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|190}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|190}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|190}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|190}}|}}|}}{{#ifexpr: {{{min_quality|0}}} <= 200 and 200 <= {{{max_quality|9000}}}|&nbsp;
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|190}}|}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|190}}|}}{{#ifexpr: {{{min_quality|0}}} <= 200 and 200 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
! 200{{#if: {{{col_resist1|}}}|&nbsp;
 
! 200{{#if: {{{col_resist1|}}}|&nbsp;
Line 132: Line 153:
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|200}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR2|0}}}|{{{quality_DR2|0}}}|{{{base_DT2|0}}}|{{{quality_DT2|0}}}|200}}|}}{{#if: {{{col_resist3|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|200}}|}}{{#if: {{{col_common1|}}}|&nbsp;
 
{{!}} {{CalcDRDT|{{{base_DR3|0}}}|{{{quality_DR3|0}}}|{{{base_DT3|0}}}|{{{quality_DT3|0}}}|200}}|}}{{#if: {{{col_common1|}}}|&nbsp;
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|200}}|}}
+
{{!}} {{CalcGenericQualityFormula|{{{base1|0}}}|{{{quality1|0}}}|{{{min1|0}}}|{{{max1|999}}}|200}}|}}{{#if: {{{col_damage1|}}}|&nbsp;
 +
{{!}} {{CalcDmg|{{{base_dmg1|0}}}|{{{level_dmg1|0}}}|{{{dmgspread_L1|1}}}|{{{dmgspread_U1|1}}}|200}}|}}
 
|}}
 
|}}
 
|}
 
|}

Revision as of 13:56, 26 May 2017

Quality 
10 
20 
30 
40 
50 
60 
70 
80 
90 
100 
110 
120 
130 
140 
150 
160 
170 
180 
190 
200

Note: the above table is automatically generated. Some numbers may be off by one due to differences in rounding precision.

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Quality_table/doc to view this documentation. (edit) (How does this work?)
Description
This template is used to autogenerate quality tables for various properties of crafted items - armor DR%/DT, etc.
Parameters
{{Quality table
| style       = optional css for the table

| name        = name for the table
| min_quality = minimum quality to display
| max_quality = maximum quality to display

| col_resist# = name (damage type) for resistance/threshold column #
| base_DR#    = resist column # base Damage Resistance %
| base_DT#    = resist column # base Damage Threshold
| quality_DR# = resist column # Damage Resistance % quality multiplier
| quality_DT# = resist column # Damage Threshold quality multiplier

| col_common# = name for generic quality scaling column #
| base#       = common column # base factor
| quality#    = common column # quality multiplier
| min#        = common column # min value (optional)
| max#        = common column # max value (optional)

| col_damage#  = name for damage column #
| base_dmg#    = damage column # base damage
| level_dmg#   = damage column # level multiplier
| dmgspread_L# = damage column # lower damage spread
| dmgspread_U# = damage column # upper damage spread
}}