Template:Infobox Building: differenze tra le versioni

Da Xhodon.
(Nuova pagina: <div style="clear:right; float:right; margin-top:0.3em; margin-bottom:1em; margin-left:1em;"> {| rules="all" cellpadding="4" style="width:300px; border:1px solid #{{ColorBorder|808080}...)
 
Riga 8: Riga 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 prerequisites}}
+
| colspan="2" align="center" | {{#if:{{{Prerequisite1|}}} | {{#if:{{{Prerequisite2|}}} | '''Requisiti''' | '''Requisiti'''}} | Nessun requisito}}
 
|-
 
|-
 
{{#if:{{{Prerequisite1|}}} |  
 
{{#if:{{{Prerequisite1|}}} |  
Riga 34: Riga 34:
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level6|1}}} }} }} }} }} }} | }}
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level6|1}}} }} }} }} }} }} | }}
 
|}</div><noinclude>
 
|}</div><noinclude>
This infobox is used in articles for [[buildings]] (siehe [[:Category:Buildings]]).
+
Questa infobox è usata per tutte le [[costruzioni]] (vedi [[Categoria:Costruzioni]]).
  
 
== Syntax ==
 
== Syntax ==

Versione delle 14:10, 17 apr 2010

Infobox Building
{{{Image}}}
{{{Function}}}: {{{Description}}}
Nessun requisito

Questa infobox è usata per tutte le costruzioni (vedi).

Syntax

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

Example

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