Difference between revisions of "Template:NPC Skill"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if: {{{type|}}} | [[Category:{{{type}}} Skills{{!}}{{{name}}}]] }}{{#if: {{{area|}}} | [[Category:AoE Skills{{!}}{{{name}}}]] }}{{#if: {{{knock|}}} | Categor...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{type|}}} | [[Category:{{{type}}} Skills{{!}}{{{name}}}]] }}{{#if: {{{area|}}} | [[Category:AoE Skills{{!}}{{{name}}}]] }}{{#if: {{{knock|}}} | [[Category:Knock Back Skills{{!}}{{{name}}}]] }}{{#if: {{{element|}}} | [[Category:Forced Element Skills{{!}}{{{name}}}]] [[Category:{{{element}}}{{!}}{{{name}}}]] }}{{#if: {{{status|}}} | [[Category:Status Inflicting Skills{{!}}{{{name}}}]] }}{{#if: {{{status2|}}} | [[Category:Status Inflicting Skills{{!}}{{{name}}}]] }}{{#if: {{{range|}}} | {{#switch: {{{range}}} | Melee=[[Category:Melee Skills{{!}}{{{name}}}]] | Magic=[[Category:Magic Skills{{!}}{{{name}}}]] | [[Category:Ranged Skills{{!}}{{{name}}}]] }} }} | <includeonly>{{#if: {{{type|}}} | [[Category:{{{type}}} Skills{{!}}{{{name}}}]] }}{{#if: {{{area|}}} | [[Category:AoE Skills{{!}}{{{name}}}]] }}{{#if: {{{knock|}}} | [[Category:Knock Back Skills{{!}}{{{name}}}]] }}{{#if: {{{element|}}} | [[Category:Forced Element Skills{{!}}{{{name}}}]] [[Category:{{{element}}}{{!}}{{{name}}}]] }}{{#if: {{{status|}}} | [[Category:Status Inflicting Skills{{!}}{{{name}}}]] }}{{#if: {{{status2|}}} | [[Category:Status Inflicting Skills{{!}}{{{name}}}]] }}{{#if: {{{range|}}} | {{#switch: {{{range}}} | Melee=[[Category:Melee Skills{{!}}{{{name}}}]] | Magic=[[Category:Magic Skills{{!}}{{{name}}}]] | [[Category:Ranged Skills{{!}}{{{name}}}]] }} }} | ||
− | {| class="infobox" style="width:30em;" | + | {| class="infobox" style="width:30em; float:right;" |
|- | |- | ||
! colspan=2 style="background:#{{#switch: {{{type}}} | Active = CCFFCC | Offensive = FFCCCC | Supportive = CCFFFF | CCCCCC }}; font-size:130%;" | [[File:NPC_Skill_Icon.png]] {{{name}}} | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active = CCFFCC | Offensive = FFCCCC | Supportive = CCFFFF | CCCCCC }}; font-size:130%;" | [[File:NPC_Skill_Icon.png]] {{{name}}} | ||
Line 39: | Line 39: | ||
|} | |} | ||
{{#ifeq: {{FULLPAGENAME}} | Template:NPC Skill | | [[Category:Monster Exclusive Skills{{!}}{{{name}}}]] }}</includeonly><noinclude>__NOTOC__ | {{#ifeq: {{FULLPAGENAME}} | Template:NPC Skill | | [[Category:Monster Exclusive Skills{{!}}{{{name}}}]] }}</includeonly><noinclude>__NOTOC__ | ||
− | {| class="infobox" style="width:30em;" | + | {| class="infobox" style="width:30em; float:right;" |
|- | |- | ||
! colspan=2 style="background:#CCCCCC; font-size:130%;" | [[File:NPC_Skill_Icon.png]] {{{name}}} | ! colspan=2 style="background:#CCCCCC; font-size:130%;" | [[File:NPC_Skill_Icon.png]] {{{name}}} |
Latest revision as of 02:51, 2 April 2025
Description
This template displays a small info box for an NPC skill and should be used at the beginning of all NPC skill pages. Once this template is used, it auto-adds Category:Monster Exclusive Skills.
Usage
{{NPC Skill | name = | type = | levels = | duration = | target = | range = | range_x = | area = | knock = | element = | status = | status2 = | s_icon = }}
Mandatory Fields
Field | Description | Auto-adds Category if used |
---|---|---|
name | The name from the skill, without "NPC" and with proper capitals. | - |
type | Main type of the skill. Values have to be Active, Supportive or Offensive. | Category:<type> |
levels | Maximum levels of the skill. | - |
Optional Fields
Field | Description | Auto-adds Category if used |
---|---|---|
duration | Lasting time of the skill/skill's effect. (30 seconds, 1 minute, etc) | - |
target | Target. (ground, self, another monster, player, etc) | Not yet implemented. |
range | Range. (Melee, Magic, 3 cells, 4 cells, etc) | If value is is "Melee", Category:Melee Skills If value is "Magic", Category:Magic Skills If value is numeric, Category:Ranged Skills |
range_x | Non-conditional Range value for skills that do have a cell-range, but where it is irrelevant from the standpoint of defensive skills or gears because of their non-offensive nature. | - |
area | Area of Effect. (3x3, 7x7, etc) | Category:AoE Skills |
knock | Knock back push amount (2, 7, etc). | Category:Knock Back Skills |
element | Primary elemental property, if applicable. (Water, Holy, Neutral, etc) | Category:Forced Element Skills and Category:<element> |
status | Status the skill inflicts on the Target. Links to Status Effects. | Category:Status Inflicting Skills |
status2 | Status(es) the skill inflicts on the Target. | Category:Status Inflicting Skills |
s_icon | Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in Status Icons as I_(field).png (between "I_" and ".png")
|
- |