• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Formula"

From Kancolle Wiki
Jump to navigation Jump to search
m
m
 
Line 22: Line 22:
 
{{Formula
 
{{Formula
 
|Title= (string) title of the table visible collasped
 
|Title= (string) title of the table visible collasped
|Math= (string) LaTeX formula, <nowiki><math></nowiki> included in ther template
+
|Math= (string) LaTeX formula, <nowiki><math></nowiki> included in the template
 
|Var= (string) list of variable use in the formula, start with a list
 
|Var= (string) list of variable use in the formula, start with a list
 
|Notes= (string) additionnal note on the formula, start with a list
 
|Notes= (string) additionnal note on the formula, start with a list

Latest revision as of 12:15, 17 September 2024



{{Formula
|Title= (string) title of the table visible collasped
|Math= (string) LaTeX formula, <math> included in the template
|Var= (string) list of variable use in the formula, start with a list
|Notes= (string) additionnal note on the formula, start with a list
}}

Displays the Formulas as:

Damage Formula
[math]\displaystyle{ \text{Damage} = \biggl \lfloor \biggl ( \text{Atk}_\text{post-cap} - \text{DEF} \biggr ) \times \text{Ammo} \biggr \rfloor }[/math]
With
  • [math]\displaystyle{ \text{Atk}_\text{post-cap} }[/math] the final attack power of the assailant after the cap and all the modifers have been applied,
  • [math]\displaystyle{ \text{DEF} }[/math] the defensive power of the target,
  • [math]\displaystyle{ \text{Ammo} }[/math] the remaining ammunition modifier.
Notes
  • test