Template:Skill: Difference between revisions

Jump to navigation Jump to search
748 bytes added ,  13:03, 2 July 2022
m
no edit summary
mNo edit summary
mNo edit summary
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude>{{#cargo_declare:_table=Skills
{{#invoke:infobox|infobox
|Class=List (/) of Page
|rows =
|RequiredStats=List (,) of Wikitext string
{{#if: {{{class|}}}  | {{infobox row|Skill Tree|{{{class}}} }} }}
|Cost=Integer
|PrerequisiteSkill=List (,) of Page
|Cooldown=Integer
|Description=Wikitext
|SkillID=String
|NPConly=Boolean
|JoinKey=String}}</noinclude><includeonly>{{#cargo_store:_table=Skills
|Class={{{class|}}}
|RequiredStats={{{req|}}}
|Cost={{{cost|}}}
|PrerequisiteSkill={{{prereq|}}}
|Cooldown={{{cd|}}}
|Description={{{desc|}}}
|SkillID={{{id|}}}
|NPConly={{{npconly|no}}}
|JoinKey={{FULLPAGENAME}}
}}<!--
 
  CONTENT START
 
-->{{#invoke:infobox|infobox
| image = none
| rows =
{{#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}}} }} }}
{{#if: {{{req|}}}    | {{infobox row|Requirements|{{{req}}} }} }}
{{#if: {{{cd|}}}    | {{infobox row|Cooldown|{{{cd}}} }} }}
<!-- 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}}} }} }}  
{{#if: {{{desc|}}}   | {{infobox row|Description|{{Qud quote|{{{desc}}} }} }}
<!--Is this skill reserved only for NPCs?-->
{{#if: {{{npconly|}}}     | {{infobox row|NPC Only|{{{npconly}}} }} }}  
}}
}}
</includeonly>
{{#if: {{{desc|}}}  | {{Qud quote|{{{desc}}} }} }}[[Category:Skills]]
<noinclude>
</includeonly><noinclude>
[[Category:Templates]]
{{Doc}}
{{Doc}}
[[Category:Cargo Store Templates]]
</noinclude>
</noinclude>

Navigation menu