Difference between revisions of "Template:Infobox Ability/doc"
Jump to navigation
Jump to search
Demcookies (talk | contribs) (Update documentation to reflect current usage with invoked module, replacing outdated template-only usage.) |
Demcookies (talk | contribs) m (Update update info about sources. Add info for the 'item' parameter. Remove todo) |
||
| Line 1: | Line 1: | ||
{{Infobox Ability|name=Bulwark}} | {{Infobox Ability|name=Bulwark}} | ||
| − | |||
The template automatically creates an infobox for an ability. | The template automatically creates an infobox for an ability. | ||
| − | |||
=Usage= | =Usage= | ||
The template takes optional parameters: | The template takes optional parameters: | ||
* <code>name, title</code> The name of the ability to get data of. Defaults to the page name. | * <code>name, title</code> The name of the ability to get data of. Defaults to the page name. | ||
| − | * <code>sources</code> The sources of the ability, seperated by commas. | + | * <code>sources</code> The additional sources of the ability, seperated by commas. The module automatically add sources found in Talents, Ability Books and Equipment. |
| − | + | * <code>item<code> Item name. If given, creates a list of infoboxes for every ability granted by the item. | |
=Example= | =Example= | ||
| Line 14: | Line 12: | ||
<code><nowiki>{{Infobox Ability|name=Bulwark}}</nowiki></code> | <code><nowiki>{{Infobox Ability|name=Bulwark}}</nowiki></code> | ||
<br>The same output is achieved by <code><nowiki>{{Infobox Ability}}</nowiki></code> if called from the page [[Bulwark]]. | <br>The same output is achieved by <code><nowiki>{{Infobox Ability}}</nowiki></code> if called from the page [[Bulwark]]. | ||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly>[[Category:Template]]</includeonly> | <includeonly>[[Category:Template]]</includeonly> | ||
Revision as of 07:50, 30 May 2025
| Sources | |
|---|---|
| Attack Type | Melee |
| Attack Speed | 0.5x Weapon speed |
| Cooldown | 30s |
| Damage Stats | |
| Min Damage Multiplier | 0.1x |
| Max Damage Multiplier | 0.1x |
| Melee | 1x |
| Accuracy Stats | |
| Accuracy Multiplier | 5x |
| Melee | 1x |
| Target | |
| Max Targets | 1 |
| Targets Self | No |
| Targets Friendly | No |
| Self Buff / Debuff | |
| Buff | |
| Strength | 6 |
| Amount | 1 |
| Refresh to Amount | 99 |
| Condition to Apply | Always |
| Chance to Apply | 100% |
| Tooltip | Decreases damage by and reflects 60% of damage back onto the attacker. Caps at 50%. |
| Description | |
Ready yourself to defend against the next attack! | |
The template automatically creates an infobox for an ability.
Usage
The template takes optional parameters:
name, titleThe name of the ability to get data of. Defaults to the page name.sourcesThe additional sources of the ability, seperated by commas. The module automatically add sources found in Talents, Ability Books and Equipment.itemItem 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.