Difference between revisions of "Template:Detail-Building"
From Ogame Wiki - Preview (mw1.22)
[checked revision] | [checked revision] |
(4 intermediate revisions by one user not shown) | |||
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-picture">[[File:Building_{{{1}}}.jpg|frameless | + | <div class="detail-info"> |
− | <div class="detail- | + | <div class="detail-picture">[[File:Building_{{{1}}}.jpg|frameless|180px|link={{LinkPicture|{{{1}}}}}|{{#trans:Wiki:{{{1}}}}}]]</div> |
− | {| class=" | + | <div class="detail-data"> |
− | | class=" | + | {| class="detail-values detail-values-building" |
+ | | 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> |
Latest revision as of 20:11, 16 September 2012
{{{2}}}
[[File:Building_{{{1}}}.jpg|frameless|180px|link=Template:Detail-Building|]]
Requirements: | |
Usage:
{{Detail-Building-code|English name|Description}}