Template:Salvage research footer

From Guild Wars 2 Wiki
Jump to navigationJump to search

A footer template for {{Salvage research header}}. This template calculates the totals for each given kit, and presents the likely "per salvage" results.

Parameters[edit]

<Kit abbreviation> note
The text you wish to appear to the right of the "per salvage" data for the kit dependent rows. This could be a function of the variables, text, or blank.
global note
The text you wish to appear to the right of the "per salvage" data for the final row. This could be a function of the variables, text, or blank.
icon labels
Optional. Use if table is particularly long, this will cause a repetition of the icon label row from the headers.
e.g. icon labels = Ectos salvaged, Crystalline Dust, Luck (fine), Luck (masterwork), Luck (rare), Luck (exotic)

Example[edit]

See {{Salvage research header}}
{{Salvage research footer
 | Basic note = Average luck pts per ecto salvage: {{#expr: (({{#var:4_Basic}}*10) + ({{#var:5_Basic}}*50) + ({{#var:6_Basic}}*100) + ({{#var:7_Basic}}*200)) / {{#var:2_Basic}} round 2 }}
 | Master note = Average luck pts per ecto salvage: {{#expr: (({{#var:4_Master}}*10) + ({{#var:5_Master}}*50) + ({{#var:6_Master}}*100) + ({{#var:7_Master}}*200)) / {{#var:2_Master}} round 2 }}
 | global note = Average luck pts per ecto salvage: {{#expr: (({{#var:4}}*10) + ({{#var:5}}*50) + ({{#var:6}}*100) + ({{#var:7}}*200)) / {{#var:2}} round 2 }}
}}