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

From Underrail Wiki
Jump to navigation Jump to search
Line 1: Line 1:
==Description==
+
== Description ==
This is the infobox template for psi abilities.
+
This is the infobox template for all abilities (attacks, abilities, psi abilities) and effects (general, buffs, debuffs).
 +
 
 +
[[Template:Status Effect Infobox]] is an alias for it.
  
  
Line 10: Line 12:
 
  | type          = [ability/effect type. can be attack, ability, psi, buff, debuff, general or left empty]
 
  | type          = [ability/effect type. can be attack, ability, psi, buff, debuff, general or left empty]
 
  | name          =  
 
  | name          =  
  | school        = [optional, psi school]
+
  | school        = [optional, psi discipline for psi abilities]
 
  | skillreq      = [optional, skill requirement for psi abilities]
 
  | skillreq      = [optional, skill requirement for psi abilities]
 
  | description  =  
 
  | description  =  
Line 21: Line 23:
 
  | maxstacks    = [optional, for buffs/debuffs]
 
  | maxstacks    = [optional, for buffs/debuffs]
 
}}
 
}}
 
 
</pre>
 
</pre>
  
==Samples==
+
== Samples ==
 +
=== Psi ability ===
 +
{{Ability Infobox
 +
| image      = Telekinetic Punch.png
 +
| 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
 +
}}
 
<pre>
 
<pre>
 
{{Ability Infobox
 
{{Ability Infobox
| image         = Telekinetic Punch.png
+
| image       = Telekinetic Punch.png
| type         = psi
+
| type       = psi
| name         = Telekinetic Punch
+
| name       = Telekinetic Punch
| school       = Psychokinesis
+
| school     = Psychokinesis
| skillreq     = 0
+
| 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.
+
| 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
+
| apcost     = 15
| psicost       = 25
+
| psicost     = 25
| range         = 5,0
+
| range       = 5.0
| cooldown     = 3 turns
+
| cooldown   = 3 turns
 +
}}
 +
</pre>
 +
{{clear}}
 +
=== Status effect ===
 +
{{Status Effect Infobox
 +
| name        = Tackled
 +
| type        = debuff
 +
| image      = Wrestling effect.png
 +
| description = Movement points decreased by 8, action points decreased by 3 and chance to hit with all ranged weapons decreased by 7%.
 +
| duration    = 2 turns
 +
| maxstacks  = 5
 +
}}
 +
<pre>
 +
{{Status Effect Infobox
 +
| name        = Tackled
 +
| type        = debuff
 +
| image      = Wrestling effect.png
 +
| description = Movement points decreased by 8, action points decreased by 3 and chance to hit with all ranged weapons decreased by 7%.
 +
| duration    = 2 turns
 +
| maxstacks  = 5
 
}}
 
}}
 
 
</pre>
 
</pre>
  
Results in...
 
 
{{Ability Infobox
 
| image        = Telekinetic Punch.png
 
| 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
 
}}
 
  
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 10:16, 17 November 2014

Description

This is the infobox template for all abilities (attacks, abilities, psi abilities) and effects (general, buffs, debuffs).

Template:Status Effect Infobox is an alias for it.


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 discipline for psi abilities]
 | 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

Psi ability

Telekinetic Punch 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
{{Ability Infobox
| image       = Telekinetic Punch.png
| 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
}}

Status effect

Tackled icon

Tackled
Movement points decreased by 8, action points decreased by 3 and chance to hit with all ranged weapons decreased by 7%.
Duration: 2 turns
Max stacks: 5
{{Status Effect Infobox
| name        = Tackled
| type        = debuff
| image       = Wrestling effect.png
| description = Movement points decreased by 8, action points decreased by 3 and chance to hit with all ranged weapons decreased by 7%.
| duration    = 2 turns
| maxstacks   = 5
}}