Template:Building: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
Legate (talk | contribs)
mNo edit summary
Line 49: Line 49:
  | no_sulfur  =</pre>
  | no_sulfur  =</pre>
|}
|}
== Example ==
{{Common building
| Building = Library
| pre  = [[Mage Guild]]
| wood    = {{W}}5
| mercury = {{M}}5
| ore    = {{O}}5
| sulfur  = {{S}}5
| crystal = {{C}}5
| gem    = {{Gem}}5
| gold    = {{G}}1500
| effect  = The library provides additional spells for mage guild.
| SingleImage = [[File:Tower Library.gif]]
}}


[[Category: Building templates|{{PAGENAME}}]]</noinclude>
[[Category: Building templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:53, 21 March 2025

1
Prerequisite:
Cost:
Effect:

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. If the building does not require certain resource, you have to add "no_" in front of the parameter and leave it empty. For example

 | no_sulfur  =

Example

Template:Common building