Difference between revisions of "Template:Quality table/doc"

From Underrail Wiki
Jump to navigation Jump to search
m
(add style param)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
;Description
 
;Description
: This template is used to autogenerate crafted armor DR%/DT quality tables
+
: This template is used to autogenerate quality tables for various properties of crafted items - armor DR%/DT, etc.
  
 
;Parameters
 
;Parameters
* <code>name</code> - name for the table
+
<pre>
* <code>min_quality</code> - minimum quality to display (not yet implemented)
+
{{Quality table
* <code>max_quality</code> - maximum quality to display (not yet implemented)
+
| style      = optional css for the table
* <code>coln</code> - name (damage type) for column n
 
* <code>base_DRn</code> - base Damage Resistance % for column n
 
* <code>base_DTn</code> - base Damage Threshold for column n
 
* <code>quality_DRn</code> - Damage Resistance % quality multiplier for column n
 
* <code>quality_DTn</code> - Damage Threshold quality multiplier for column n
 
  
 +
| 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
 +
}}
 +
</pre>
  
 
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 03:30, 9 January 2020

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
}}