Template:Common building: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|-
|-
{{{no_pre|
{{{no_pre|
{{!}} align=center bgcolor={{purple 2}}{{!}} '''Prerequisite:''' }}}
{{!}} align=center bgcolor=mediumorchid{{!}} '''Prerequisite:''' }}}
|-
|-
| colspan=8 style="width: 150px;" |
| colspan=8 style="width: 150px;" |
Line 14: Line 14:
|-
|-
{{{no_cost|
{{{no_cost|
{{!}} colspan=8 align=center bgcolor={{purple 2}}{{!}} '''Cost:'''
{{!}} colspan=8 align=center bgcolor=mediumorchid{{!}} '''Cost:'''
{{!-}} align=center valign=middle
{{!-}} align=center valign=middle
{{!}} {{{wood|}}} {{{mercury|}}} {{{ore|}}} {{{sulfur|}}} {{{crystal|}}} {{{gem|}}} {{{gold|}}} }}}
{{!}} {{{wood|}}} {{{mercury|}}} {{{ore|}}} {{{sulfur|}}} {{{crystal|}}} {{{gem|}}} {{{gold|}}} }}}
|-
|-
| colspan=8 align=center bgcolor={{purple 2}} style="width: 150px;" | '''Effect:'''
| colspan=8 align=center bgcolor=mediumorchid style="width: 150px;" | '''Effect:'''
|-
|-
| colspan=8 style="width: 150px;" |
| colspan=8 style="width: 150px;" |

Revision as of 00:22, 10 July 2018

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  =