Gaming
 

Template:Elink

From WoWWiki

Description
Creates an external link with icon, providing a consistent standard for the External Links section.
Syntax

{{Elink|< prefix= >|< link=link_url >|< site=link_name >|< desc= >|< title=tooltip >|< icon=icon_name >|< type=(see below) >}}

  • prefix - Optional prefix text before the icon.
  • link - URL to link to.
  • site - Simple name for the site, used as the link text. This should be the domain name (cleaned up, capitalized, drop the '.com', etc) or the guild name "Example Guild (Example Server US)"
  • desc - Optional description of what can be found at the link, placed after the link in plain text.
  • title - Optional text showing when the mouse is over the icon. If not defined, it will default to "External link".
  • icon - Optional icon to show at start of link. Give only the image name, leave off the "[[Icon-" and "-22x22.png]]". If not defined, Image:Icon-external-22x22.png is used. Do not use just icon= (blank value).
    • Icons available (no corresponting type parameter):
      Image:Icon-add-22x22.pngadd, Image:Icon-delete-22x22.pngdelete, Image:Icon-remove-22x22.pngremove, Image:Icon-back-22x22.pngback, Image:Icon-down-22x22.pngdown, Image:Icon-next-22x22.pngnext, Image:Icon-up-22x22.pngup
      Image:Icon-download-22x22.pngdownload, Image:Icon-edit-22x22.pngedit, Image:Icon-lock-22x22.pnglock, Image:Icon-new-22x22.pngnew, Image:Icon-move-22x22.pngmove, Image:Icon-revert-22x22.pngrevert, Image:Icon-search-22x22.pngsearch
      Image:Icon-cleanup-22x22.pngcleanup, Image:Icon-disambig-22x22.pngdisambig, Image:Icon-redirect-22x22.pngredirect, Image:Icon-split-22x22.pngsplit
      Image:Icon-help-22x22.pnghelp, Image:Icon-information-22x22.pnginformation, Image:Icon-question-22x22.pngquestion, Image:Icon-warning-22x22.pngwarning
      Image:Icon-api-22x22.pngapi, Image:Icon-article-22x22.pngarticle, Image:Icon-boilerplate-22x22.pngboilerplate, Image:Icon-policy-22x22.pngpolicy, Image:Icon-stub-22x22.pngstub, Image:Icon-template-22x22.pngtemplate
      Image:Icon-audio-22x22.pngaudio, Image:Icon-chat-22x22.pngchat, Image:Icon-email-22x22.pngemail, Image:Icon-external-22x22.pngexternal, Image:Icon-externalarticle-22x22.pngexternalarticle
      Image:Icon-addon-22x22.pngaddon, Image:Icon-image-22x22.pngimage, Image:Icon-imagedelete-22x22.pngimagedelete, Image:Icon-thumbnail-22x22.pngthumbnail, Image:Icon-map-22x22.pngmap, Image:Icon-out-22x22.pngout
      Image:Icon-patch-22x22.pngpatch, Image:Icon-player-22x22.pngplayer, Image:Icon-group-22x22.pnggroup, Image:Icon-popular-22x22.pngpopular, Image:Icon-user-22x22.pnguser
    • Site icons available (no corresponting type= parameter):
      Image:Icon-almostgaming-22x22.pngalmostgaming, Image:Icon-apple-22x22.pngapple, Image:Icon-bnet-22x22.pngbnet, Image:Icon-bradygames-22x22.pngbradygames, Image:Icon-cosmosui-22x22.pngcosmosui, Image:Icon-crafterstome-22x22.pngcrafterstome, Image:Icon-criticalgamers-22x22.pngcriticalgamers,
      Image:Icon-dccomics-22x22.pngdccomics, Image:Icon-elitistjerks-22x22.pngelitistjerks, Image:Icon-elsanglin-22x22.pngelsanglin, Image:Icon-fantasyflightgames-22x22.pngfantasyflightgames, Image:Icon-filefront-22x22.pngfilefront, Image:Icon-gamebunny-22x22.pnggamebunny,
      Image:Icon-gamespot-22x22.pnggamespot, Image:Icon-gamespy-22x22.pnggamespy, Image:Icon-goblinworkshop-22x22.pnggoblinworkshop, Image:Icon-guildprogress-22x22.pngguildprogress, Image:Icon-ign-22x22.pngign, Image:Icon-joystiq-22x22.pngjoystiq, Image:Icon-kotaku-22x22.pngkotaku,
      Image:Icon-lootables-22x22.pnglootables, Image:Icon-maintankadin-22x22.pngmaintankadin, Image:Icon-massively-22x22.pngmassively, Image:Icon-mmochampion-22x22.pngmmochampion, Image:Icon-thenoobschool-22x22.pngthenoobschool, Image:Icon-pennyarcade-22x22.pngpennyarcade,
      Image:Icon-tentonhammer-22x22.pngtentonhammer, Image:Icon-upperdeck-22x22.pngupperdeck, Image:Icon-upperdeckwow-22x22.pngupperdeckwow, Image:Icon-warcraftmovies-22x22.pngwarcraftmovies, Image:Icon-WarcraftPets-22x22.pngWarcraftPets, Image:Icon-wikia-22x22.pngwikia,
      Image:Icon-worldofraids-22x22.pngworldofraids, Image:Icon-worldofwar-22x22.pngworldofwar, Image:Icon-wowace-22x22.pngwowace, Image:Icon-wowbluetracker-22x22.pngwowbluetracker, Image:Icon-wowdigger-22x22.pngwowdigger,
      Image:Icon-wowi-22x22.pngwowi, Image:Icon-wowincgamers-22x22.pngwowincgamers, Image:Icon-wowjutsu-22x22.pngwowjutsu
    • Icons available (has corresponding type parameter):
      Image:Icon-allakhazam-22x22.pngallakhazam, Image:Icon-armory-22x22.pngarmory, Image:Icon-blizzard-22x22.pngblizzard, Image:Icon-blizzplanet-22x22.pngblizzplanet,
      Image:Icon-bosskillers-22x22.pngbosskillers, Image:Icon-curse-22x22.pngcurse (use for wowdb too), Image:Icon-petopia-22x22.pngpetopia, Image:Icon-sol-22x22.pngsol, Image:Icon-thottbot-22x22.pngthottbot, Image:Icon-video-22x22.pngvideo,
      Image:Icon-wikipedia-22x22.pngwikipedia, Image:Icon-woweu-22x22.pngwoweu, Image:Icon-wowhead-22x22.pngwowhead, Image:Icon-wowinsider-22x22.pngwowinsider, Image:Icon-wowus-22x22.pngwowus, Image:Icon-youtube-22x22.pngyoutube
  • type - Will automatically give the link a default styling (icon, site, title...) depending on the given parameter. Icons are defaulted to the type. Currently, the accepted parameters are: allakhazam, ampwow, armory, blizzard, blizzplanet, bosskillers, curse, petopia, sol, thottbot, video, wikipedia, woweu, wowhead, wowinsider, wowus, and youtube.
Examples
This: {{Elink|link=http://examplesite.com|site=Example Site|desc=This is an example external link}}
Produces:
This: {{Elink|prefix=Take from|link=http://examplesite2.com|site=Example Source Site|desc=This is an example source external link|title=Example hover box}}
Produces:
Using icons not listed
You can use icons not listed, if they are uploaded to WoWWiki.
Before using an icon it should meet the following criteria:
  • The image should be a PNG with the extension .png (lowercase).
  • The image should be 22 pixels high by 22 pixels wide.
  • The name of the image file should be in the form: Icon-name-22x22.png
Before adding the icon to the list on Template:Elink/doc, please ask for feedback on Template talk:Elink.