Wikia

WoWWiki

Changes: Template:Elinks-item

Edit this page

Back to page

 
Line 4: Line 4:
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?item={{{1}}} Wowhead]</li>
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?item={{{1}}} Wowhead]</li>
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/item={{{1}}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/item={{{1}}} Thottbot]</li>}}
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/items/{{{1}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/i/{{{1}}} DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/items/{{{1}}} WoWDB]</li>|<li class="wowdb">[http://www.wowdb.com/items/{{{1}}} WoWDB]</li>}}
 
</ul>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}<!--
 
</ul>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}<!--
 
-->|<!-- no {{{1}}}
 
-->|<!-- no {{{1}}}
Line 12: Line 12:
 
<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}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/search?q={{PAGENAMEE}} Thottbot]</li>}}
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}} WoWDB]</li>|<li class="sigrie">[http://www.wowdb.com/search?search={{PAGENAMEE}}/#tab=item DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}} WoWDB]</li>|<li class="wowdb">[http://www.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}} WoWDB]</li>}}
 
</ul>[[Category:Articles which need to have item ID specified]]}}</includeonly>
 
</ul>[[Category:Articles which need to have item ID specified]]}}</includeonly>
 
</onlyinclude>
 
</onlyinclude>

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

Description
Creates external item links using Item ID.
Syntax
{{Elinks-item|<Item ID>}}
Example
{{Elinks-item|4321}}
Result

Around Wikia's network

Random Wiki