Difference between revisions of "Template:Infobox Building"

From Xhodon 2
Jump to: navigation, search
m (typo)
m (typo)
Line 8: Line 8:
 
| style="width:62%; padding-left:5px;" | {{{Description}}}
 
| style="width:62%; padding-left:5px;" | {{{Description}}}
 
|-
 
|-
| colspan="2" align="center" | {{#if:{{{Prerequisite1|}}} | {{#if:{{{Prerequisite2|}}} | '''Prerequisites''' | '''Prerequisite'''}} | No prerequisite}}
+
| colspan="2" align="center" | {{#if:{{{Prerequisite1|}}} | {{#if:{{{Prerequisite2|}}} | '''Prerequisites''' | '''Prerequisite'''}} | No prerequisites}}
 
|-
 
|-
 
{{#if:{{{Prerequisite1|}}} |  
 
{{#if:{{{Prerequisite1|}}} |  

Revision as of 14:21, 29 April 2009

Infobox Building
{{{Image}}}
{{{Function}}}: {{{Description}}}
No prerequisites
Icon Translate.png This article/paragraph needs to be translated or translation is in progress.

Diese Infobox wird in Artikeln über buildings verwendet (siehe Category:Building).

Syntax

{{Infobox Building
|Name=
|Image=
|Function=
|Description=
|Prerequisite1=
|Level1=
|Prerequisite2=
|Level2=
|...
|Prerequisite6=
|Level6=
}}

Example

Tree of Life
Building Tree of Life.png
Produces: Mana
Prerequisite
Cave of Crystals: Level 1
{{Infobox Building
|Name=Tree of Life
|Image=[[Image:Building Tree of Life.png]]
|Function=Produces
|Description=[[Mana]]
|Prerequisite1=Cave of Crystals
|Level1=1
}}