Template:Common building: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 15: Line 15:
| colspan=8 align=center bgcolor=BD63BD | '''Cost:'''
| colspan=8 align=center bgcolor=BD63BD | '''Cost:'''
|- align=center valign=middle
|- align=center valign=middle
{{{no_wood|{{!}}{{{wood}}}{{wood}}{{!}}{{!}}}}}
{{{no_wood|{{!}}{{{wood|}}}{{wood}}{{!}}{{!}}}}}
{{{no_mercury|{{!}}{{{mercury}}}{{mercury}}{{!}}{{!}}}}}
{{{no_mercury|{{!}}{{{mercury|}}}{{mercury}}{{!}}{{!}}}}}
{{{no_ore|{{!}}{{{ore}}}{{ore}}{{!}}{{!}}}}}
{{{no_ore|{{!}}{{{ore|}}}{{ore}}{{!}}{{!}}}}}
{{{no_sulfur|{{!}}{{{sulfur}}}{{Sulfur}}{{!}}{{!}}}}}
{{{no_sulfur|{{!}}{{{sulfur|}}}{{Sulfur}}{{!}}{{!}}}}}
{{{no_crystal|{{!}}{{{crystal}}}{{Crystal}}{{!}}{{!}}}}}
{{{no_crystal|{{!}}{{{crystal|}}}{{Crystal}}{{!}}{{!}}}}}
{{{no_gem|{{!}}{{{gem}}}{{Gem}}{{!}}{{!}}}}}
{{{no_gem|{{!}}{{{gem|}}}{{Gem}}{{!}}{{!}}}}}
{{{no_gold|{{!}}{{{gold}}}{{Gold}}{{!}}{{!}}}}}
{{{no_gold|{{!}}{{{gold|}}}{{Gold}}{{!}}{{!}}}}}
|-
|-
| colspan=8 align=center bgcolor=BD63BD style="width: 150px;" | '''Effect:'''
| colspan=8 align=center bgcolor=BD63BD style="width: 150px;" | '''Effect:'''

Revision as of 19:45, 19 March 2014

Common building
Prerequisite:
Cost:
Wood Mercury Ore Sulfur Crystal Gem Gold
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_1   = 
 | 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  =