Difference between revisions of "Template:Infobox Ability"

From Idlescape Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
|  label2  = Attack Style
 
|  label2  = Attack Style
 
|  data2  = {{{atk-type|}}}
 
|  data2  = {{{atk-type|}}}
|  label3  = Attack Speed
+
|  label3 = Ammo
data3 = {{{atk-speed|}}} x weapon attack speed
+
|  data3  = {{{ammo1|}}}
label4 = cooldown
+
|  label4  = Ammo
data4 = {{{cooldown|}}}
+
|  data4  = {{{ammo2|}}}
label5 = Target
+
|  label5  = Ammo
data5 = {{{target|}}}
+
|  data5  = {{{ammo3|}}}
 +
|  label6  = Ammo
 +
|  data6  = {{{ammo4|}}}
 +
|  label7 = Attack Speed
 +
data7 = {{{atk-speed|}}} x weapon attack speed
 +
label8  = cooldown
 +
data8 = {{{cooldown|}}}
 +
|  data9  = max targets
 +
|  labe9 = {{{max-targets|}}}
 +
|  data10  = AOE
 +
|  label10 = {{{aoe-diminishing|}}}
 +
label11 = Target
 +
data11 = {{{target|}}}
 
| header20 = Damage changes
 
| header20 = Damage changes
|  label21  = Buff 1
+
|  label21  = self buff
|  data21  = {{{buff1|}}}
+
|  data21  = {{{self-buff|}}}
|  label22  = Buff 2
+
|  label22  = target buff
|  data22  = {{{buff2|}}}
+
|  data22  = {{{target-buff|}}}
|  label23  = Buff 3
 
|  data23  = {{{buff3|}}}
 
|  label24  = Buff 4
 
|  data24  = {{{buff4|}}}
 
 
|  label25  = Minimum Damage
 
|  label25  = Minimum Damage
 
|  data25  = {{{minimum-damage|}}}
 
|  data25  = {{{minimum-damage|}}}
Line 37: Line 45:
 
|  label45 =  
 
|  label45 =  
 
|  data45 = <div style="display: flex;"><div style="flex: 1; text-align: left;">{{{damage-stat4|}}}</div><div style="flex: 1; text-align: right;">{{{accuracy-stat4|}}}</div></div>
 
|  data45 = <div style="display: flex;"><div style="flex: 1; text-align: left;">{{{damage-stat4|}}}</div><div style="flex: 1; text-align: right;">{{{accuracy-stat4|}}}</div></div>
 +
|
 +
|
 +
|
 
|  label60 = Note
 
|  label60 = Note
 
|  data60 = {{{note|}}}
 
|  data60 = {{{note|}}}

Revision as of 10:15, 19 May 2023

Infobox Ability
Infobox Ability
Attack Speedx weapon attack speed
max targets
AOE
Stats
Damage
Accuracy

The template automatically creates an infobox for an ability.

Usage

The template takes optional parameters:

  • name, title The name of the ability to get data of. Defaults to the page name.
  • sources The additional sources of the ability, seperated by commas. The module automatically add sources found in Talents, Ability Books and Equipment.
  • item Item name. If given, creates a list of infoboxes for every ability granted by the item.

Example

Input

{{Infobox Ability|name=Bulwark}}
The same output is achieved by {{Infobox Ability}} if called from the page Bulwark.