Difference between revisions of "Template:Ability Infobox/doc"

From Underrail Wiki
Jump to navigation Jump to search
(new template doc)
 
Line 3: Line 3:
  
  
==Syntax==
+
== Syntax ==
 
To use this template, copy the following code, fill in the appropriate fields and remove the rest.
 
To use this template, copy the following code, fill in the appropriate fields and remove the rest.
 
<pre>
 
<pre>
 
{{Ability Infobox
 
{{Ability Infobox
 
  | image        = [leave this field empty if there's no image yet]
 
  | image        = [leave this field empty if there's no image yet]
  | type          = [ability type. can be attack, ability or psi]
+
  | type          = [ability/effect type. can be attack, ability, psi, buff, debuff, general or left empty]
 
  | name          =  
 
  | name          =  
  | school        = [psi school]
+
  | school        = [optional, psi school]
  | skillreq      = [skill requirement for psi abilities]
+
  | skillreq      = [optional, skill requirement for psi abilities]
 
  | description  =  
 
  | description  =  
 
  | time          = [optional, invocation time]
 
  | time          = [optional, invocation time]
Line 17: Line 17:
 
  | psicost      = [optional]
 
  | psicost      = [optional]
 
  | range        = [optional]
 
  | range        = [optional]
  | cooldown      = [optional, remove this line if the power has no cooldown]
+
  | cooldown      = [optional]
 +
| duration      = [optional]
 +
| maxstacks    = [optional, for buffs/debuffs]
 
}}
 
}}
  

Revision as of 04:00, 9 October 2013

Description

This is the infobox template for psi abilities.


Syntax

To use this template, copy the following code, fill in the appropriate fields and remove the rest.

{{Ability Infobox
 | image         = [leave this field empty if there's no image yet]
 | type          = [ability/effect type. can be attack, ability, psi, buff, debuff, general or left empty]
 | name          = 
 | school        = [optional, psi school]
 | skillreq      = [optional, skill requirement for psi abilities]
 | description   = 
 | time          = [optional, invocation time]
 | apcost        = [optional]
 | psicost       = [optional]
 | range         = [optional]
 | cooldown      = [optional]
 | duration      = [optional]
 | maxstacks     = [optional, for buffs/debuffs]
}}

Samples

{{Ability Infobox
 | image         = 
 | type          = psi
 | name          = Telekinetic Punch
 | school        = Psychokinesis
 | skillreq      = 0
 | description   = Telekinetical force strikes the target, dealing 9-10 mechanical damage and stunning it for 1 turn unless it passes a resolve check. The stun only affects organic targets.
 | apcost        = 15
 | psicost       = 25
 | range         = 5,0
 | cooldown      = 3 turns
}}

Results in...

Default icon

Telekinetic Punch
Psychokinesis (0 skill required)
Telekinetical force strikes the target, dealing 9-10 mechanical damage and stunning it for 1 turn unless it passes a resolve check. The stun only affects organic targets.
Action Points: 15
Psi: 25
Range: 5,0
Cooldown: 3 turns