Wikia

WoWWiki

Elink/doc

Talk0
101,547pages on
this wiki

Template page | < Template:Elink

Revision as of 20:30, March 16, 2013 by Fandyllic (Talk | contribs)

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.
    • url = Can be used alternatively, but is not recommended.
  • 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 = Can be used alternatively, but is not recommended.
  • bydate = Optional appears after the description in 90% of font-size (smaller).
    • author = Can be used alternatively, but is not recommended. Will only show if |bydate= not used.
    • date = Can be used alternatively with |author=, but is not recommended. Will only show if |author= is used and |bydate= not used.
  • icon = Optional icon to show at start of link. Give only the image name, leave off the "[[File:Icon-" and "-22x22.png]]". If not defined, Icon-external-22x22 is used. Do not use just icon= (blank value).
    • Icons available (no corresponding type= parameter):
      Icon-add-22x22add, Icon-delete-22x22delete, Icon-remove-22x22remove, Icon-back-22x22back, Icon-down-22x22down, Icon-next-22x22next, Icon-up-22x22up
      Icon-download-22x22download, Icon-edit-22x22edit, Icon-lock-22x22lock, Icon-new-22x22new, Icon-move-22x22move, Icon-revert-22x22revert, Icon-search-22x22search
      Icon-cleanup-22x22cleanup, Icon-disambig-22x22disambig, Icon-redirect-22x22redirect, Icon-split-22x22split
      Icon-help-22x22help, Icon-information-22x22information, Icon-question-22x22question, Icon-warning-22x22warning
      Icon-api-22x22api, Icon-article-22x22article, Icon-boilerplate-22x22boilerplate, Icon-policy-22x22policy, Icon-stub-22x22stub, Icon-template-22x22template
      Icon-audio-22x22audio, Icon-chat-22x22chat, Icon-email-22x22email, Icon-external-22x22external, Icon-externalarticle-22x22externalarticle
      Icon-addon-22x22addon, Icon-image-22x22image, Icon-imagedelete-22x22imagedelete, Icon-thumbnail-22x22thumbnail, Icon-map-22x22map, Icon-out-22x22out
      Icon-patch-22x22patch, Icon-player-22x22player, Icon-group-22x22group, Icon-popular-22x22popular, Icon-user-22x22user
    • Flag icons available (no corresponding type= parameter):
      Icon-brazil-22x22brazil, Icon-britain-22x22britain, Icon-china-22x22china, Icon-eu-22x22eu, Icon-france-22x22france, Icon-germany-22x22germany, Icon-italy-22x22italy, Icon-japan-22x22japan, Icon-korea-22x22korea,
      Icon-mexico-22x22mexico, Icon-portugal-22x22portugal, Icon-russia-22x22russia, Icon-spain-22x22spain, Icon-taiwan-22x22taiwan, Icon-usa-22x22usa,
    • Site icons available (no corresponding type= parameter):
      Icon-25man-22x2225man, Icon-almostgaming-22x22almostgaming, Icon-amazon-22x22amazon, Icon-apple-22x22apple, Icon-armory-22x22armory, Icon-bneteu-22x22bneteu, Icon-bnetus-22x22bnetus, Icon-bradygames-22x22bradygames,
      Icon-classicbnet-22x22classicbnet, Icon-cosmosui-22x22cosmosui, Icon-crafterstome-22x22crafterstome, Icon-cryptowowtcg-22x22cryptowowtcg, Icon-cryptozoic-22x22cryptozoic, Icon-darklegacycomics-22x22darklegacycomics,
      Icon-dccomics-22x22dccomics, Icon-elitistjerks-22x22elitistjerks, Icon-elsanglin-22x22elsanglin, Icon-facebook-22x22facebook, Icon-fantasyflightgames-22x22fantasyflightgames, Icon-filefront-22x22filefront, Icon-franksplace-22x22franksplace,
      Icon-gamebunny-22x22gamebunny, Icon-gamespot-22x22gamespot, Icon-gamespy-22x22gamespy, Icon-guildprogress-22x22guildprogress, Icon-icyveinscom-22x22icyveinscom, Icon-ign-22x22ign, Icon-joystiq-22x22joystiq, Icon-kotaku-22x22kotaku,
      Icon-L2R-22x22L2R, Icon-lootables-22x22lootables, Icon-lorecrafted-22x22lorecrafted, Icon-magelo-22x22magelo, Icon-maintankadin-22x22maintankadin, Icon-massively-22x22massively, Icon-mmo4ever-22x22mmo4ever,
      Icon-thenoobschool-22x22thenoobschool, Icon-pcgamer-22x22pcgamer, Icon-pennyarcade-22x22pennyarcade, Icon-steam-22x22steam, Icon-tankspot-22x22tankspot, Icon-tentonhammer-22x22tentonhammer, Icon-twitter-22x22twitter,
      Icon-upperdeck-22x22upperdeck, Icon-upperdeckwow-22x22upperdeckwow, Icon-warcraftmovies-22x22warcraftmovies, Icon-WarcraftPets-22x22WarcraftPets, Icon-wikia-22x22wikia, Icon-worldofraids-22x22worldofraids,
      Icon-worldofwar-22x22worldofwar, Icon-wow-22x22wow, Icon-wowace-22x22wowace, Icon-wowbluetracker-22x22wowbluetracker, Icon-wowdb-22x22wowdb, Icon-wowheadnews-22x22wowheadnews, Icon-wowi-22x22wowi,
      Icon-wowincgamers-22x22wowincgamers, Icon-wowjutsu-22x22wowjutsu, Icon-wowpedia-22x22wowpedia, Icon-wowrp-22x22wowrp, Icon-wowwiki-22x22wowwiki,
    • Icons available (has corresponding type parameter):
      Icon-allakhazam-22x22allakhazam, Icon-bnet-22x22bnet, Icon-bneteu-22x22bneteu or bnetsupporteu, Icon-bnetus-22x22bnetus or bnetsupportus, Icon-bnetwoweu-22x22bnetwoweu,
      Icon-bnetwowus-22x22bnetwowus, Icon-blizzard-22x22blizzard, Icon-blizzcon-22x22blizzcon, Icon-blizzconeu-22x22blizzconeu, Icon-blizzconus-22x22blizzconus, Icon-blizzeu-22x22blizzeu, Icon-blizzus-22x22blizzus,
      Icon-blizzplanet-22x22blizzplanet, Icon-curse-22x22curse, Icon-icyveinscom-22x22icyveins or icyveinscom, Icon-mmochampion-22x22mmochampion, Icon-petopia-22x22petopia, Icon-sol-22x22sol, Icon-thottbot-22x22thottbot,
      Icon-vimeo-22x22vimeo, Icon-wikipedia-22x22wikipedia, Icon-wowhead-22x22wowhead, Icon-wowinsider-22x22wowinsider, Icon-youtube-22x22youtube
  • 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, blizzard, blizzcon, blizzconeu, blizzconus, blizzeu, blizzus, blizzplanet, bneteu, bnetus, bnetwoweu, bnetwowus, curse, icyveins or icyveinscom, mmochampion, petopia, sol, thottbot, vimeo, wikipedia, wowhead, wowinsider, and youtube.
Examples of type elink
Examples
This: {{Elink|link=http://examplesite.com|site=Example Site|desc=This is an example external link|bydate=by a WoWWikian 15-Jul-2011 11:00 PM PST}}
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.

Around Wikia's network

Random Wiki