Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Revert to earlier revision; WOWDB is being voted on as database)
(wowhead expects the trailing / now)
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{documentation}}<onlyinclude><includeonly>{{#if:{{{1|}}}|<!--
== External links - Quest ==
 
  +
--><ul class="elinks">
;Description
 
  +
<li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|{{#ifeq:{{{classic|-}}}|-|www|classic}}|ptr}}.wowhead.com/quest={{{1}}}/ Wowhead]</li>
:Creates external quest links using quest ID
 
  +
<li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/quests/{{{1}}} WoWDB]</li>
 
  +
</ul>|<!-- no {{{1}}}
;Syntax
 
 
--><span class="error">No quest ID specified. Please edit this article and add it.</span>
:{{t|{{PAGENAME}}|Quest ID}}
 
  +
<ul class="elinks">
;Example
 
  +
<li class="wowhead">[https://{{#ifeq:{{{ptr|-}}}|-|{{#ifeq:{{{classic|-}}}|-|www|classic}}|ptr}}.wowhead.com/?search={{urlencode:{{PAGENAME}}|QUERY}}#quests Wowhead]</li>
:<nowiki>{{</nowiki>{{PAGENAME}}
 
  +
<li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/search?search={{urlencode:{{PAGENAME}}|QUERY}}#t1:quests WoWDB]</li>
::|<nowiki>1234</nowiki>
 
 
</ul>[[Category:Articles which need to have quest ID specified]]}}</includeonly></onlyinclude>
:<nowiki>}}</nowiki>
 
;Result
 
{{{{PAGENAME}}|1234}}
 
;Template
 
:<onlyinclude>{{#if:{{{1|}}}|
 
{{elink|type=wowhead|link=http://www.wowhead.com/?quest={{{1}}}}}
 
{{elink|type=thottbot|link=http://www.thottbot.com/q{{{1}}}}}
 
{{elink|type=allakhazam|link=http://wow.allakhazam.com/db/quest.html?wquest={{{1}}}}}
 
|<span style="color: #E44;">No quest ID specified. Please edit this article and add it.</span><br/>
 
{{elink|type=wowhead|link=http://www.wowhead.com/?search={{PAGENAMEE}}}}
 
{{elink|type=thottbot|link=http://www.thottbot.com/?s={{PAGENAMEE}}}}
 
{{elink|type=allakhazam|link=http://wow.allakhazam.com/search.html?q={{PAGENAMEE}}}}}}
 
<includeonly>{{#if:{{{1|}}}||[[Category:Articles which need to have quest ID specified]]}}</includeonly></onlyinclude>
 
[[Category:WoW utility templates|External, Links, Quest]]
 

Revision as of 22:35, 17 November 2020

Description
Creates external quest links using quest ID. See {{elinks-quest/faction}} for a template that shows links for quests of the same name but different IDs for different factions.
Syntax
{{Elinks-quest|<Quest ID>}}
Example
{{Elinks-quest|<12345>}}
Result

See also