Template:Elinks-spell/ranks

From Warcraft Wiki
Jump to navigation Jump to search

Creates a table of external links for the first and last ranks of a spell.

Uses the classic variable, defined by {{Classic only}}, to automatically choose a subdomain (such as the "classic" in "classic.wowhead.com").

See also: {{Elinks-talent}}, which can show up to 5 different ranks.

Syntax

{{Elinks-spell/ranks|<1>|<2>|<maxrank>|<sub>}}
1
Spell ID for rank 1 of the spell.
2
Spell ID for the highest rank of the spell.
maxrank
The rank number of the spell's highest rank. Defaults to 2.
sub
Used to manually specify a subdomain.

Examples

{{Elinks-spell/ranks|17002|24866|sub=classic}}

Rank 1 Rank 2
^ Use of |sub=classic causes the Wowhead links to point to Classic, even if the article does not contain {{Classic only}}.

{{Elinks-spell/ranks|5185|25297|maxrank=11}}

Rank 1 Rank 11