Difference between revisions of "Template:Infobox Ability"

From Idlescape Wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
|  data33 = {{{estimated-max-target-damage|}}}
 
|  data33 = {{{estimated-max-target-damage|}}}
 
| header40 = Stats
 
| header40 = Stats
label41 =  
+
label415 = Damage stats
 
|  data41 = <div style='text-align: left;'>{{{damage-stat1|}}}</div>
 
|  data41 = <div style='text-align: left;'>{{{damage-stat1|}}}</div>
 
|  label42 =  
 
|  label42 =  
Line 35: Line 35:
 
|  label44 =  
 
|  label44 =  
 
|  data44 = <div style='text-align: left;'>{{{damage-stat4|}}}</div>
 
|  data44 = <div style='text-align: left;'>{{{damage-stat4|}}}</div>
label51 =  
+
label515 = Accuracy stats
 
|  data51 = <div style='text-align: right;'>{{{accuracy-stat1|}}}</div>
 
|  data51 = <div style='text-align: right;'>{{{accuracy-stat1|}}}</div>
 
|  label52 =  
 
|  label52 =  

Revision as of 18:39, 18 May 2023

Infobox Ability
Infobox Ability
Stats

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.