Difference between revisions of "User:Trang Oul/Sandbox/Template:Skill name"

From Basin Wiki
Jump to navigation Jump to search
(Undo revision 70539 by Trang Oul (talk))
Tag: Undo
Line 104: Line 104:
 
|  34 | Lightning Strike          = [[Lightning Strike]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|ama}} }}
 
|  34 | Lightning Strike          = [[Lightning Strike]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|ama}} }}
 
|  35 | Lightning Fury            = [[Lightning Fury]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|ama}} }}
 
|  35 | Lightning Fury            = [[Lightning Fury]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|ama}} }}
−
|  36 | Fire Bolt                = [[Fire Bolt]]{{#if: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|sor}} }}
+
|  36 | Fire Bolt                = [[Fire Bolt]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|sor}} }}
 
|  37 | Warmth                    = [[Warmth]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|sor}} }}
 
|  37 | Warmth                    = [[Warmth]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|sor}} }}
 
|  38 | Charged Bolt              = [[Charged Bolt]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|sor}} }}
 
|  38 | Charged Bolt              = [[Charged Bolt]]{{#ifexpr: {{{classonly|0}}} | {{User:Trang Oul/Sandbox/Template:Class only|sor}} }}

Revision as of 17:46, 1 November 2026

Sources

Built automatically from:

  • skills.txt (cols: skill - name, Id/*Id - ID, charclass - class)
  • skilldesc.txt (cols: skilldesc - name (matched with skill from skills.txt after casefolding), str name - key for string label)
  • data\local\lng\strings (string label values, Key used as key (matched with str name from skilldesc.txt))

Usage

{{Skill name|<skill ID or tech name>|[classonly=0]}}

Parameters

1 (required)
Skill ID or technical name from skills.txt (also used as a skill property value).
classonly (optional)
Flag to display class restriction text. Must be strictly 0 or 1.
  • 0 – Disabled (default).
  • 1 – Enabled.

Examples

Skill name by ID
{{Skill name|6}}
Magic Arrow


{{Skill name|371}}
Mark of the Bear
Skill name by technical name (notice that some differ from the in-game labels)
{{Skill name|Magic Arrow}}
Magic Arrow


{{Skill name|Sigil Death}}
Sigil: Death


{{Skill name|Delerium Change}}
Delirium


{{Skill name|Townportal O Skill}}
Town Portal


{{Skill name|Tainted Fire Bolt}}
Fire Bolt
Skill name with class restriction text
{{Skill name|6|classonly=1}}
Magic Arrow (Amazon Only)


{{Skill name|Sigil Death|classonly=1}}
Fire Ball (Sorceress Only)


{{Skill name|Townportal O Skill|classonly=1}} - non-class skill, so no restriction is displayed
Town Portal
Skill not defined
{{Skill name|9999|classonly=1}}
9999 (Class Only)


{{Skill name|Other Skill|classonly=1}}
Other Skill (Class Only)