Template:Abilitybox

From CryGaia Wiki
Jump to: navigation, search


[edit] [history] [purge] Documentation icon Template documentation

This template is to be used when creating Category:Abilities pages. Although typically you will never use this template on its own. Instead it would be called as part of the Template:Abilitypage template

The infobox will be beneficial in providing quick snippets of information to the user without forcing him/her to go rifling through blocks of text. They are very easy to use and will make the page look much better.

Usage

Place this at the very top of your page, and fill in the information provided (variable descriptions follow the code). If some variables don't have info, just ignore it, and it will be hidden in the template.

You should not need to add any categories to the page when using this template. They are automatically set by the template.

{{Abilitybox
|name = 
|image = 
|weapon= 
|cell=
|type= 
|apcost=
|target=
|category=
|cast time=
|recharge=
|resources built=
|resources weapon=
|resources consumed=
|sets state=
|exploits state=
|applied effect=
|modifies
|improvements=
|decks=
}}

Parameters

Parameter Name Required Description Accepted Values Default
name Yes Used to assist with transclusions and additional templates. text
image No The icon for the ability filename.extension pagename.png
weapon Yes A bit of code for transclusion, along with the 2-letter weapon identifier. See list below. Replace the XXXweapon-codeXXX with the 2-character code <onlyinclude>{{#ifeq:{{{transcludesection|weapon}}}|weapon|XXXXweapon-codeXXXX}}</onlyinclude>
type Yes Active or Passive, and Elite or not. See list below. Replace XXXtypeXXX with one of the allowed types <onlyinclude>{{#ifeq:{{{transcludesection|type}}}|type|XXXtypeXXX}}</onlyinclude>
cell Yes Name of the cell the ability belongs to, as indicated by the Ability Wheel. Do not include [[ ]] brackets text
apcost Yes Amount of Ability points it takes to buy this ability number
target Yes Single or Multi-target types of Abilities "Self", "Single", "Group", TAoE, GTAoE, PBAoE, Cone AoE, or Column AoE
category No The Ability-Category the ability belongs to. Not all abilities have a category. Do not include [[ ]] brackets text
cast time Yes The time to cast/activate the ability Cast time in seconds, or Instant
recharge Yes Recharge/cooldown time for the ability Recharge time in seconds, or Instant
resources built No If this ability builds Resource points, the number of resources it builds number
resources weapon No, Yes if resources built != 0 Either the weapon itself, or Both weapons. DO include the [[ ]] brackets if the weapon itself. [[Weapon wiki-link]] or "Both Weapons"
resources consumed No If this ability consumes Resource points, the number of points it consumes. Use "All" if it consumes all instead of a fixed number number or "All"
sets state No If the ability sets a state, name it here. Do not include [[ ]] brackets Hindered, Afflicted, Impaired, or Weakened
exploits state No If the ability exploits a state, name it here. Do not include [[ ]] brackets Hindered, Afflicted, Impaired, or Weakened
applied effect No The name of the Status Effect applied by the ability, if applicable. <text>
modifies No If this ability directly modifies a specific other ability (usually a passive modifying an active) list the ability it modifies here. Do not include [[ ]] brackets Ability Name
improvements No If there are any abilities that directly modify this ability, list them here. You can list multiple of them (separate by comma), and DO include [[ ]] brackets for each "[[Ability wikilink]], [[Ability wikilink]], etc"
decks No If used in any of the pre-built decks, list them here. Separate by comma and DO include [[ ]] brackets for each "[[Deck wikilink]], [[Deck wikilink]], etc"

Weapon Codes

For the weapon parameter, use the following 2-character codes:

  • AR=Assault Rifle
  • BL=Blade
  • BM=Blood Magic
  • CH=Chaos
  • EL=Elementalism
  • FI=Fist
  • HA=Hammer
  • PI=Pistol
  • SH=Shotgun

Ability Types

For the type parameter, use the following options to replace the XXXtypeXXX:

  • Active
  • Passive
  • Elite Active
  • Elite Passive