Difference between revisions of "Template:Unitinfo"
From D-day: wiki
Line 2: | Line 2: | ||
<table width="320px" class="infobox"> | <table width="320px" class="infobox"> | ||
− | <tr><td colspan="2" class="box1"> | + | <tr><td colspan="2" class="box1"><div> |
− | {{{name|{{PAGENAME}}}}} | + | {{{name|{{PAGENAME}}}}}</div> |
</td></tr> | </td></tr> | ||
Line 12: | Line 12: | ||
<tr><td colspan="2" class="box2"> | <tr><td colspan="2" class="box2"> | ||
− | + | <div>General</div> | |
</td></tr> | </td></tr> | ||
{{#if:{{{type|}}} | | {{#if:{{{type|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Type | + | ! style="padding-right: 1em;" {{!}} Type: |
{{!}} {{{type|}}} | {{!}} {{{type|}}} | ||
}} | }} | ||
|- | |- | ||
− | {{#if:{{{ | + | |
− | ! style="padding-right: 1em;" {{!}} | + | {{#if:{{{owner|}}} | |
− | {{!}} {{{ | + | ! style="padding-right: 1em;" {{!}} Owner: |
+ | {{!}} {{{owner|}}} | ||
}} | }} | ||
|- | |- | ||
+ | |||
+ | {{#if:{{{year|}}} | | ||
+ | ! style="padding-right: 1em;" {{!}} Year: | ||
+ | {{!}} {{{year|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | <tr><td colspan="2" class="box2"> | ||
+ | <div>Specifications</div> | ||
+ | </td></tr> | ||
+ | |||
{{#if:{{{length|}}} | | {{#if:{{{length|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Length | + | ! style="padding-right: 1em;" {{!}} Length: |
{{!}} {{{length|}}} | {{!}} {{{length|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{width|}}} | | {{#if:{{{width|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Width | + | ! style="padding-right: 1em;" {{!}} Width: |
{{!}} {{{width|}}} | {{!}} {{{width|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{height|}}} | | {{#if:{{{height|}}} | | ||
− | ! style="padding-right: 1em;" {{!}} Height | + | ! style="padding-right: 1em;" {{!}} Height: |
{{!}} {{{height|}}} | {{!}} {{{height|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{weight|}}} | | ||
+ | ! style="padding-right: 1em;" {{!}} Weight: | ||
+ | {{!}} {{{weight|}}} | ||
+ | }} | ||
+ | |- | ||
+ | |||
+ | <tr><td colspan="2" class="box2"> | ||
+ | <div>Armament</div> | ||
+ | </td></tr> | ||
+ | |||
+ | {{#if:{{{wep1|}}} | | ||
+ | ! style="padding-right: 1em;" {{!}} Primary Weapon: | ||
+ | {{!}} {{{wep1|}}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{wep1|}}} | | ||
+ | ! style="padding-right: 1em;" {{!}} Secondary Weapon: | ||
+ | {{!}} {{{wep1|}}} | ||
}} | }} | ||
|- | |- | ||
<tr><td colspan="2" class="box3"> | <tr><td colspan="2" class="box3"> | ||
− | . . . . | + | <div>. . . .</div> |
</td></tr> | </td></tr> | ||
<table> | <table> | ||
|} | |} |
Revision as of 13:59, 7 September 2012
Unitinfo
| |
General
| |
Specifications
| |
Armament
| |
. . . .
|