User:Trang Oul/Sandbox/Template:Skill tab bonus

From Basin Wiki
< User:Trang Oul‎ | Sandbox
Revision as of 21:45, 4 November 2026 by Trang Oul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sources

Built automatically from:

  • charstats.txt (cols: StrSkillTab1, StrSkillTab2, StrSkillTab3 - keys for string labels (whole) and keys for skill tabs (trailing numbers))
  • data\local\lng\strings (string label values, Key used as key (matched with StrSkillTab1, StrSkillTab2, StrSkillTab3 from charstats.txt))

To be done manually:

  • Add links to skill tabs

Usage

{{Skill tab bonus|<skill tab ID>|<bonus value>|[classonly=0]}}

Parameters

1 (required)
Skill tab ID.
2 (required)
Bonus value. Should be with plus sign. Can be passed as a range.
classonly (optional)
Flag to display class restriction text. Must be strictly 0 or 1.
  • 0 – Disabled (default).
  • 1 – Enabled.

Examples

Fixed bonus
{{Skill tab bonus|6|+3}}
+3 to Combat Skills
Bonus as a range
{{Skill tab bonus|13|{{Range||2|4|signed=1}}}}
+(2-4) to Cold Skills
With class restriction
{{Skill tab bonus|24|+3|classonly=1}}
+3 to Demon Skills (Warlock Only)
Unknown skill tab
{{Skill tab bonus|99|+3|classonly=1}}
+3 to 99 (Class Only)