- 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"
Jump to navigation
Jump to search
Jigaraphale (talk | contribs) |
Jigaraphale (talk | contribs) m |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
| | | | ||
{|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | ||
− | |valign="center"| {{{Math|}}} | + | |valign="center"| {{#tag:math|{{{Math|}}}}} |
|} | |} | ||
− | + | {{#if:{{{Var|}}}| | |
− | ;With | + | ;With}} |
*{{{Var|}}} | *{{{Var|}}} | ||
− | {{#if:{{{Notes|}}}|;Notes}} | + | {{#if:{{{Notes|}}}| |
+ | {{!}}- | ||
+ | {{!}} | ||
+ | ;Notes}} | ||
*{{{Notes|}}} | *{{{Notes|}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
+ | |||
+ | |||
+ | <pre> | ||
+ | {{Formula | ||
+ | |Title= (string) title of the table visible collasped | ||
+ | |Math= (string) LaTeX formula, <nowiki><math></nowiki> 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 | ||
+ | }} | ||
+ | </pre> | ||
Displays the Formulas as: | Displays the Formulas as: | ||
− | + | {{Formula | |
− | |||
|Title=Damage Formula | |Title=Damage Formula | ||
− | |Math= | + | |Math=\text{Damage} = \biggl \lfloor \biggl ( \text{Atk}_\text{post-cap} - \text{DEF} \biggr ) \times \text{Ammo} \biggr \rfloor |
|Var=<math>\text{Atk}_\text{post-cap}</math> the final attack power of the assailant after the cap and all the modifers have been applied, | |Var=<math>\text{Atk}_\text{post-cap}</math> the final attack power of the assailant after the cap and all the modifers have been applied, | ||
* <math>\text{DEF}</math> the '''[[#Defense Power|defensive power]]''' of the target, | * <math>\text{DEF}</math> the '''[[#Defense Power|defensive power]]''' of the target, |
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 | |
---|---|
| |
|