Wikia

WoWWiki

Changes: Template:Ability

Edit this page

Back to page

(support subdomain= for wowdb)
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{{icon|}}}|[[File:{{lcfirst:{{{icon}}}}}.png|16px]]&nbsp;}}[[{{{1}}}|<span class="abilitylink {{#if:{{{id|}}}||ajaxttlink}}">[{{{2|{{{1}}}}}}]</span>]]{{#if:{{{id|}}}|<sup>[http://{{{subdomain|www}}}.wowhead.com/spell={{{id|}}} &omega;]{{#if:{{{subdomain|}}}||&nbsp;[http://thottbot.com/spell={{{id|}}} &tau;]}}&nbsp;{{#if:{{{subdomain|}}}|[http://{{{subdomain|}}}.wowdb.com/spells/{{{id|}}} &piv;]|[http://db.mmo-champion.com/s/{{{id|}}} &delta;]&nbsp;[http://www.wowdb.com/spells/{{{id|}}} &piv;]}}</sup>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly><onlyinclude>{{#if:{{{icon|}}}|[[File:{{lcfirst:{{{icon}}}}}.png|16px]]&nbsp;}}[[{{{1}}}|<span class="abilitylink {{#if:{{{id|}}}||ajaxttlink}}">[{{{2|{{{1}}}}}}]</span>]]{{#if:{{{id|}}}|<sup>[http://{{{subdomain|www}}}.wowhead.com/spell={{{id|}}} &omega;]{{#if:{{{subdomain|}}}||&nbsp;[http://thottbot.com/spell={{{id|}}} &tau;]}}&nbsp;{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|[http://{{{subdomain|}}}.wowdb.com/spells/{{{id|}}} &piv;]|[http://db.mmo-champion.com/s/{{{id|}}} &delta;]&nbsp;[http://www.wowdb.com/spells/{{{id|}}} &piv;]}}</sup>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 00:03, October 16, 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).
    • dbmmoc = Optional Show link to db.mmo-champion.com (suppressed by default). Used when id = used.
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