Wikia

WoWWiki

Changes: Template:Elinks-spell

Edit this page

Back to page

 
Line 3: Line 3:
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?spell={{{1}}} Wowhead]</li>
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?spell={{{1}}} Wowhead]</li>
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/spell={{{1}}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/spell={{{1}}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/spells/{{{1}}} WoWDB]</li>|<li class="sigrie">[http://www.wowdb.com/spells/{{{1}}} DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/spells/{{{1}}} WoWDB]</li>|<li class="wowdb">[http://www.wowdb.com/spells/{{{1}}} WoWDB]</li>}}
 
</ul>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}|<!-- no {{{1}}}
 
</ul>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}|<!-- no {{{1}}}
 
--><span class="error">No spell ID specified. Please edit this article and add it.</span>
 
--><span class="error">No spell ID specified. Please edit this article and add it.</span>
Line 9: Line 9:
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?search={{PAGENAMEE}} Wowhead]</li>
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?search={{PAGENAMEE}} Wowhead]</li>
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/search?q={{PAGENAMEE}}#spells Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/search?q={{PAGENAMEE}}#spells Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:spells WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=spell DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:spells WoWDB]</li>|<li class="wowdb">[http://www.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:spells WoWDB]</li>}}
 
</ul>[[Category:Articles which need to have spell ID specified]]}}</includeonly>
 
</ul>[[Category:Articles which need to have spell ID specified]]}}</includeonly>
 
</onlyinclude>
 
</onlyinclude>

Latest revision as of 23:44, October 15, 2012

External links - Spell Edit

Description
Creates external spell links using spell ID
Syntax
{{Elinks-spell|<Spell ID>}}
Example
{{Elinks-spell
|1234
}}
Result

Around Wikia's network

Random Wiki