Template:SetBonus/doc: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
Place this inside another template such as Armor or | Place this inside another template such as Armor or Accessory: | ||
<pre> | <pre> | ||
| Line 49: | Line 49: | ||
;set_bonus_N_effectX_stat | ;set_bonus_N_effectX_stat | ||
:The stat affected (e.g., | :The stat affected (e.g., Hit, Positional, Healing). | ||
;set_bonus_N_effectX_value | ;set_bonus_N_effectX_value | ||
:The value applied to the stat | :The value applied to the stat. | ||
Stats are automatically bolded and linked to their respective categories | Stats are automatically bolded and linked to their respective categories | ||
== Auto-Categorization == | == Auto-Categorization == | ||
Each unique stat used will automatically add the item to a corresponding category | Each unique stat used will automatically add the item to a corresponding category | ||
== Example Output == | == Example Output == | ||
2 pieces: + | 2 pieces: +1 '''Healing''', +1 '''Resilience'''<br> | ||
3 pieces: +3 | 3 pieces: +3 '''Healing''', +3 '''Resilience'''<br> | ||
5 pieces: + | 5 pieces: +7 '''Healing''', +7 '''Resilience''' | ||
Latest revision as of 11:34, 27 April 2025
This template is used to display set bonuses granted by equipping multiple pieces of a named item set (e.g., armor or accessories).
It supports up to 3 tiers of bonuses, each with up to 3 effects, and automatically categorizes the item by each affected stat.
Usage
Place this inside another template such as Armor or Accessory:
{{SetBonus
| set_name =
| set_bonus_1_required =
| set_bonus_1_effect1_stat =
| set_bonus_1_effect1_value =
| set_bonus_1_effect2_stat =
| set_bonus_1_effect2_value =
| set_bonus_1_effect3_stat =
| set_bonus_1_effect3_value =
| set_bonus_2_required =
| set_bonus_2_effect1_stat =
| set_bonus_2_effect1_value =
| set_bonus_2_effect2_stat =
| set_bonus_2_effect2_value =
| set_bonus_2_effect3_stat =
| set_bonus_2_effect3_value =
| set_bonus_3_required =
| set_bonus_3_effect1_stat =
| set_bonus_3_effect1_value =
| set_bonus_3_effect2_stat =
| set_bonus_3_effect2_value =
| set_bonus_3_effect3_stat =
| set_bonus_3_effect3_value =
}}
Parameters
Set Metadata
- set_name
- The name of the armor or accessory set being referenced.
- set_bonus_N_required
- Number of pieces required to activate tier N of the bonus.
Bonus Tiers
Each tier accepts up to 3 bonus effects using a stat and value pair.
- set_bonus_N_effectX_stat
- The stat affected (e.g., Hit, Positional, Healing).
- set_bonus_N_effectX_value
- The value applied to the stat.
Stats are automatically bolded and linked to their respective categories
Auto-Categorization
Each unique stat used will automatically add the item to a corresponding category
Example Output
2 pieces: +1 Healing, +1 Resilience
3 pieces: +3 Healing, +3 Resilience
5 pieces: +7 Healing, +7 Resilience