Wikia

WoWWiki

Changes: Template:Elinks-achievement

Edit

Back to page

m
Line 3: Line 3:
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?achievement={{{1}}} Wowhead]</li>
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?achievement={{{1}}} Wowhead]</li>
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/ach{{{1}}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/ach{{{1}}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/achievements/{{{1}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/a/{{{1}}} DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/achievements/{{{1}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/a/{{{1}}} DB MMO-Champion]</li>}}
 
</ul>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}
 
</ul>{{#if:{{{subdomain|}}}|[[Category:Articles with non-standard external links]]}}
 
|{{#ifeq:notboth
 
|{{#ifeq:notboth
Line 11: Line 11:
 
<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/?s={{PAGENAMEE}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/?s={{PAGENAMEE}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:achievements WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=achievement DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:achievements WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=achievement DB MMO-Champion]</li>}}
 
</ul>
 
</ul>
 
[[Category:Articles which need to have achievement ID specified]]
 
[[Category:Articles which need to have achievement ID specified]]
Line 22: Line 22:
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?achievement={{{a}}} Wowhead]</li>
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?achievement={{{a}}} Wowhead]</li>
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/ach{{{a}}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/ach{{{a}}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/achievements/{{{a}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/a/{{{a}}} DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/achievements/{{{a}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/a/{{{a}}} DB MMO-Champion]</li>}}
 
</ul>
 
</ul>
 
|<span class="error">No alliance achievement ID specified.<br/>Please edit this article and add it.</span><ul class="elinks">
 
|<span class="error">No alliance achievement ID specified.<br/>Please edit this article and add it.</span><ul class="elinks">
 
<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/?s={{PAGENAMEE}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/?s={{PAGENAMEE}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:achievements WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=achievement DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:achievements WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=achievement DB MMO-Champion]</li>}}
 
</ul>
 
</ul>
 
[[Category:Articles which need to have achievement ID specified]]}}
 
[[Category:Articles which need to have achievement ID specified]]}}
Line 35: Line 35:
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?achievement={{{h}}} Wowhead]</li>
 
<li class="wowhead">[http://{{{subdomain|www}}}.wowhead.com/?achievement={{{h}}} Wowhead]</li>
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/ach{{{h}}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/ach{{{h}}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/achievements/{{{h}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/a/{{{h}}} DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/achievements/{{{h}}} WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/a/{{{h}}} DB MMO-Champion]</li>}}
 
</ul>
 
</ul>
 
|<span class="error">No horde achievement ID specified.<br/>Please edit this article and add it.</span><ul class="elinks">
 
|<span class="error">No horde achievement ID specified.<br/>Please edit this article and add it.</span><ul class="elinks">
 
<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/?s={{PAGENAMEE}} Thottbot]</li>}}
 
{{#if:{{{subdomain|}}}||<li class="thottbot">[http://www.thottbot.com/?s={{PAGENAMEE}} Thottbot]</li>}}
{{#if:{{{subdomain|}}}|<li class="wowdb">[http://www.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:achievements WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=achievement DB MMO-Champion]</li>}}
+
{{#ifeq:{{lc:{{{subdomain|}}}}}|ptr|<li class="wowdb">[http://{{{subdomain|}}}.wowdb.com/search?search={{#replace:{{PAGENAMEE}}|_|+}}#search-results:achievements WoWDB]</li>|<li class="sigrie">[http://db.mmo-champion.com/search/all/{{PAGENAMEE}}/#tab=achievement DB MMO-Champion]</li>}}
 
</ul>
 
</ul>
 
[[Category:Articles which need to have achievement ID specified]]}}
 
[[Category:Articles which need to have achievement ID specified]]}}

Revision as of 23:59, October 15, 2012

Purpose

Placed at the bottom of {{Achievement}} articles to show links to external fansites. See the boilerplate for achievements if you need help creating an achievement page.

Usage

{{Elinks-achievement|<ID>}}
{{Elinks-achievement|<a=alliance_ID>|<h=horde_ID>}}
Valid field entries:
1= Achievement ID
- or -
a= Official alliance mini-icon Alliance achievement ID
h= Official horde mini-icon Horde achievement ID
Optional:
id = Optional Achievement id. Shows superscript links to DBs.
subdomain = Optional WowDB or Wowhead subdomain. Used when id = used.
Currently supports subdomain=beta (for WowDB Warlords-Logo-Small DB, but point to correct Wowhead link also), or subdomain=wod (for Wowhead Warlords-Logo-Small DB, but point to correct WowDB link also). Only used for WoWDB (beta for Warlords-Logo-Small or ptr) and Wowhead (ptr or wod for Warlords-Logo-Small; subdomain=ptr just redirects to www, so isn't needed; old no longer works).
Examples
{{Elinks-achievement|1024}}


{{Elinks-achievement|h=1026|a=1023}}
Official alliance mini-icon Alliance Official horde mini-icon Horde


Development

See {{Elinks-achievement/dev}}.

Around Wikia's network

Random Wiki