ElEditors, Interface administrators, Administrators
70,975
edits
(Created page with "__NOTOC__ == Overview == This template is used for '''Total Damage''' section on skill pages in order to avoid hardcoding mathematical formulas and not pollute the page's code...") |
|||
Line 17: | Line 17: | ||
*'''passive2''' - same as above, this will also enable merged variables (passive 1 and passive 2 included) | *'''passive2''' - same as above, this will also enable merged variables (passive 1 and passive 2 included) | ||
*'''format''' - enables pretty-printing of the numbers (applies % sign and <nowiki>{{{formatnum:}}}</nowiki>). Do not use this if you want to tamper with the variables afterwards. Enabled by default, you can provide '''false''' to disable it. | *'''format''' - enables pretty-printing of the numbers (applies % sign and <nowiki>{{{formatnum:}}}</nowiki>). Do not use this if you want to tamper with the variables afterwards. Enabled by default, you can provide '''false''' to disable it. | ||
=== Extra === | |||
*The generated variables always follow this order in their names: damage type → passives → trait → pvp suffix, e.g. ''<nowiki>{{#var: total_damage_passive1_passive2_empowered_pvp}}</nowiki>'' | |||
== What works and what doesn't == | == What works and what doesn't == |