Difference between revisions of "Template:Infobox Ability"

From Idlescape Wiki
Jump to navigation Jump to search
m (Update as you want, the damage and damage change things still looks a little off.)
Line 10: Line 10:
 
|  label3  = Attack Speed
 
|  label3  = Attack Speed
 
|  data3  = {{{atk-speed|}}}
 
|  data3  = {{{atk-speed|}}}
|  label4  = Target
+
|  label4 = Cooldown
data4 = {{{target|}}}
+
|  data4  = {{{cooldown|}}}
 +
|  label5 = Target
 +
data5 = {{{target|}}}
 
| header20 = Damage changes
 
| header20 = Damage changes
 
|  label21  = Buff
 
|  label21  = Buff
Line 35: Line 37:
 
|  label44 =  
 
|  label44 =  
 
|  data44 = <div style="display: flex;"><div style="flex: 1; text-align: left;">{{{damage-stat3|}}}</div><div style="flex: 1; text-align: right;">{{{accuracy-stat3|}}}</div></div>
 
|  data44 = <div style="display: flex;"><div style="flex: 1; text-align: left;">{{{damage-stat3|}}}</div><div style="flex: 1; text-align: right;">{{{accuracy-stat3|}}}</div></div>
label52 =  
+
label45 =  
data52 = <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 19:20, 18 May 2023

Infobox Ability
Infobox Ability
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.