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

From Underrail Wiki
Jump to navigation Jump to search
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
+
{{Quality table
* <code>max_quality</code> - maximum quality to display
+
| name       = name for the table
* <code>coln</code> - name (damage type) for column n
+
| min_quality = minimum quality to display
* <code>base_DRn</code> - base Damage Resistance % for column n
+
| max_quality = maximum quality to display
* <code>base_DTn</code> - base Damage Threshold for column n
+
 
* <code>quality_DRn</code> - Damage Resistance % quality multiplier for column n
+
| col_resist# = name (damage type) for resistance/threshold column #
* <code>quality_DTn</code> - Damage Threshold quality multiplier for column n
+
| 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
 +
 
 +
| col_damage# = name for damage column #
 +
| base_LD#    = damage column # lower base damage
 +
| base_UD#    = damage column # upper base damage
 +
| quality_LD# = damage column # lower damage quality multiplier
 +
| quality_UD# = damage column # upper damage quality multiplier
 +
}}
 +
</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>

Revision as of 05:54, 14 May 2017

Description
This template is used to autogenerate quality tables for various properties of crafted items - armor DR%/DT, etc.
Parameters
{{Quality 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

| col_damage# = name for damage column #
| base_LD#    = damage column # lower base damage
| base_UD#    = damage column # upper base damage
| quality_LD# = damage column # lower damage quality multiplier
| quality_UD# = damage column # upper damage quality multiplier
}}