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 "User:Dfoplayer/TestClassSkills2"

From DFO World Wiki
Jump to: navigation, search
(attempt to reduce new lines)
(remove unnecessary output of #ifeq)
 
Line 2: Line 2:
 
onlyBaseActive = activeSkills - (tp + awake + awake2)  
 
onlyBaseActive = activeSkills - (tp + awake + awake2)  
 
onlyBasePassive = passSkills - (tp + awake + awake2
 
onlyBasePassive = passSkills - (tp + awake + awake2
--><includeonly>__NOTOC__{{#ask:[[:+]][[Category:{{{1|???}}} Skills|+depth=0]] [[Category:Active Skills]] |format=array |sort=Requires level|order=asc |name=activeSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Skills|+depth=0]] [[Category:Passive Skills]] |format=array |sort=Requires level|order=asc |name=passSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Awakening Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=awakeSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} 2nd Awakening Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=awake2Skills}}{{#ask:[[:+]][[Category:{{{1|???}}} TP Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=tpSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Albert Quest Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=albertSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Togglable Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=toggSkills}}{{#arraydiff:onlyBaseActive|activeSkills|tpSkills|awakeSkills|awake2Skills}}{{#arraydiff:onlyBasePassive|passSkills|tpSkills|awakeSkills|awake2Skills}}<h3>{{{1|}}} Skills</h3><table style="border:none"><tr>{{#ifeq:{{#arraysize:onlyBaseActive}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>Active Skills</h4>{{#arrayprint:onlyBaseActive||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
+
--><includeonly>__NOTOC__{{#ask:[[:+]][[Category:{{{1|???}}} Skills|+depth=0]] [[Category:Active Skills]] |format=array |sort=Requires level|order=asc |name=activeSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Skills|+depth=0]] [[Category:Passive Skills]] |format=array |sort=Requires level|order=asc |name=passSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Awakening Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=awakeSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} 2nd Awakening Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=awake2Skills}}{{#ask:[[:+]][[Category:{{{1|???}}} TP Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=tpSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Albert Quest Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=albertSkills}}{{#ask:[[:+]][[Category:{{{1|???}}} Togglable Skills|+depth=0]] |format=array |sort=Requires level|order=asc |name=toggSkills}}{{#arraydiff:onlyBaseActive|activeSkills|tpSkills|awakeSkills|awake2Skills}}{{#arraydiff:onlyBasePassive|passSkills|tpSkills|awakeSkills|awake2Skills}}<h3>{{{1|}}} Skills</h3><table style="border:none"><tr>
{{#ifeq:{{#arraysize:onlyBasePassive}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>Passive Skills</h4>{{#arrayprint:onlyBasePassive||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
+
{{#ifexpr:{{#arraysize:onlyBaseActive}}>0|<td class="table-classSkillNav2"><ul><h4>Active Skills</h4>{{#arrayprint:onlyBaseActive||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
{{#ifeq:{{#arraysize:albertSkills}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>{{{1|???}}} Albert Quest Skills</h4>{{#arrayprint:albertSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
+
{{#ifexpr:{{#arraysize:onlyBasePassive}}>0|<td class="table-classSkillNav2"><ul><h4>Passive Skills</h4>{{#arrayprint:onlyBasePassive||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
{{#ifeq:{{#arraysize:tpSkills}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>{{{1|???}}} TP Skills</h4>{{#arrayprint:tpSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
+
{{#ifexpr:{{#arraysize:albertSkills}}>0|<td class="table-classSkillNav2"><ul><h4>{{{1|???}}} Albert Quest Skills</h4>{{#arrayprint:albertSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
 +
{{#ifexpr:{{#arraysize:tpSkills}}>0|<td class="table-classSkillNav2"><ul><h4>{{{1|???}}} TP Skills</h4>{{#arrayprint:tpSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
 
</tr>
 
</tr>
 
<tr>
 
<tr>
{{#ifeq:{{#arraysize:awakeSkills}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>{{{1|???}}} Awakening Skills</h4>{{#arrayprint:awakeSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
+
{{#ifexpr:{{#arraysize:awakeSkills}}>0|<td class="table-classSkillNav2"><ul><h4>{{{1|???}}} Awakening Skills</h4>{{#arrayprint:awakeSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
{{#ifeq:{{#arraysize:awake2Skills}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>{{{1|???}}} 2nd Awakening Skills</h4>{{#arrayprint:awake2Skills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
+
{{#ifexpr:{{#arraysize:awake2Skills}}>0|<td class="table-classSkillNav2"><ul><h4>{{{1|???}}} 2nd Awakening Skills</h4>{{#arrayprint:awake2Skills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}
{{#ifeq:{{#arraysize:toggSkills}}|0| <!-- no results --> &nbsp;| <td class="table-classSkillNav2"><ul><h4>{{{1|???}}} Togglable Skills</h4>{{#arrayprint:toggSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}</tr></table></includeonly><noinclude>
+
{{#ifexpr:{{#arraysize:toggSkills}}>0|<td class="table-classSkillNav2"><ul><h4>{{{1|???}}} Togglable Skills</h4>{{#arrayprint:toggSkills||@@@@|<li>{{IconLink|@@@@|{{{2|}}}}}</li>}}</ul></td>}}</tr></table></includeonly><noinclude>
 
{{#css:User:Dfoplayer/TestClassSkills2.css}}
 
{{#css:User:Dfoplayer/TestClassSkills2.css}}
 
This is a template to show a listing of a class's skills like so:
 
This is a template to show a listing of a class's skills like so:

Latest revision as of 10:51, 25 November 2021


This is a template to show a listing of a class's skills like so:

{{User:Dfoplayer/TestClassSkills2|Summoner}}

Summoner Skills

Male Fighter Skills

{{User:Dfoplayer/TestClassSkills2|General}}

General Skills