Latest revision |
Your text |
Line 1: |
Line 1: |
| {| border=0 cellpadding=0 cellspacing=0 valign=middle style="background-color:#{{purple 3}}; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}}; margin: 0 0 8px 8px;" | | {| border=1 cellpadding=0 cellspacing=0 style="background-color:#E8C0E8; border: 1px solid; float:{{{float|right}}};" |
| |- style="height: 25px;" | | |- style="height: 25px;" |
| | align=center bgcolor={{purple 1}} style="color:#FFFFFF" | '''{{{name|{{{Building|1}}}}}}''' | | | colspan=8 align=center bgcolor=800080 style="color:#FFFFFF" | {{PAGENAME}} |
| |- | | |- |
| | <includeonly>style="text-align:center;"|{{{SingleImage|[[Image: Castle {{{Building|1}}}.gif|{{{Building|1}}} of Castle|link=Castle town]][[Image: Tower {{{Building|1}}}.gif|{{{Building|1}}} of Tower|link=Tower town]][[Image: Rampart {{{Building|1}}}.gif|{{{Building|1}}} of Rampart|link=Rampart town]]<br>[[Image: Inferno {{{Building|1}}}.gif|{{{Building|1}}} of Inferno|link=Inferno town]][[Image: Necropolis {{{Building|1}}}.gif|{{{Building|1}}} of Necropolis|link=Necropolis town]][[Image: Dungeon {{{Building|1}}}.gif|{{{Building|1}}} of Dungeon|link=Dungeon town]]<br>[[Image: Stronghold {{{Building|1}}}.gif|{{{Building|1}}} of Stronghold|link=Stronghold town]][[Image: Fortress {{{Building|1}}}.gif|{{{Building|1}}} of Fortress|link=Fortress town]][[Image: Conflux {{{Building|1}}}.gif|{{{Building|1}}} of Conflux|link=Conflux town]]}}}</includeonly> | | | colspan=8 align=center bgcolor=BD63BD | '''Prerequisite:''' |
| | |- align=center valign=middle |
| | {{!}} {{{pre_1|}}} |
| | |- align=center valign=middle |
| | {{!}} {{{pre_2|}}} |
| | |- align=center valign=middle |
| | {{!}} {{{pre_3|}}} |
| | |- align=center valign=middle |
| | {{!}} {{{pre_4|}}} |
| | |- align=center valign=middle |
| | | colspan=8 align=center bgcolor=BD63BD | '''Cost:''' |
| | |- align=center valign=middle |
| | {{{no_wood|{{!}} valign=middle {{!}} {{{wood|}}} {{wood}}}}} |
| | {{{no_mercury|{{!}} valign=middle {{!}}{{{mercury|}}} {{mercury}} }}} |
| | {{{no_ore|{{!}} valign=middle {{!}}{{{ore|}}} {{ore}} }}} |
| | {{{no_sulfur|{{!}} valign=middle {{!}}{{{sulfur|}}} {{Sulfur}} }}} |
| | {{{no_crystal|{{!}} valign=middle {{!}}{{{crystal|}}} {{Crystal}} }}} |
| | {{{no_gem|{{!}} valign=middle {{!}} {{{gem|}}} {{Gem}} }}} |
| | | {{{gold|}}} {{Gold}} |
| |- | | |- |
| {{{no_pre|
| | | colspan=8 align=center bgcolor=BD63BD style="width: 150px;" | '''Effect:''' |
| {{!}} align=center bgcolor=mediumorchid{{!}} '''Prerequisite:''' }}}
| | |- style="font-size:90%;" |
| |-
| | | colspan=8 style="width: 150px;" | {{{effect|}}} |
| | colspan=8 style="width: 150px;" |
| |
| {| cellpadding=0 cellspacing=0 valign=middle style="background-color:#{{purple 3}};"
| |
| | style="border-left: 5px solid #E8C0E8; border-right: 5px solid #{{purple 3}};" | {{{pre|}}}
| |
| |}
| |
| |-
| |
| {{{no_cost|
| |
| {{!}} colspan=8 align=center bgcolor=mediumorchid{{!}} '''Cost:'''
| |
| {{!-}} align=center valign=middle
| |
| {{!}} {{{wood|}}} {{{mercury|}}} {{{ore|}}} {{{sulfur|}}} {{{crystal|}}} {{{gem|}}} {{{gold|}}} }}}
| |
| |- | |
| | colspan=8 align=center bgcolor=mediumorchid style="width: 150px;" | '''Effect:'''
| |
| |-
| |
| | colspan=8 style="width: 150px;" | | |
| {| cellpadding=0 cellspacing=0 valign=middle style="background-color:#{{purple 3}};"
| |
| | style="border-left: 5px solid #{{purple 3}}; border-right: 5px solid #E5CCFF; font-size:90%;" | {{{effect|}}}
| |
| |}
| |
| |}<noinclude> | | |}<noinclude> |
|
| |
|
| == How to use ==
| | [[Category: Templates|{{PAGENAME}}]]</noinclude> |
| 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".
| |
| | |
| {| style="background: transparent;"
| |
| | <pre>{{Building
| |
| | pre =
| |
| | wood =
| |
| | mercury =
| |
| | ore =
| |
| | sulfur =
| |
| | crystal =
| |
| | gem =
| |
| | gold =
| |
| | effect =
| |
| }}</pre>
| |
| |}
| |
| | |
| 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
| |
| | |
| {| style="background: transparent;"
| |
| | <pre>
| |
| | no_sulfur =</pre>
| |
| |}
| |
| | |
| [[Category: Building templates|{{PAGENAME}}]]</noinclude> | |