Template:Hero row

From Heroes 3 wiki
Revision as of 19:00, 12 June 2024 by Turnam (talk | contribs) (add hero_link support)
Jump to navigation Jump to search
Location Player Hero
0, 1, 2 Random Random
3, 2, 1 Red Christian Christian
0, 1, 2 Green Yog Yog the Not-Wizard
3, 4, 5 Teal Gem Gem the Sorceress
6, 7, 8 Imprisoned Jack Sparrow Jack Sparrow the Captain

Usage:

{{hero row|Location|Color|Name|Class}}
  1. Location is map coordinates (X, Y, Z), no default.
  2. Color is one of the kingdom colors: red, blue, tan, green, orange, purple, teal, and pink. It should be in lower-case (red, not Red). Alternatively, a template such as {{imprisoned}} or {{encamped}} can be used. Defaults to no color.
  3. Name should be the hero name. The hero's portrait and the link to the hero's page are also taken from this parameter. Defaults to Random.
  4. Class is the hero's class, such as Knight.

Additionally, name= and image= explicit parameters can be used to override the third parameter.