Howbizr@legacy41545615 (talk | contribs) (Want to try it without the comments first. Added WOTLK thottbot) |
m (+ptr) |
||
(25 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{documentation}}<onlyinclude><includeonly>{{#if:{{{1|}}}| |
||
− | <noinclude> |
||
+ | <ul class="elinks"> |
||
− | == External Links - achievement == |
||
+ | <li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowhead.com/achievement={{{1}}} Wowhead]</li> |
||
− | ;Description |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/achievements/{{{1}}} WoWDB]</li> |
||
− | :Creates external achievement links using achievement ID. |
||
+ | </ul> |
||
− | |||
+ | |{{#ifeq:notboth |
||
− | ;Syntax |
||
+ | |{{#ifeq:{{{h|---}}}|---|{{#ifeq:{{{a|---}}}|---|notboth}}}} |
||
− | :{{t|{{PAGENAME}}|achievement ID}} |
||
+ | |<span class="error">No achievement ID specified. Please edit this article and add it.</span> |
||
− | ;Example |
||
+ | <ul class="elinks"> |
||
− | :<nowiki>{{</nowiki>{{PAGENAME}} |
||
+ | <li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowhead.com/search={{PAGENAMEE}} Wowhead]</li> |
||
− | ::|<nowiki>1234</nowiki> |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/search?search={{PAGENAMEE}} WoWDB]</li> |
||
− | :<nowiki>}}</nowiki> |
||
+ | </ul> |
||
− | ;Result |
||
⚫ | |||
− | {{{{PAGENAME}}|123}} |
||
+ | |{{{!}} class=darktable |
||
− | ;Template |
||
+ | ! {{horde}} Horde !! {{Alliance}} Alliance |
||
− | </noinclude>{{#if:{{{1|}}}|<div style="margin: 2px 0px;" id="elinks-item-wowhead-22x22.png">[[Image:Icon-wowhead-22x22.png|Wowhead]] [http://wotlk.wowhead.com/?achievement={{{1}}} Wowhead] {{wotlk-inline}}</div><div style="margin: 2px 0px;" id="elinks-item-thottobot-22x22.png">[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://thottbot.com/wotlk/ach{{{1}}} Thottbot] {{wotlk-inline}}</div>|<span style="color: #E44;">No achievement ID specified. Please edit this article and add it.</span><br />[[Image:Icon-wowhead-22x22.png|Wowhead]] [http://wotlk.wowhead.com/?search={{PAGENAMEE}} Wowhead] {{wotlk-inline}}<br />[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://thottbot.com/wotlk/?s={{PAGENAME}} Thottbot] {{wotlk-inline}}<!--[[Image:Icon-allakhazam-22x22.png|Allakhazam]] [http://wow.allakhazam.com/search.html?q={{PAGENAMEE}} Allakhazam]<br />[[Image:Icon-thottbot-22x22.png|Thottbot]] [http://www.thottbot.com/?s={{PAGENAMEE}} Thottbot]<br />--> |
||
+ | {{!}}- |
||
⚫ | |||
+ | {{!}} |
||
− | [[Category:WoW utility templates|External, Links, Achievement]] |
||
+ | {{#if:{{{h|}}}| |
||
− | </noinclude> |
||
+ | <ul class="elinks"> |
||
+ | <li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowhead.com/achievement={{{h}}} Wowhead]</li> |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/achievements/{{{h}}} WoWDB]</li> |
||
+ | </ul> |
||
+ | |<span class="error">No horde achievement ID specified.<br/>Please edit this article and add it.</span><ul class="elinks"> |
||
+ | <li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowhead.com/search={{PAGENAMEE}} Wowhead]</li> |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/search?search={{PAGENAMEE}} WoWDB]</li> |
||
+ | </ul> |
||
+ | [[Category:Articles which need to have achievement ID specified]]}} |
||
+ | {{!}}{{!}} |
||
+ | {{#if:{{{a|}}}| |
||
+ | <ul class="elinks"> |
||
+ | <li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowhead.com/achievement={{{a}}} Wowhead]</li> |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/achievements/{{{a}}} WoWDB]</li> |
||
+ | </ul> |
||
+ | |<span class="error">No alliance achievement ID specified.<br/>Please edit this article and add it.</span><ul class="elinks"> |
||
+ | <li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowhead.com/search={{PAGENAMEE}} Wowhead]</li> |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/search?search={{PAGENAMEE}} WoWDB]</li> |
||
+ | </ul> |
||
+ | [[Category:Articles which need to have achievement ID specified]]}} |
||
+ | {{!}}} |
||
+ | }}}}</includeonly></onlyinclude> |
Revision as of 06:29, 9 February 2019
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|a=|h=}}
- Valid Field Entries
- ID: Achievement ID
- - or -
- Examples
{{Elinks-achievement|1024}}
{{Elinks-achievement|h=1026|a=1023}}
Horde | Alliance |
---|---|