Difference between revisions of "Template:Detail-Building"
From Ogame Wiki - Preview (mw1.22)
[checked revision] | [checked revision] |
Line 3: | Line 3: | ||
<div class="detail-content"> | <div class="detail-content"> | ||
<div class="detail-text">{{{2}}}</div> | <div class="detail-text">{{{2}}}</div> | ||
− | <div class="detail- | + | <div class="detail-info">[[File:Building_{{{1}}}.jpg|frameless|left|180px|link={{LinkPicture|{{{1}}}}}|{{#trans:Wiki:{{{1}}}}}]] |
<div class="detail-requirements> | <div class="detail-requirements> | ||
− | {| class=" | + | {| class="detail-values detail-values-building" |
− | | class=" | + | | class="detail-title" colspan="2" | {{#trans:Detail-Requirements}}: |
|- | |- | ||
− | | class=" | + | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req1}}|{{#trans:Detail-{{#Data:{{{1}}}->req1}}}}| }} |
− | | class=" | + | | class="detail-value" | {{#Data:{{{1}}}->lvl1}} |
|- | |- | ||
− | | class=" | + | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req2}}|{{#trans:Detail-{{#Data:{{{1}}}->req2}}}}| }} |
− | | class=" | + | | class="detail-value" | {{#Data:{{{1}}}->lvl2}} |
|- | |- | ||
− | | class=" | + | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req3}}|{{#trans:Detail-{{#Data:{{{1}}}->req3}}}}| }} |
− | | class=" | + | | class="detail-value" | {{#Data:{{{1}}}->lvl3}} |
|- | |- | ||
− | | class=" | + | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req4}}|{{#trans:Detail-{{#Data:{{{1}}}->req4}}}}| }} |
− | | class=" | + | | class="detail-value" | {{#Data:{{{1}}}->lvl4}} |
|- | |- | ||
− | | class=" | + | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req5}}|{{#trans:Detail-{{#Data:{{{1}}}->req5}}}}| }} |
− | | class=" | + | | class="detail-value" | {{#Data:{{{1}}}->lvl5}} |
|- | |- | ||
− | | class=" | + | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req6}}|{{#trans:Detail-{{#Data:{{{1}}}->req6}}}}| }} |
− | | class=" | + | | class="detail-value" | {{#Data:{{{1}}}->lvl6}} |
|} | |} | ||
+ | </div> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 17:43, 16 September 2012
{{{2}}}
[[File:Building_{{{1}}}.jpg|frameless|left|180px|link=Template:Detail-Building|]]
Requirements: | |
Usage:
{{Detail-Building-code|English name|Description}}