Difference between revisions of "User:Trang Oul/Sandbox/Template:Skill name"
< User:Trang Oul | Sandbox
Jump to navigation
Jump to search
| Line 67: | Line 67: | ||
| − | </noinclude><includeonly>{{#switch: {{{1|}}} | + | </noinclude><includeonly> |
| + | {{{classonly}}}<br/> | ||
| + | {{#switch: {{{1|}}} | ||
| 0 | Attack = Attack | | 0 | Attack = Attack | ||
| 1 | Kick = Kick | | 1 | Kick = Kick | ||
Revision as of 17:39, 1 November 2026
Sources
Built automatically from:
skills.txt(cols:skill- name,Id/*Id- ID,charclass- class)skilldesc.txt(cols:skilldesc- name (matched withskillfromskills.txtafter casefolding),str name- key for string label)data\local\lng\strings(string label values,Keyused as key (matched withstr namefromskilldesc.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
0or1.0– Disabled (default).1– Enabled.
Examples
- Skill name by ID
{{Skill name|6}}
{{{classonly}}}
Magic Arrow(Class Only)
{{Skill name|371}}
{{{classonly}}}
Mark of the Bear
- Skill name by technical name (notice that some differ from the in-game labels)
{{Skill name|Magic Arrow}}
{{{classonly}}}
Magic Arrow(Class Only)
{{Skill name|Sigil Death}}
{{{classonly}}}
Sigil: Death(Class Only)
{{Skill name|Delerium Change}}
{{{classonly}}}
Delirium
{{Skill name|Townportal O Skill}}
{{{classonly}}}
Town Portal
{{Skill name|Tainted Fire Bolt}}
{{{classonly}}}
Fire Bolt
- Skill name with class restriction text
{{Skill name|6|classonly=1}}
1
Magic Arrow(Class Only)
{{Skill name|Sigil Death|classonly=1}}
1
Fire Ball(Class Only)
{{Skill name|Townportal O Skill|classonly=1}}- non-class skill, so no restriction is displayed
1
Town Portal
- Skill not defined
{{Skill name|9999|classonly=1}}
1
9999(Class Only)
{{Skill name|Other Skill|classonly=1}}
1
Other Skill(Class Only)