Difference between revisions of "Template:Detail-Building"
From Ogame Wiki - Preview (mw1.22)
[checked revision] | [checked revision] |
Francolino (Talk | contribs) (Created page with "{{Detail-Building-code|tld={{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{SUBPAGENAME}}}}|name={{{1}}}|description={{{2}}}}}") |
Francolino (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {| class="Detail Detail-Building" | ||
+ | | class="Detail-Picture" |[[File:Building_{{{1}}}.jpg|frameless|left|180px|link={{LinkPicture|{{{1}}}}}|{{#trans:Wiki-{{{1}}}}}]] | ||
+ | | class="Detail-Text" | <span class="Detail-Title">{{#trans:Wiki-{{{1}}}}}</span><br /> | ||
+ | {{{2}}} | ||
+ | | | ||
+ | {| 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}} | ||
+ | |} | ||
+ | |}<br /><noinclude> | ||
+ | |||
+ | Usage: | ||
+ | <pre><nowiki>{{Detail-Building-code|English name|Description}}</nowiki></pre> | ||
+ | </noinclude> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
{{Detail-Building-code|tld={{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{SUBPAGENAME}}}}|name={{{1}}}|description={{{2}}}}} | {{Detail-Building-code|tld={{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{SUBPAGENAME}}}}|name={{{1}}}|description={{{2}}}}} |
Revision as of 09:08, 15 December 2010
[[File:Building_{{{1}}}.jpg|frameless|left|180px|link=Template:Detail-Building|]] | {{{2}}} |
|
Usage:
{{Detail-Building-code|English name|Description}}