Difference between revisions of "Template:Turret box"
From FreeSpace Wiki
(new template) |
(test for improved formatting) |
||
Line 1: | Line 1: | ||
− | {| {{#if: {{{table_style|}}}|{{{table_style}}}| | + | {| {{#if: {{{table_style|}}}|{{{table_style}}}|cellpadding=4 style="background: #333; border: 1px #AA2020 solid; border-collapse: collapse"}} |
|-align="center" | |-align="center" | ||
− | | colspan=2 {{#if: {{{header_style|}}}|{{{header_style}}}|style="background:#351515;"}}|'''{{{setting}}}''' | + | | colspan=2 {{#if: {{{header_style|}}}|{{{header_style}}}|style="background:#351515;border-bottom: 1px #AA2020 solid;"}}|'''{{{setting}}}''' |
|-align="center" | |-align="center" | ||
− | |style="width:120px"|Turret type | + | |style="width:120px;border-right: 1px #AA2020 solid;"|Turret type |
|style="width:60px"|Amount | |style="width:60px"|Amount | ||
|-align="center" | |-align="center" | ||
− | | {{{1_weapon}}} | + | | style="border-right: 1px #AA2020 solid;"| {{{1_weapon}}} |
| {{{1_number}}} | | {{{1_number}}} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{2_weapon|}}}| | {{#if: {{{2_weapon|}}}| | ||
− | {{!}} {{{2_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}} {{{2_weapon}}} |
{{!}} {{{2_number}}} | {{!}} {{{2_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{3_weapon|}}}| | {{#if: {{{3_weapon|}}}| | ||
− | {{!}} {{{3_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{3_weapon}}} |
{{!}} {{{3_number}}} | {{!}} {{{3_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{4_weapon|}}}| | {{#if: {{{4_weapon|}}}| | ||
− | {{!}} {{{4_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{4_weapon}}} |
{{!}} {{{4_number}}} | {{!}} {{{4_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{5_weapon|}}}| | {{#if: {{{5_weapon|}}}| | ||
− | {{!}} {{{5_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{5_weapon}}} |
{{!}} {{{5_number}}} | {{!}} {{{5_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{6_weapon|}}}| | {{#if: {{{6_weapon|}}}| | ||
− | {{!}} {{{6_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{6_weapon}}} |
{{!}} {{{6_number}}} | {{!}} {{{6_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{7_weapon|}}}| | {{#if: {{{7_weapon|}}}| | ||
− | {{!}} {{{7_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{7_weapon}}} |
{{!}} {{{7_number}}} | {{!}} {{{7_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{8_weapon|}}}| | {{#if: {{{8_weapon|}}}| | ||
− | {{!}} {{{8_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{8_weapon}}} |
{{!}} {{{8_number}}} | {{!}} {{{8_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{9_weapon|}}}| | {{#if: {{{9_weapon|}}}| | ||
− | {{!}} {{{9_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{9_weapon}}} |
{{!}} {{{9_number}}} | {{!}} {{{9_number}}} | ||
}} | }} | ||
|-align="center" | |-align="center" | ||
{{#if: {{{10_weapon|}}}| | {{#if: {{{10_weapon|}}}| | ||
− | {{!}} {{{10_weapon}}} | + | {{!}} style="border-right: 1px #AA2020 solid;" {{!}}{{{10_weapon}}} |
{{!}} {{{10_number}}} | {{!}} {{{10_number}}} | ||
}} | }} |
Revision as of 14:51, 8 September 2011
{{{setting}}} | |
Turret type | Amount |
{{{1_weapon}}} | {{{1_number}}} |
Usage
{{Turret_box |table_style = |header_style = |setting = |1_weapon = |1_number = |2_weapon = |2_number = |3_weapon = |3_number = |4_weapon = |4_number = |5_weapon = |5_number = |6_weapon = |6_number = |7_weapon = |7_number = |8_weapon = |8_number = |9_weapon = |9_number = |10_weapon = |10_number = }}
Entries in actual page do not have to follow the same order.