Difference between revisions of "Template:SWLAbilitybox/doc"
(→Usage) |
|||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
|weapon= | |weapon= | ||
|apcost= | |apcost= | ||
+ | |spcost= | ||
|type= | |type= | ||
|cast time= | |cast time= | ||
Line 45: | Line 46: | ||
|- | |- | ||
| '''apcost''' || '''Yes''' || Amount of [[Ability point]]s it takes to buy this ability || number || | | '''apcost''' || '''Yes''' || Amount of [[Ability point]]s it takes to buy this ability || number || | ||
+ | |- | ||
+ | | '''spcost''' || '''Yes''' || Amount of [[Skill point]]s it takes to buy this ability || number || | ||
|- | |- | ||
| '''cast time''' || '''Yes''' || The time to cast/activate the ability || Cast time in seconds, or Instant || | | '''cast time''' || '''Yes''' || The time to cast/activate the ability || Cast time in seconds, or Instant || |
Latest revision as of 18:24, 10 August 2017
This is a documentation subpage for Template:SWLAbilitybox. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox subpage, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
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:SWLAbilitypage 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.
{{SWLAbilitybox |name = |image = |weapon= |apcost= |spcost= |type= |cast time= |recharge= |energy= |target= |modifies= |modified by= |sets state= |exploits state= |applied effect= }}
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 | <name>.png |
weapon | Yes | Use one of the accepted values to make sure categorization works |
Assault Rifle, Blade, Blood Magic, Chaos, Elementalism, Fist, Hammer, Pistol, Shotgun | |
type | Yes | The type of ability | Basic, Power, Special, Elite, Passive | |
apcost | Yes | Amount of Ability points it takes to buy this ability | number | |
spcost | Yes | Amount of Skill points it takes to buy this ability | number | |
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 | |
energy | Yes | Weapon energy used by the ability | Number | |
target | Yes | Single or Multi-target types of Abilities | "Self", "Single", "Group", TAoE, GTAoE, PBAoE, Cone AoE, or Column AoE | |
modifies | No | If this is a passive ability that modifies an active ability, enter the active ability here Do not use [[ ]] brackets |
active abilty | |
modified by | No | If this is an active ability that has a passive ability that modifies it, enter the passive ability here Do not use [[ ]] brackets |
passive abilty | |
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> |