Difference between revisions of "Template:Infobox Building"

From Xhodon
Jump to: navigation, search
m (typo)
m (o.O)
 
(2 intermediate revisions by one other user not shown)
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|}}} |  
Line 34: Line 34:
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level6|1}}} }} }} }} }} }} | }}
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level6|1}}} }} }} }} }} }} | }}
 
|}</div><noinclude>
 
|}</div><noinclude>
{{translate}}
+
This infobox is used in articles for [[buildings]] (siehe [[:Category:Buildings]]).
Diese Infobox wird in Artikeln über [[buildings]] verwendet (siehe [[:Category:Building]]).
+
  
 
== Syntax ==
 
== Syntax ==

Latest revision as of 23:44, 20 May 2009

Infobox Building
{{{Image}}}
{{{Function}}}: {{{Description}}}
No prerequisites

This infobox is used in articles for buildings (siehe Category:Buildings).

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
}}