Template:Building: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
m Legate moved page Template:Common building to Template:Building without leaving a redirect
Legate (talk | contribs)
mNo edit summary
Line 38: Line 38:


== Examples ==
== Examples ==
{{Common building
{{Building
  | Building    = Library
  | Building    = Library
  | pre        = [[Mage Guild]]
  | pre        = [[Mage Guild]]
Line 51: Line 51:
  | SingleImage = [[File:Tower Library.gif]]
  | SingleImage = [[File:Tower Library.gif]]
}}
}}
{{Common building
{{Building
  | Building    = Freelancer's Guild
  | Building    = Freelancer's Guild
  | pre        = [[Marketplace]]
  | pre        = [[Marketplace]]

Revision as of 15:27, 21 March 2025


How to use

Copy the code at the beginning of building article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "Ore" is not the same as "ore".

{{Building
 | pre     = 
 | wood    = 
 | mercury = 
 | ore     = 
 | sulfur  = 
 | crystal = 
 | gem     = 
 | gold    = 
 | effect  = 
}}

You can add more "pre rows" as parameters if the building needs more than one.

Examples

Library
Prerequisite:
Mage Guild
Cost:
5 Wood 5 Mercury 5 Ore 5 Sulfur 5 Crystal 5 Gem 1500 Gold
Effect:
The library provides additional spells for mage guild.
Freelancer's Guild
Prerequisite:
Marketplace
Cost:
1000 Gold
Effect:
Allows a visiting hero to sell creatures for resources