Template:Skill: Difference between revisions

482 bytes added ,  17:10, 14 July 2019
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Skills|Class=Page|PrerequirementStatNumber=Integer|PrerequirementStat=Page|Cost=Integer|RequiredSkill=List (,) of Page|Cooldown=Integer|Description=String|SkillID=String}}<noinclude><includeonly>{{#cargo_store:_table=Skills|Class={{{class|}}}|PrerequirementStatNumber={{{prereq|}}}|PrerequirementStat={{{prereqstat|}}}|Cost={{{cost|}}}|RequiredSkill={{{req|}}}|Cooldown={{{cd|}}}|Description={{{desc|}}}|SkillID={{{id|}}}}}</includeonly>
<includeonly>
<includeonly>
{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
Line 5: Line 6:
{{#if: {{{class|}}}  | {{infobox row|Skill Tree|{{{class}}} }} }}
{{#if: {{{class|}}}  | {{infobox row|Skill Tree|{{{class}}} }} }}
<!--required skill that must be taken before. Make sure they're wikipage links.-->
<!--required skill that must be taken before. Make sure they're wikipage links.-->
{{#if: {{{prereq|}}} | {{infobox row|Prerequisite Skills|{{{prereq}}} }} }}
{{#if: {{{prereq|}}} | {{infobox row|Prerequisite Skills|{{{prereq}}} {{{prereqstat|}}}}} }}
{{#if: {{{cost|}}}  | {{infobox row|Cost|{{{cost}}} }} }}
{{#if: {{{cost|}}}  | {{infobox row|Cost|{{{cost}}} }} }}
<!--required stat, and how much of it.-->
<!--required stat, and how much of it.-->
Line 17: Line 18:
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
{{Doc}}
</noinclude>
</noinclude>