Szablon:Infobox Building: Różnice pomiędzy wersjami

Z Xhodon
Skocz do: nawigacji, wyszukiwania
Linia 3: Linia 3:
 
| colspan="2" style="text-align:center; padding:0;" |
 
| colspan="2" style="text-align:center; padding:0;" |
 
<div style="background-color:#{{ColorTitleBox|FFCC99}}; font-variant:small-caps; margin:0.3em; text-align:center; ">{{{Name|{{PAGENAME}} }}}</div>
 
<div style="background-color:#{{ColorTitleBox|FFCC99}}; font-variant:small-caps; margin:0.3em; text-align:center; ">{{{Name|{{PAGENAME}} }}}</div>
<div style="text-align:center; padding-bottom:0.3em;">{{{Obraz}}}</div>
+
<div style="text-align:center; padding-bottom:0.3em;">{{{Image}}}</div>
 
|-
 
|-
| style="width:38%; padding-left:5px;" | {{{Function}}}
+
| style="width:38%; padding-left:5px;" | {{{Function}}}:
 
| style="width:62%; padding-left:5px;" | {{{Description}}}
 
| style="width:62%; padding-left:5px;" | {{{Description}}}
 
|-
 
|-
| colspan="2" align="center" | No prerequisites
+
| colspan="2" align="center" | {{#if:{{{Prerequisite1|}}} | {{#if:{{{Prerequisite2|}}} | '''Prerequisites''' | '''Prerequisite'''}} | No prerequisites}}
 
|-
 
|-
{{#if:{{{Prerequisite1|}}} |
 
 
{{!}} style="padding-left:5px;" {{!}} {{{Prerequisite1}}}:
 
{{!}} style="padding-left:5px;" {{!}} {{{Prerequisite1}}}:
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level1|1}}}
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level1|1}}}
Linia 18: Linia 17:
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level2|1}}}
 
{{!}} style="padding-left:5px;" {{!}} Level {{{Level2|1}}}
 
{{#if:{{{Prerequisite3|}}} |
 
{{#if:{{{Prerequisite3|}}} |
 +
{{!-}}
 +
{{!}} style="padding-left:5px;" {{!}} {{{Prerequisite3}}}:
 +
{{!}} style="padding-left:5px;" {{!}} Level {{{Level3|1}}}
 +
{{#if:{{{Prerequisite4|}}} |
 +
{{!-}}
 +
{{!}} style="padding-left:5px;" {{!}} {{{Prerequisite4}}}:
 +
{{!}} style="padding-left:5px;" {{!}} Level {{{Level4|1}}}
 +
{{#if:{{{Prerequisite5|}}} |
 +
{{!-}}
 +
{{!}} style="padding-left:5px;" {{!}} {{{Prerequisite5}}}:
 +
{{!}} style="padding-left:5px;" {{!}} Level {{{Level5|1}}}
 +
{{ #if: {{{Prerequisite6|}}} |
 +
{{!-}}
 +
{{!}} style="padding-left:5px;" {{!}} {{{Prerequisite6}}}:
 +
{{!}} style="padding-left:5px;" {{!}} Level {{{Level6|1}}} }} }} }} }} }} | }}
 
|}</div><noinclude>
 
|}</div><noinclude>
 
This infobox is used in articles for [[buildings]] (siehe [[:Category:Buildings]]).
 
This infobox is used in articles for [[buildings]] (siehe [[:Category:Buildings]]).

Wersja z 18:03, 9 lip 2009

Infobox Building
{{{Image}}}
{{{Function}}}: {{{Description}}}
No prerequisites
{{{Prerequisite1}}}: Level 1 }}

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

Syntax

{{Informacje o budynku
|Name=
|Image=
|Function=
|Description=
|Prerequisite1=
|Level1=
|Prerequisite2=
|Level2=
|...
|Prerequisite6=
|Level6=
}}