(Tweak) |
Tag: Undo |
||
(25 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{documentation}}<onlyinclude><includeonly>{{#if:{{{1|}}}| |
||
− | <noinclude> |
||
+ | <ul class="elinks"> |
||
− | == External links - Zone == |
||
+ | <li class="{{#if:{{{classic|-}}}|wowhead|wowheadc}}">[https://{{#ifeq:{{{ptr|-}}}|-|{{#ifeq:{{{classic|-}}}|-|www|classic}}|ptr}}.wowhead.com/zone={{{wh|{{{1}}}}}} Wowhead]</li> |
||
− | ;Description |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/zones/{{{1}}} WoWDB]</li> |
||
− | :Creates external zone links using zone Wowhead or Thottbot IDs, Allakhazam ID. |
||
+ | </ul> |
||
− | |||
+ | |<!-- no {{{1}}} --> |
||
− | :Providing an Allakhazam link using ''"al="'' is optional. |
||
⚫ | |||
− | :If the Wowhead zone ID differs from the normal then use ''"wh="''. |
||
+ | <ul class="elinks"> |
||
− | |||
+ | <li class="{{#if:{{{classic|-}}}|wowhead|wowheadc}}">[https://{{#ifeq:{{{ptr|-}}}|-|{{#ifeq:{{{classic|-}}}|-|www|classic}}|ptr}}.wowhead.com/search?q={{urlencode:{{PAGENAME}}|QUERY}}#zones Wowhead]</li> |
||
− | ;Syntax |
||
+ | <li class="sigrie">[https://{{#ifeq:{{{ptr|-}}}|-|www|ptr}}.wowdb.com/search?search={{urlencode:{{PAGENAME}}|QUERY}}#t1:zones WoWDB]</li> |
||
− | :{{t|Elinks-zone|Zone ID|<nowiki>al=</nowiki>}} |
||
+ | </ul>[[Category:Articles which need to have zone ID specified]]}}</includeonly></onlyinclude> |
||
− | ;Example |
||
− | :<nowiki>{{</nowiki>{{PAGENAME}} |
||
− | ::|<nowiki>721</nowiki> |
||
− | ::|<nowiki>al=58</nowiki> |
||
− | ::|<nowiki>wh=133</nowiki> |
||
− | :<nowiki>}}</nowiki> |
||
− | ;Result |
||
− | {{{{PAGENAME}}|25|al=21|wh=133}} |
||
− | ;Template |
||
− | :</noinclude> |
||
− | {{#if:{{{1|}}} |
||
− | |{{elink|type=wowus|site=Armory|link=http://www.wowarmory.com/search.xml?searchType=items&fl%5Bsource%5D=dungeon&fl%5Bboss%5D=all&fl%5Bdungeon%5D={{{1}}}}} |
||
− | {{Elink|type=wowhead|link=http://www.wowhead.com/?zone={{{wh|{{{1}}}}}}}} |
||
− | {{Elink|type=thottbot|link=http://www.thottbot.com/z{{{1}}}}} |
||
⚫ | |||
− | {{Elink|type=wowhead|link=http://www.wowhead.com/?search={{PAGENAMEE}}}} |
||
− | {{Elink|type=thottbot|link=http://www.thottbot.com/?s={{PAGENAMEE}}}} |
||
− | }}{{#if:{{{al|}}}|{{Elink|type=allakhazam|link=http://wow.allakhazam.com/db/zone.html?wzone={{{al}}}}} |
||
− | }}<noinclude> |
||
− | [[Category:WoW utility templates|External, links, Zone]] |
||
− | </noinclude> |
Revision as of 16:54, 20 November 2020
External links - Zone
- Description
- Creates external links to an in-game zone using the zone's internal ID.
- Syntax
- {{Elinks-zone|<Zone ID>}}
- Example
- {{Elinks-zone|1584}}
- Result