Template:Common building: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| border=1 cellpadding=0 cellspacing=0 style="background-color:#E8C0E8; border: 1px solid; float:{{{float|right}}};"
<includeonly>{| border=1 cellpadding=0 cellspacing=0 style="background-color:#E8C0E8; border: 1px solid; float:{{{float|right}}};"
|- style="height: 25px;"
|- style="height: 25px;"
| colspan=8 align=center bgcolor=800080 style="color:#FFFFFF" | {{PAGENAME}}  
| colspan=8 align=center bgcolor=800080 style="color:#FFFFFF" | {{PAGENAME}}  
|-
|-
| colspan=8 align=center bgcolor=BD63BD | '''Prerequisite:'''  
| colspan=8 align=center bgcolor=BD63BD | '''Prerequisite:'''  
|- align=center valign=middle
|- valign=middle
{{!}} colspan=8 {{!}} {{{pre_1|}}}
{{!}} colspan=8 {{!}} {{{pre_1|}}}
|- align=center valign=middle
|- align=center valign=middle
Line 26: Line 26:
|- style="font-size:90%;"
|- style="font-size:90%;"
| colspan=8 style="width: 150px;" | {{{effect|}}}
| colspan=8 style="width: 150px;" | {{{effect|}}}
|}<noinclude>
|}</includeonly><noinclude>


== How to use ==
== How to use ==

Revision as of 20:03, 19 March 2014


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  =