Difference between revisions of "Template:Detail-Building"

From Ogame Wiki - Preview (mw1.22)
Jump to: navigation, search
[checked revision][checked revision]
(Created page with "{{Detail-Building-code|tld={{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{SUBPAGENAME}}}}|name={{{1}}}|description={{{2}}}}}")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Detail-Building-code|tld={{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{SUBPAGENAME}}}}|name={{{1}}}|description={{{2}}}}}
+
<div class="detail detail-building">
 +
<div class="detail-title">{{#trans:Detail-{{{1}}}}}</div>
 +
<div class="detail-content">
 +
<div class="detail-text">{{{2}}}</div>
 +
<div class="detail-info">
 +
<div class="detail-picture">[[File:Building_{{{1}}}.jpg|frameless|180px|link={{LinkPicture|{{{1}}}}}|{{#trans:Wiki:{{{1}}}}}]]</div>
 +
<div class="detail-data">
 +
{| class="detail-values detail-values-building"
 +
| class="detail-title" colspan="2" | {{#trans:Detail-Requirements}}:
 +
|-
 +
| class="detail-label" | {{#if:{{#Data:{{{1}}}->req1}}|{{#trans:Detail-{{#Data:{{{1}}}->req1}}}}|&nbsp;}}
 +
| class="detail-value" | {{#Data:{{{1}}}->lvl1}}
 +
|-
 +
| class="detail-label" | {{#if:{{#Data:{{{1}}}->req2}}|{{#trans:Detail-{{#Data:{{{1}}}->req2}}}}|&nbsp;}}
 +
| class="detail-value" | {{#Data:{{{1}}}->lvl2}}
 +
|-
 +
| class="detail-label" | {{#if:{{#Data:{{{1}}}->req3}}|{{#trans:Detail-{{#Data:{{{1}}}->req3}}}}|&nbsp;}}
 +
| class="detail-value" | {{#Data:{{{1}}}->lvl3}}
 +
|-
 +
| class="detail-label" | {{#if:{{#Data:{{{1}}}->req4}}|{{#trans:Detail-{{#Data:{{{1}}}->req4}}}}|&nbsp;}}
 +
| class="detail-value" | {{#Data:{{{1}}}->lvl4}}
 +
|-
 +
| class="detail-label" | {{#if:{{#Data:{{{1}}}->req5}}|{{#trans:Detail-{{#Data:{{{1}}}->req5}}}}|&nbsp;}}
 +
| class="detail-value" | {{#Data:{{{1}}}->lvl5}}
 +
|-
 +
| class="detail-label" | {{#if:{{#Data:{{{1}}}->req6}}|{{#trans:Detail-{{#Data:{{{1}}}->req6}}}}|&nbsp;}}
 +
| class="detail-value" | {{#Data:{{{1}}}->lvl6}}
 +
|}
 +
</div>
 +
</div>
 +
</div>
 +
<div class="detail-footer"></div>
 +
</div><br /><noinclude>
 +
 
 +
Usage:
 +
<pre><nowiki>{{Detail-Building-code|English name|Description}}</nowiki></pre>
 +
</noinclude>

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}}
Personal tools
Namespaces

Variants
Actions