Template:Skill: Difference between revisions

160 bytes added ,  18:04, 22 August 2019
added npconly as a new argument
mNo edit summary
(added npconly as a new argument)
Line 6: Line 6:
Cooldown=Integer|
Cooldown=Integer|
Description=Text|
Description=Text|
SkillID=String}}</noinclude><includeonly>{{#cargo_store:_table=Skills|
SkillID=String|
NPConly=Boolean}}</noinclude><includeonly>{{#cargo_store:_table=Skills|
Class={{{class|}}}|
Class={{{class|}}}|
RequiredStats={{{req|}}}|
RequiredStats={{{req|}}}|
Line 13: Line 14:
Cooldown={{{cd|}}}|
Cooldown={{{cd|}}}|
Description={{{desc|}}}|
Description={{{desc|}}}|
SkillID={{{id|}}}}} [[Category:Skills and Powers]]
SkillID={{{id|}}}|
NPConly={{{npconly|no}}}}} [[Category:Skills and Powers]]
{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| image = none
| image = none
Line 25: Line 27:
<!--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}}} }} }}