Difference between revisions of "Template:Quality table"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
! 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_common1|}}}|&nbsp;
 
! <span style="cursor:help" title="Formula: {{{base1}}} + {{{quality1}}}*quality{{#if: {{{min1|}}}|&#10;Minimum value: {{{min1}}}|}}{{#if: {{{max1|}}}|&#10;Maximum value: {{{max1}}}|}}">{{{col_common1}}}</span>|}}{{#if: {{{col_damage1|}}}|&nbsp;
 
! <span style="cursor:help" title="Formula: {{{base1}}} + {{{quality1}}}*quality{{#if: {{{min1|}}}|&#10;Minimum value: {{{min1}}}|}}{{#if: {{{max1|}}}|&#10;Maximum value: {{{max1}}}|}}">{{{col_common1}}}</span>|}}{{#if: {{{col_damage1|}}}|&nbsp;
! <span style="cursor:help" title="Formula: {{{base_dmg1}}} + {{{level_dmg1}}}*level damage with {{{dmgspread_L1}}}-{{{dmgspread_U1}}} damage spread">{{{col_damage1}}}</span>|}}{{#ifexpr: {{{min_quality|0}}} <= 1 and 1 <= {{{max_quality|9000}}}|&nbsp;
+
! <span style="cursor:help" title="Formula: {{{base_dmg1}}} + {{{level_dmg1}}}*level with {{{dmgspread_L1}}}-{{{dmgspread_U1}}} damage spread">{{{col_damage1}}}</span>|}}{{#ifexpr: {{{min_quality|0}}} <= 1 and 1 <= {{{max_quality|9000}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
!  1{{#if: {{{col_resist1|}}}|&nbsp;
 
!  1{{#if: {{{col_resist1|}}}|&nbsp;

Revision as of 14:45, 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
}}