Forskel mellem versioner af "Template:Detail-Building"
Fra Ogame Wiki - Preview (mw1.22)
[checked revision] | [checked revision] |
(Created page with "{{Detail-Building-code|tld={{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{SUBPAGENAME}}}}|name={{{1}}}|description={{{2}}}}}") |
PitA (diskussion | bidrag) |
||
(10 mellemliggende versioner af 2 brugere ikke vist) | |||
Linje 1: | Linje 1: | ||
− | {{Detail- | + | <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}}}}| }} | ||
+ | | class="detail-value" | {{#Data:{{{1}}}->lvl1}} | ||
+ | |- | ||
+ | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req2}}|{{#trans:Detail-{{#Data:{{{1}}}->req2}}}}| }} | ||
+ | | class="detail-value" | {{#Data:{{{1}}}->lvl2}} | ||
+ | |- | ||
+ | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req3}}|{{#trans:Detail-{{#Data:{{{1}}}->req3}}}}| }} | ||
+ | | class="detail-value" | {{#Data:{{{1}}}->lvl3}} | ||
+ | |- | ||
+ | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req4}}|{{#trans:Detail-{{#Data:{{{1}}}->req4}}}}| }} | ||
+ | | class="detail-value" | {{#Data:{{{1}}}->lvl4}} | ||
+ | |- | ||
+ | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req5}}|{{#trans:Detail-{{#Data:{{{1}}}->req5}}}}| }} | ||
+ | | class="detail-value" | {{#Data:{{{1}}}->lvl5}} | ||
+ | |- | ||
+ | | class="detail-label" | {{#if:{{#Data:{{{1}}}->req6}}|{{#trans:Detail-{{#Data:{{{1}}}->req6}}}}| }} | ||
+ | | 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> |
Nuværende version fra 16. sep 2012, 20:11
{{{2}}}
[[File:Building_{{{1}}}.jpg|frameless|180px|link=Template:Detail-Building|]]
Requirements: | |
Usage:
{{Detail-Building-code|English name|Description}}