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

From Underrail Wiki
Jump to navigation Jump to search
(add style param)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Quality table
 
{{Quality table
 +
| style      = optional css for the table
 +
 
| name        = name for the table
 
| name        = name for the table
 
| min_quality = minimum quality to display
 
| min_quality = minimum quality to display
Line 18: Line 20:
 
| base#      = common column # base factor
 
| base#      = common column # base factor
 
| quality#    = common column # quality multiplier
 
| quality#    = common column # quality multiplier
 +
| min#        = common column # min value (optional)
 +
| max#        = common column # max value (optional)
  
| col_damage# = name for damage column #
+
| col_damage# = name for damage column #
| base_LD#    = damage column # lower base damage
+
| base_dmg#    = damage column # base damage
| base_UD#   = damage column # upper base damage
+
| level_dmg#   = damage column # level multiplier
| quality_LD# = damage column # lower damage quality multiplier
+
| dmgspread_L# = damage column # lower damage spread
| quality_UD# = damage column # upper damage quality multiplier
+
| dmgspread_U# = damage column # upper damage spread
 
}}
 
}}
 
</pre>
 
</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 04: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
}}