Difference between revisions of "Template:Infobox Ability/doc"

From Idlescape Wiki
Jump to navigation Jump to search
m (typo)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox Ability}}
+
{{Infobox Ability|name=Bulwark}}
 +
The template automatically creates an infobox for an ability.
  
====Usage====
+
=Usage=
<pre>{{Infobox Ability
+
The template takes optional parameters:
|title =
+
* <code>name, title</code> The name of the ability to get data of. Defaults to the page name.
|image =
+
* <code>sources</code> The additional sources of the ability, seperated by commas. The module automatically add sources found in Talents, Ability Books and Equipment.
|book-img =
+
* <code>item</code> Item name. If given, creates a list of infoboxes for every ability granted by the item.
|book-name =
+
 
|atk-type =
+
=Example=
|atk-speed =  
+
==Input==
|cooldown =  
+
<code><nowiki>{{Infobox Ability|name=Bulwark}}</nowiki></code>
|target =  
+
<br>The same output is achieved by <code><nowiki>{{Infobox Ability}}</nowiki></code> if called from the page [[Bulwark]].
|description =  
 
|buff =  
 
|accuracy =  
 
|minimum-damage =
 
|maximum-damage =
 
|estimated-damage-range =
 
|estimated-single-target-dmage =
 
|estimated-max-target-damage =
 
|damage-stat1 =
 
|damage-stat2 =
 
|damage-stat3 =
 
|damage-stat4 =
 
|accuracy-stat1 =
 
|accuracy-stat2 =
 
|accuracy-stat3 =
 
|accuracy-stat4 =
 
|note =
 
}}</pre>
 
  
====Copy pasta code:====
 
<pre>{{Infobox Ability
 
|title =
 
|image =
 
|book-img =
 
|book-name =
 
|atk-type =
 
|atk-speed =
 
|cooldown =
 
|target =
 
|description =
 
|buff =
 
|accuracy =
 
|minimum-damage =
 
|maximum-damage =
 
|estimated-damage-range =
 
|estimated-single-target-dmage =
 
|estimated-max-target-damage =
 
|damage-stat1 =
 
|damage-stat2 =
 
|damage-stat3 =
 
|damage-stat4 =
 
|accuracy-stat1 =
 
|accuracy-stat2 =
 
|accuracy-stat3 =
 
|accuracy-stat4 =
 
|note =
 
}}</pre>
 
  
 
<includeonly>[[Category:Template]]</includeonly>
 
<includeonly>[[Category:Template]]</includeonly>

Latest revision as of 07:50, 30 May 2025

Bulwark
Bulwark
SourcesDefender's BandDefender's Band
Defender's PendantDefender's Pendant
Attack TypeMelee
Attack Speed
0.5x Weapon speed
Cooldown30s
Damage Stats
Min Damage Multiplier0.1x
Max Damage Multiplier0.1x
Melee1x
Accuracy Stats
Accuracy Multiplier5x
Melee1x
Target
Max Targets1
Targets SelfNo
Targets FriendlyNo
Self Buff / Debuff
BuffDeflectDeflect
Strength6
Amount1
Refresh to Amount99
Condition to ApplyAlways
Chance to Apply100%
TooltipDecreases 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, 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.