Template:Common building: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
| colspan=8 style="width: 150px;" |
| colspan=8 style="width: 150px;" |
{| cellpadding=0 cellspacing=0 valign=middle style="background-color:#E8C0E8;"
{| cellpadding=0 cellspacing=0 valign=middle style="background-color:#E8C0E8;"
| style="border-left: 5px solid #E8C0E8; border-right: 5px solid #E8C0E8;" | {{{pre}}}
| style="border-left: 5px solid #E8C0E8; border-right: 5px solid #E8C0E8;" | {{{pre}}} MEH |} }}}
|}
{{{no_cost|{{!-}}
}}}{{{no_cost|{{!-}}
{{!}} colspan=8 align=center bgcolor=BD63BD {{!}} '''Cost:'''
{{!}} colspan=8 align=center bgcolor=BD63BD {{!}} '''Cost:'''
{{!-}} align=center valign=middle
{{!-}} align=center valign=middle

Revision as of 18:17, 24 March 2014

Common building
Pictures:
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  =