Template:Character/Attribute: Difference between revisions
Jump to navigation
Jump to search
(update to support stat multipliers) |
No edit summary |
||
Line 5: | Line 5: | ||
The fifth parameter is a multiplier for the stat (this is derived from the stat's "Bonus" attribute using a particular formula). If not specified, it defaults to 1. | The fifth parameter is a multiplier for the stat (this is derived from the stat's "Bonus" attribute using a particular formula). If not specified, it defaults to 1. | ||
The sixth parameter is an additive value that represents extrinsic bonuses, such as the bonuses from mutations or armor. | |||
<syntaxhighlight lang="html">{{Character/Attribute | <syntaxhighlight lang="html">{{Character/Attribute | ||
Line 12: | Line 14: | ||
| 4 = Attributes | | 4 = Attributes | ||
| 5 = 1.25 | | 5 = 1.25 | ||
| 6 = 0 | |||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
Line 22: | Line 25: | ||
| 4 = Attributes | | 4 = Attributes | ||
| 5 = 1.25 | | 5 = 1.25 | ||
| 6 = 0 | |||
}} | }} | ||
</div> | </div> |
Revision as of 02:12, 14 February 2021
Outputs a single character attribute. Intended for use in Template:Character.
The fourth parameter is the link for the tooltip. If not specified it will link to the Attributes page by default.
The fifth parameter is a multiplier for the stat (this is derived from the stat's "Bonus" attribute using a particular formula). If not specified, it defaults to 1.
The sixth parameter is an additive value that represents extrinsic bonuses, such as the bonuses from mutations or armor.
{{Character/Attribute
| 1 = Strength
| 2 = ST
| 3 = 17+3d2
| 4 = Attributes
| 5 = 1.25
| 6 = 0
}}
Additional Notes
You can also specify ?
or ??
as a value for unknown stats, and this template will show that value in place of the stat.