Template:Skill: Difference between revisions

53 bytes removed ,  16:12, 10 August 2019
simplified req. we'll see how this works out
mNo edit summary
(simplified req. we'll see how this works out)
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|
Line 9: Line 8:
SkillID=String}}</noinclude><includeonly>{{#cargo_store:_table=Skills|
SkillID=String}}</noinclude><includeonly>{{#cargo_store:_table=Skills|
Class={{{class|}}}|
Class={{{class|}}}|
RequiredStatNumber={{{req|}}}|
RequiredStats={{{req|}}}|
RequiredStat={{{reqstat|}}}|
Cost={{{cost|}}}|
Cost={{{cost|}}}|
PrerequisiteSkill={{{prereq|}}}|
PrerequisiteSkill={{{prereq|}}}|
Line 24: Line 22:
{{#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.-->
{{#if: {{{req|}}}    | {{infobox row|Requirements|{{{req}}} {{{reqstat|}}} }} }}
{{#if: {{{req|}}}    | {{infobox row|Requirements|{{{req}}} }} }}
<!--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}}} }} }}