Template:Heroportrait

From Hearthstone Wiki
Jump to navigation Jump to search


A simple template to display the correct numbered PNG image for a hero. The image will also link to the hero's page.

NB: This template only works for playable heroes. For non-playable bosses, just use {{Card}}.

  • First parameter (mandatory) - Hero name. This is used for the file call and also the page link. Example: Uther, Uther Lightbringer
  • Second parameter (optional) - File size (in px). Default: 286 (current full image size for the imported images). Example: 250, 100
  • Third, fourth, fifth parameters (optional) - Additional notes, usually left or right for alignment purposes, or thumb and a caption.
Notes
  • When trying to match the size of {{Card}} calls in mixed lists, such as on artist pages, use 200px.

Examples[edit source]

{{heroportrait|uther}}

Produces:

Uther Lightbringer(257).png


{{heroportrait|uther|100|right}}

Produces:

Uther Lightbringer(257).png

{{heroportrait|uther||right|thumb|For Justice!}}

Produces:

For Justice!