Difference between revisions of "Template:Infobox Ability"

From Idlescape Wiki
Jump to navigation Jump to search
(Please update if anything is incorrect, first time making a template)
 
m
Line 48: Line 48:
 
}}
 
}}
 
}}
 
}}
| header100= Description
+
 
|  data101= {{Infobox | subbox = yes
 
| bodystyle= padding: 0.5em; margin:auto; font-style:italic; font-size:110%; text-align: center
 
|    data1 = {{{description|}}}
 
}}
 
 
}}</includeonly>
 
}}</includeonly>
 
<noinclude>{{Template:Infobox Ability/doc}}</noinclude>
 
<noinclude>{{Template:Infobox Ability/doc}}</noinclude>

Revision as of 18:02, 18 May 2023

Infobox Ability
Infobox Ability
Attack SpeedTemplate:Atk-speed}

}}

}}

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.