ATLAS Wiki
(Undo revision 6127 by Skylord1496 (talk))
Tag: Undo
Genie451 (talk | contribs)
(added 2nd precondition as there are skill that need it)
Line 8: Line 8:
 
{{infobox section|[[Skills|Skill]]}}
 
{{infobox section|[[Skills|Skill]]}}
 
{{#if:{{{precon|}}}|{{infobox row|Precondition|[[{{{precon|}}}]]}}}}
 
{{#if:{{{precon|}}}|{{infobox row|Precondition|[[{{{precon|}}}]]}}}}
  +
{{#if:{{{precon2|}}}|{{infobox row|Precondition|[[{{{precon2|}}}]]}}}}
 
{{infobox row|Cost|{{{cost|}}} Skill Points}}
 
{{infobox row|Cost|{{{cost|}}} Skill Points}}
 
{{infobox end}}{{#if:{{#var:ignoreInOfficialLists}}||[[Category:Skills]]}}
 
{{infobox end}}{{#if:{{#var:ignoreInOfficialLists}}||[[Category:Skills]]}}

Revision as of 12:32, 1 January 2019


Template-info.png Documentation

provides an infobox for Skills

available options are:

{{infobox skill
|name= 
|image=
|description=
|skilltree=
|precon=
|precon2=
|precon3=
|precon4=
|precon5=
|precon6=
|cost=
}}

name/image dont need to be specified as they get transcluded from the pagename

precon/precon2/precon3/precon4/precon5/precon6 is optional and should be used to name the skill that is needed to unlock the skill you write about

cost is the number of Skill Points you need to unlock the specific Skill


example:

{{infobox skill
|name= Tools Of The Trade
|image= Skill Tools Of The Trade.png
|description=
|skilltree=
|precon= 
|precon2=
|cost= 1
}}

will result in


Tools Of The Trade
Skill Tools Of The Trade.png
Skill
Precondition Survivalism
Cost 1 Skill Points