Template:Skill: Difference between revisions

320 bytes added ,  13:03, 2 July 2022
m
no edit summary
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Skills|
<noinclude>{{#cargo_declare:_table=Skills
Class=List (/) of Page|
|Class=List (/) of Page
RequiredStatNumber=Integer|
|RequiredStats=List (,) of Wikitext string
RequiredStat=Page|
|Cost=Integer
Cost=Integer|
|PrerequisiteSkill=List (,) of Page
PrerequisiteSkill=List (,) of Page|
|Cooldown=Integer
Cooldown=Integer|
|Description=Wikitext
Description=String|
|SkillID=String
SkillID=String}}</noinclude><includeonly>{{#cargo_store:_table=Skills|
|NPConly=Boolean
Class={{{class|}}}|
|JoinKey=String}}</noinclude><includeonly>{{#cargo_store:_table=Skills
RequiredStatNumber={{{req|}}}|
|Class={{{class|}}}
RequiredStat={{{reqstat|}}}|
|RequiredStats={{{req|}}}
Cost={{{cost|}}}|
|Cost={{{cost|}}}
PrerequisiteSkill={{{prereq|}}}|
|PrerequisiteSkill={{{prereq|}}}
Cooldown={{{cd|}}}|
|Cooldown={{{cd|}}}
Description={{{desc|}}}|
|Description={{{desc|}}}
SkillID={{{id|}}}}} [[Category:Skills and Powers]]
|SkillID={{{id|}}}
{{#invoke:infobox|infobox
|NPConly={{{npconly|no}}}
|JoinKey={{FULLPAGENAME}}
}}<!--
 
  CONTENT START
 
-->{{#invoke:infobox|infobox
| image = none
| image = none
| rows =
| rows =
{{#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|{{consecutive links|{{{prereq}}}}}}} }}
{{#if: {{{cost|}}}  | {{infobox row|Cost|{{{cost}}} }} }}
{{#if: {{{cost|}}}  | {{infobox row|Cost|{{{cost}}} sp }} }}
<!--required stat, and how much of it.-->
<!--required stat, and how much of it.-->
{{#if: {{{req|}}}    | {{infobox row|Requirements|{{{req}}} {{{reqstat|}}} }} }}
{{#if: {{{req|}}}    | {{infobox row|Requirements|{{{req}}} }} }}
<!-- Is it an active effect with a cooldown?-->
{{#if: {{{cd|}}}    | {{infobox row|Base Cooldown|{{{cd}}} }} }}
<!--the id used for the related cs file. also confusingly called Class-->
<!--the id used for the related cs file. also confusingly called Class-->
{{#if: {{{id|}}}    | {{infobox row|ID|{{{id}}} }} }}  
{{#if: {{{id|}}}    | {{infobox row|ID|{{{id}}} }} }}  
<!--Is this skill reserved only for NPCs?-->
{{#if: {{{npconly|}}}    | {{infobox row|NPC Only|{{{npconly}}} }} }}
}}
}}
{{#if: {{{desc|}}}  | {{Qud quote|{{{desc}}} }} }}
{{#if: {{{desc|}}}  | {{Qud quote|{{{desc}}} }} }}[[Category:Skills]]
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Templates]]
{{Doc}}
{{Doc}}
[[Category:Cargo Store Templates]]
</noinclude>
</noinclude>