Template:Hero row: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 18: Line 18:
#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.
#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.
#Class is the hero's class, such as Knight.
#Class is the hero's class, such as Knight.
# Other parameters:
# Explicit parameters:
#* name= and image= explicit parameters can be used to modify the third parameter.
#* name= and image= can be used to modify the third parameter.
#* mph= overrides the 3rd parameter. It is intended for a call to [[Template: mph]] (e.g. <nowiki>{{mph|5|Homecoming}}</nowiki>)
#* mph= overrides the 3rd parameter. It is intended for a call to [[Template: mph]] (e.g. <nowiki>{{mph|5|Homecoming}}</nowiki>)
#* other= can be used to add more text to the hero name box.
#* other= can be used to add more text to the hero name box.
[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Revision as of 20:49, 10 September 2024

Location Player Hero
0, 1, 2 Random Hero
3, 2, 1 Red Christian Christian (NOTE: talky-talk)
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 [1]
10, 11, 0 Tan Your 5th most powerful hero from Homecoming.

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.
  5. Explicit parameters:
    • name= and image= can be used to modify the third parameter.
    • mph= overrides the 3rd parameter. It is intended for a call to Template: mph (e.g. {{mph|5|Homecoming}})
    • other= can be used to add more text to the hero name box.