Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:SkillPage"
(Get rid of SkillData dependency. Add DPL generated skill nav. Fix Icon linking for skills with Colons in their names.) |
(Added properties for classes) |
||
(72 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
+ | |||
+ | |||
<table width="100%"> | <table width="100%"> | ||
<tr> | <tr> | ||
Line 8: | Line 10: | ||
<tr><td> | <tr><td> | ||
</noinclude> | </noinclude> | ||
+ | __NOTOC__ | ||
<!--Sidebar--> | <!--Sidebar--> | ||
− | < | + | {{#if:{{{RemovedSkill|}}}|<!--dfoplayer. If RemovedSkill is defined--> |
− | + | {{#switch:{{{RemovedSkill}}} | |
+ | |Yes={{RemovedContent}} | ||
+ | | | ||
+ | }} | ||
+ | }} | ||
<table cellpadding="2" cellspacing="2" style="float: right; width: 250px; padding: 6px; margin: 0 0 1em 1em; font-size: 0.83em; background-color: #f7f8ff; border:1px solid #8888aa;"> | <table cellpadding="2" cellspacing="2" style="float: right; width: 250px; padding: 6px; margin: 0 0 1em 1em; font-size: 0.83em; background-color: #f7f8ff; border:1px solid #8888aa;"> | ||
<tr style="background: #ccccff"> | <tr style="background: #ccccff"> | ||
<th colspan="2" style="text-align: center;"> | <th colspan="2" style="text-align: center;"> | ||
− | <big>[[File:{{#replace:{{{Name}}}|:|-}}.png]] '''{{{Name}}}'''</big> | + | {{#ifeq:{{{DiffIcon}}}|Yes| |
+ | {{#switch:{{{Gender}}}<!-- if Gender is set to both, add Female and Male --> | ||
+ | |Both = | ||
+ | <big>[[File:{{#replace:{{{Name}}}|:|-}}_(Female).png]] [[File:{{#replace:{{{Name}}}|:|-}}_(Male).png]] '''{{{Name}}}'''</big> | ||
+ | | | ||
+ | }} | ||
+ | |<big>[[File:{{#replace:{{{Name}}}|:|-}}{{#if:{{{Gender|}}}|{{#ifexist:File:{{#replace:{{{Name}}}|:|-}}_({{{Gender|}}}).png|_({{{Gender|}}})}}}}.png]] '''{{{Name}}}'''</big> | ||
+ | }} | ||
</th> | </th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td colspan="2" {{#if:{{{Video|}}} | + | <td colspan="2"> {{tabs |
− | | | + | |name=Videos |
− | | | + | |tab1={{#if:{{{NameTab|}}}|{{{NameTab}}}|Video 1}} |
+ | |contents1={{#if:{{{Video|}}} | ||
+ | |{{#ev:youtube|{{{Video}}}|225 }} | ||
+ | |No Video}} | ||
+ | |||
+ | {{#if:{{{VideoT|}}} | ||
+ | |<hr><b>Talisman Variation</b> | ||
+ | {{#ev:youtube|{{{VideoT}}}|225 }} | ||
+ | |}} | ||
+ | |||
+ | |tab2={{#if:{{{NameTab2|}}}|{{{NameTab2}}}|Video 2}} | ||
+ | |contents2={{#if:{{{Video2|}}} | ||
+ | |{{#ev:youtube|{{{Video2}}}|225 }} | ||
+ | |No Video}} | ||
+ | |||
+ | {{#if:{{{Video2T|}}} | ||
+ | |<hr><b>Talisman Variation</b> | ||
+ | {{#ev:youtube|{{{Video2T}}}|225 }} | ||
+ | |}} | ||
+ | |||
+ | }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td colspan="2" style="text-align:center">{{{Type2|}}} {{{Type}}}</td> | + | <td colspan="2" style="text-align:center">'''{{{Type3|}}} {{{Type2|}}} {{{Type}}} Skill'''</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 31: | Line 65: | ||
{{#switch:{{{Gender}}} | {{#switch:{{{Gender}}} | ||
|Both = [[Male {{{Class}}}]] | |Both = [[Male {{{Class}}}]] | ||
− | [[Female {{{Class}}}]] | + | <br>[[Female {{{Class}}}]] |
|Female=[[Female {{{Class}}}]] | |Female=[[Female {{{Class}}}]] | ||
|Male=[[Male {{{Class}}}]] | |Male=[[Male {{{Class}}}]] | ||
− | |[[{{{Class}}}]] | + | |[[{{{Class}}}]] |
− | }}</td> | + | }} |
+ | {{#if:{{{Class2|}}}|<!--dfoplayer. if class2 exists--> | ||
+ | <br>{{#switch:{{{Gender}}} | ||
+ | |Both = [[Male {{{Class2}}}]] | ||
+ | <br>[[Female {{{Class2}}}]] | ||
+ | |Female=[[Female {{{Class2}}}]] | ||
+ | |Male=[[Male {{{Class2}}}]] | ||
+ | |[[{{{Class2}}}]] | ||
+ | }} | ||
+ | |}} | ||
+ | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align:right">Command:</th> | <th style="text-align:right">Command:</th> | ||
− | <td>{{#if:{{{Command|}}}|{{{Command}}}|None}}</td> | + | <td> {{#if:{{{Command|}}}|{{{Command}}}|None}} </td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 49: | Line 93: | ||
<td>{{#if:{{{PrerequisiteSkill|}}}|{{{PrerequisiteSkill}}}|None}}</td> | <td>{{#if:{{{PrerequisiteSkill|}}}|{{{PrerequisiteSkill}}}|None}}</td> | ||
</tr> | </tr> | ||
+ | {{#if:{{{AltName|}}}| | ||
+ | <tr> | ||
+ | <th style="text-align:right">Alternate Names:</th> | ||
+ | <td>{{{AltName}}}</td> | ||
+ | </tr>|}} | ||
</table><!--End Sidebar--> | </table><!--End Sidebar--> | ||
Line 55: | Line 104: | ||
<h2 id="Attributes">Attributes</h2> | <h2 id="Attributes">Attributes</h2> | ||
{{{Attributes}}} | {{{Attributes}}} | ||
+ | {{#if:{{{ElementAttribute|}}}| | ||
+ | {{#arraydefine:ele|{{{ElementAttribute}}} }} | ||
+ | {{#arrayprint:ele||@@@@|<nowiki/> | ||
+ | * {{IconLink|@@@@ Element}} Attribute | ||
+ | {{#set:Has elemental attribute=@@@@}} | ||
+ | [[Category:@@@@ Attribute Skills]] | ||
+ | }} }} | ||
+ | {{#if:{{{Notes|}}}| | ||
<h2 id="Notes">Notes</h2> | <h2 id="Notes">Notes</h2> | ||
− | {{{Notes}}} | + | {{{Notes}}} }} |
+ | {{#if:{{{SkillGrowth|}}}| | ||
<h2 id="Skill Growth">Skill Growth</h2> | <h2 id="Skill Growth">Skill Growth</h2> | ||
+ | {{TableNote}} | ||
+ | <div style="max-height:500px; overflow-y:auto; font-size: 0.7em;"> | ||
{{{SkillGrowth}}} | {{{SkillGrowth}}} | ||
+ | </div> | ||
+ | }} | ||
+ | |||
+ | |||
+ | {{#if:{{{RemovedSkill|}}}|<!--dfoplayer. If RemovedSkill is defined--> | ||
+ | |<!--dfoplayer. If RemovedSkill is NOT defined, continue --> | ||
+ | <!------------------------------------------- | ||
+ | Categories | ||
+ | ----------------------------------------------> | ||
+ | {{#if:{{{Class2|}}}|<!--dfoplayer. If Class2 is defined--> | ||
+ | {{#set:Class2={{{Class2}}}}} | ||
{{#switch:{{{Gender}}} | {{#switch:{{{Gender}}} | ||
− | |Both= | + | |Both =[[Category:Male {{{Class2}}} Skills]][[Category:Female {{{Class2}}} Skills]] |
− | + | |Female=[[Category:Female {{{Class2}}} Skills]] | |
− | | | + | |Male=[[Category:Male {{{Class2}}} Skills]] |
+ | |[[Category:{{{Class2}}} Skills]] | ||
}} | }} | ||
+ | {{#if:{{{Type2|}}}|<!--dfoplayer. If Type2 is defined--> | ||
+ | [[Category:{{{Type2}}} Skills]] | ||
+ | {{#switch:{{{Gender}}}<!--Else, which should be TP, apply Class TP Skill--> | ||
+ | |Both =[[Category:Male {{{Class2}}} {{{Type2}}} Skills]][[Category:Female {{{Class2}}} {{{Type2}}} Skills]] | ||
+ | |Female=[[Category:Female {{{Class2}}} {{{Type2}}} Skills]] | ||
+ | |Male=[[Category:Male {{{Class2}}} {{{Type2}}} Skills]] | ||
+ | |[[Category:{{{Class2}}} {{{Type2}}} Skills]] | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | {{#switch:{{{Gender}}} | ||
+ | |Both =[[Category:Male {{{Class}}} Skills]][[Category:Female {{{Class}}} Skills]] | ||
+ | |Female=[[Category:Female {{{Class}}} Skills]] | ||
+ | |Male=[[Category:Male {{{Class}}} Skills]] | ||
+ | |[[Category:{{{Class}}} Skills]] | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{Type2|}}}|<!--dfoplayer. If Type2 is defined--> | ||
+ | [[Category:{{{Type2}}} Skills]] | ||
+ | {{#switch:{{{Gender}}}<!--Else, which should be TP, apply Class TP Skill--> | ||
+ | |Both =[[Category:Male {{{Class}}} {{{Type2}}} Skills]][[Category:Female {{{Class}}} {{{Type2}}} Skills]] | ||
+ | |Female=[[Category:Female {{{Class}}} {{{Type2}}} Skills]] | ||
+ | |Male=[[Category:Male {{{Class}}} {{{Type2}}} Skills]] | ||
+ | |[[Category:{{{Class}}} {{{Type2}}} Skills]] | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{Type3|}}}|<!--dfoplayer. If Type3 is defined--> | ||
+ | [[Category:{{{Type3}}} Skills]] | ||
+ | {{#switch:{{{Gender}}}<!--Else, which should be TP, apply Class TP Skill--> | ||
+ | |Both =[[Category:Male {{{Class}}} {{{Type3}}} Skills]][[Category:Female {{{Class}}} {{{Type3}}} Skills]] | ||
+ | |Female=[[Category:Female {{{Class}}} {{{Type3}}} Skills]] | ||
+ | |Male=[[Category:Male {{{Class}}} {{{Type3}}} Skills]] | ||
+ | |[[Category:{{{Class}}} {{{Type3}}} Skills]] | ||
+ | }} | ||
+ | }} | ||
+ | {{#if:{{{AlbertQuest|}}}|<!--dfoplayer. if AlbertQuest1 exists--> | ||
+ | {{#switch:{{{AlbertQuest}}} | ||
+ | |Yes= | ||
+ | {{#switch:{{{Gender}}}<!-- if Gender is set to both, add Female and Male --> | ||
+ | |Both=[[Category:{{BaseClass|Female {{{Class}}}|gender=true}} Albert Quest Skills]] | ||
+ | [[Category:{{BaseClass|Male {{{Class}}}|gender=true}} Albert Quest Skills]] | ||
+ | | [[Category:{{BaseClass|{{#if:{{{Gender|}}}|{{{Gender}}}|}} {{{Class|???}}}|gender=true}} Albert Quest Skills]] | ||
+ | }} | ||
+ | | | ||
+ | }} | ||
+ | }} | ||
+ | [[Category:Skills]] | ||
+ | [[Category:{{{Type}}} Skills]]<!-- Active or Passive--> | ||
+ | <!------------------------------------------- | ||
+ | Skill Nav | ||
+ | ----------------------------------------------> | ||
+ | {{#switch:{{{Gender}}} | ||
+ | |Both={{SkillNav|Male {{{Class|???}}}|{{{Type2|}}}|Male}} | ||
+ | {{SkillNav|Female {{{Class|???}}}|{{{Type2|}}}|Female}} | ||
+ | |{{SkillNav|{{{Gender|}}} {{{Class|???}}}|{{{Type2|}}}|{{{Gender|}}}}} | ||
+ | }}<!-- Next if block --> {{#ifeq:{{{Class|???}}}|General|| | ||
+ | {{#ifeq:{{{Class|???}}}|{{BaseClass|{{{Class|???}}}}}|| | ||
+ | {{#switch:{{{Gender}}} | ||
+ | |Both={{SkillNav|Male {{BaseClass|{{{Class|???}}}}}|{{{Type2|}}}|Male }} | ||
+ | {{SkillNav|Female {{BaseClass|{{{Class|???}}}}}|{{{Type2|}}}|Female}} | ||
+ | |{{SkillNav|{{BaseClass|{{#if:{{{Gender|}}}|{{{Gender}}}|}} {{{Class|???}}}|gender=true}}|{{{Type2|}}}|{{#if:{{{Gender|}}}|{{{Gender}}}}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}<!-- Next if block --> {{#if:{{{Class2|}}}|<!--dfoplayer. if class2 exists--> | ||
+ | {{#switch:{{{Gender}}} | ||
+ | |Both={{SkillNav|Male {{{Class2|???}}}|{{{Type2|}}}|Male}} | ||
+ | {{SkillNav|Female {{{Class2|???}}}|{{{Type2|}}}|Female}} | ||
+ | |{{SkillNav|{{{Gender|}}} {{{Class2|???}}}|{{{Type2|}}}|{{{Gender|}}}}} | ||
+ | }}<!-- Next if block --> {{#ifeq:{{{Class2|???}}}|General|| | ||
+ | {{#ifeq:{{{Class2|???}}}|{{BaseClass|{{{Class2|???}}}}}|| | ||
+ | {{#switch:{{{Gender}}} | ||
+ | |Both={{SkillNav|Male {{BaseClass|{{{Class2|???}}}}}|{{{Type2|}}}|Male}} | ||
+ | {{SkillNav|Female {{BaseClass|{{{Class2|???}}}}}|{{{Type2|}}}|Female}} | ||
+ | |{{SkillNav|{{BaseClass|{{#if:{{{Gender|}}}|{{{Gender}}}|}} {{{Class2|???}}}|gender=true}}|{{{Type2|}}} |{{#if:{{{Gender|}}}|{{{Gender}}}|}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}<!-- End if class2 exists --> | ||
+ | {{SkillNav|General|{{{Type2|}}}}} | ||
+ | }}<!-- end RemovedSkill --> | ||
+ | |||
+ | <includeonly> | ||
+ | {{#set:Has name={{{Name}}} | ||
+ | |Class={{{Class}}} | ||
+ | |Has icon=File:{{#replace:{{{Name}}}|:|-}}{{#if:{{{Gender|}}}|{{#ifexist:File:{{#replace:{{{Name}}}|:|-}}_({{{Gender|}}}).png|_({{{Gender|}}})}}}}.png | ||
+ | |Requires level={{SemanticLevelStrip|{{{PrerequisiteLevel|1}}} }} | ||
+ | }} | ||
+ | </includeonly> | ||
<noinclude> | <noinclude> | ||
</td></tr> | </td></tr> | ||
<tr><td> | <tr><td> | ||
− | <h1>Usage | + | <h1>Usage Template</h1> |
</td></tr> | </td></tr> | ||
<tr><td> | <tr><td> | ||
<pre> | <pre> | ||
− | {{ | + | {{SkillPage |
− | |Name= | + | |Name={{PAGENAME}} |
+ | |AltName= | ||
+ | |NameTab= | ||
+ | |NameTab2= | ||
+ | |Video= | ||
+ | |VideoT= | ||
+ | |Video2= | ||
+ | |Video2T= | ||
+ | |DiffIcon= | ||
|Gender= | |Gender= | ||
|Class= | |Class= | ||
+ | |Class2= | ||
|Type= | |Type= | ||
|Type2= | |Type2= | ||
+ | |Type3= | ||
|PrerequisiteLevel= | |PrerequisiteLevel= | ||
|PrerequisiteSkill= | |PrerequisiteSkill= | ||
− | + | *{{IconLink|Backstep}} Lv2 | |
|Command= | |Command= | ||
|Description= | |Description= | ||
|Attributes= | |Attributes= | ||
− | + | *{{SP per level|15}} | |
+ | *{{CastTime|Dungeon=0.5 sec|Arena=1.0 sec}} | ||
+ | *{{Cooldown|Dungeon=varies}} | ||
+ | *{{SkillAttribute|Number of Hits|Dungeon=6|Arena=4|Tower=6}} | ||
+ | *{{CubeCost|2}} | ||
+ | *{{Command Reduction|MP=2.0%|Cooldown=1.0%}} | ||
+ | *{{Cancelable}} | ||
+ | |ElementAttribute=Fire,Shadow | ||
|Notes= | |Notes= | ||
|SkillGrowth= | |SkillGrowth= | ||
− | + | <span style="display:none">{{</span> | |
− | | | + | {|{{SkillTableHeader}} |
− | | | + | !Level |
− | | | + | !Lv Req |
+ | !MP | ||
+ | !Cooldown | ||
+ | !Damage | ||
+ | |- | ||
+ | | 1 || 1 || rowspan="2" | 1 || 20 Sec(s) | ||
+ | | 9000% + {{AbsoluteDamage|Tooltip=9001|IndependantAttack=9001}} | ||
+ | |-{{MaxSkillRow}} | ||
+ | | 2 || 11 || 19.5 Sec(s) | ||
+ | | 9100% + {{AbsoluteDamage|Tooltip=9111|IndependantAttack=9111}} | ||
+ | |} | ||
+ | <span style="display:none">}}</span> | ||
}} | }} | ||
</pre> | </pre> | ||
Line 105: | Line 295: | ||
! style="width: 15%;" | Parameter | ! style="width: 15%;" | Parameter | ||
! class="unsortable" style="width: 85%;" | Usage | ! class="unsortable" style="width: 85%;" | Usage | ||
+ | |- | ||
+ | | AltName | ||
+ | | The alternate version names of this skill (Korean, Chinese, or Japanese) | ||
|- | |- | ||
| Name | | Name | ||
Line 118: | Line 311: | ||
|- | |- | ||
| Class | | Class | ||
− | | The class that this is learned from | + | | The class that this is learned from. In the case of a shared skill, the character type should be used (e.g. [[Mana Shield]] - [[Mage]], [[Neck Snap]] - [[Grappler]]) |
+ | |- | ||
+ | | Class2 | ||
+ | | If available, a second class that this is learned from. | ||
+ | |- | ||
+ | | DiffIcon | ||
+ | | Does the skill have two different icons, one for female and one for male? | ||
+ | Acceptable forms are: | ||
+ | *Yes | ||
+ | *<Blank> | ||
|- | |- | ||
| Type | | Type | ||
Line 124: | Line 326: | ||
|- | |- | ||
| Type2 | | Type2 | ||
− | | | + | | Is this skill an '''Awakening''' or '''TP''' skill? |
− | + | |- | |
− | + | | Type3 | |
− | * | + | | Is this skill a '''Toggable''' skill? Leave blank if it is not. |
− | * | + | |- |
+ | | AlbertQuest | ||
+ | | Can this skill be learned through Albert's Quest? | ||
+ | Acceptable forms are: | ||
+ | *Yes | ||
+ | *<Blank> | ||
|- | |- | ||
| PrerequisiteLevel | | PrerequisiteLevel | ||
| What is level requirement to acquire this skill? | | What is level requirement to acquire this skill? | ||
+ | |- | ||
+ | | RemovedSkill | ||
+ | | Has this skill be removed from the game? | ||
+ | Acceptable forms are: | ||
+ | *Yes | ||
+ | *<Blank> | ||
|- | |- | ||
| PrerequisiteSkill | | PrerequisiteSkill | ||
Line 144: | Line 357: | ||
| Attributes | | Attributes | ||
| Additional information on the skill that doesn't change per level, like clear cube cost, or range and casting speed of some skills. | | Additional information on the skill that doesn't change per level, like clear cube cost, or range and casting speed of some skills. | ||
+ | |- | ||
+ | | ElementAttribute | ||
+ | | Does this skill have an element attribute? Valid values are in a list separated by a comma. E.g: 'Fire' or 'Fire,Shadow' | ||
|- | |- | ||
| Notes | | Notes | ||
Line 149: | Line 365: | ||
|- | |- | ||
| SkillGrowth | | SkillGrowth | ||
− | | The table for skill power progression. | + | | The table for skill power progression. In the case of certain passive skills like [[Icy Aura]], leave blank. |
|- | |- | ||
| Video | | Video | ||
− | | The | + | | The YouTube video ID to a skill demonstration if able. |
+ | |- | ||
+ | | VideoT | ||
+ | | The YouTube video ID to a skill Talisman demonstration if able. | ||
+ | |- | ||
+ | | Video2 | ||
+ | | If available, a second YouTube video ID. | ||
+ | |- | ||
+ | | Video2T | ||
+ | | Same as VideoT for Video2. | ||
+ | |- | ||
+ | | NameTab | ||
+ | | A one word description for the tab for Video. If nothing is entered, "Video 1" will be used. | ||
+ | |- | ||
+ | | NameTab2 | ||
+ | | A one word description for the tab for Video2. If nothing is entered, "Video 2" will be used. | ||
|} | |} | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
− | [[Category: | + | [[Category:Data]] [[Category:DataFormat]]</noinclude> |
− | </noinclude> |
Latest revision as of 10:57, 16 May 2024
Template |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Description{{{Description}}} Attributes{{{Attributes}}}
[[Category:{{{Class}}} Skills]] [[Category:{{{Type}}} Skills]]
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Usage Template | ||||||||||||||||||||||||||||||||||||||||||||||||||||
{{SkillPage |Name={{PAGENAME}} |AltName= |NameTab= |NameTab2= |Video= |VideoT= |Video2= |Video2T= |DiffIcon= |Gender= |Class= |Class2= |Type= |Type2= |Type3= |PrerequisiteLevel= |PrerequisiteSkill= *{{IconLink|Backstep}} Lv2 |Command= |Description= |Attributes= *{{SP per level|15}} *{{CastTime|Dungeon=0.5 sec|Arena=1.0 sec}} *{{Cooldown|Dungeon=varies}} *{{SkillAttribute|Number of Hits|Dungeon=6|Arena=4|Tower=6}} *{{CubeCost|2}} *{{Command Reduction|MP=2.0%|Cooldown=1.0%}} *{{Cancelable}} |ElementAttribute=Fire,Shadow |Notes= |SkillGrowth= <span style="display:none">{{</span> {|{{SkillTableHeader}} !Level !Lv Req !MP !Cooldown !Damage |- | 1 || 1 || rowspan="2" | 1 || 20 Sec(s) | 9000% + {{AbsoluteDamage|Tooltip=9001|IndependantAttack=9001}} |-{{MaxSkillRow}} | 2 || 11 || 19.5 Sec(s) | 9100% + {{AbsoluteDamage|Tooltip=9111|IndependantAttack=9111}} |} <span style="display:none">}}</span> }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|