Wikia

WoWWiki

Changes: Template:Ability/doc

Edit

Back to page

m
Line 8: Line 8:
 
* <code>2 =</code> Shown label name.
 
* <code>2 =</code> Shown label name.
 
* <code>id =</code> ''Optional'' Spell id. Shows superscript links to DBs.
 
* <code>id =</code> ''Optional'' Spell id. Shows superscript links to DBs.
* <code>subdomain =</code> ''Optional'' Wowhead subdomain. Used when <code>id =</code> used. Currently supports <code>subdomain=old</code>, <code>subdomain=ptr</code>, or <code>subdomain=mop</code> (for {{mists-inline}} Mists of Pandaria before it goes live). Only used for WoWDB (<code>ptr</code> only) and Wowhead (<code>old</code>, <code>ptr</code>, or <code>mop</code>). Only used for WoWDB (<code>ptr</code> only) and Wowhead (<code>old</code>, <code>ptr</code>, or <code>mop</code>).
+
* <code>subdomain =</code> ''Optional'' Wowhead subdomain. Used when <code>id =</code> used. Currently supports <code>subdomain=old</code>, <code>subdomain=ptr</code>, or <code>subdomain=mop</code> (for {{mists-inline}} Mists of Pandaria before it goes live). Only used for WoWDB (<code>ptr</code> only) and Wowhead (<code>old</code>, <code>ptr</code>, or <code>mop</code>).
   
 
;Syntax&#58;
 
;Syntax&#58;

Revision as of 20:08, October 13, 2012

Description:
Displays the given ability as a loot link. If the ability is missing from WoWWiki, DB search links are added by Javascript.
This template is intended for player character abilities, whereas {{power}} is intended for mobs or NPCs. They really only differ in appearance (link text color).
The display name parameter, if passed, is used to show a link titled differently than the ability's name.
Parameters
  • 1 = Ability name.
  • 2 = Shown label name.
  • id = Optional Spell id. Shows superscript links to DBs.
  • subdomain = Optional Wowhead subdomain. Used when id = used. Currently supports subdomain=old, subdomain=ptr, or subdomain=mop (for Mists-Logo-Small Mists of Pandaria before it goes live). Only used for WoWDB (ptr only) and Wowhead (old, ptr, or mop).
Syntax:
{{ability|<ability_name>|<optional_display_name>}}
Example:
{{ability|Frostfire Bolt}}
{{ability|Execute|Mage killer}}
{{ability|Stampeding Roar|id=77761}} bear form version
{{ability|Stampeding Roar|id=77764}} cat form version
{{ability|Ravage!|id=102545|subdomain=mop}} cat form version
{{ability|Magical Pink Pony Power}}
Result:
[Frostfire Bolt]
[Mage killer]
[Stampeding Roar]ω τ ϖ bear form version
[Stampeding Roar]ω τ ϖ cat form version
[Ravage!]ω ϖ cat form version
[Magical Pink Pony Power]
See also

Around Wikia's network

Random Wiki