Template:ShipInfobox: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>{| class="eInfobox eWikiColor" style="width: 300px;"
<onlyinclude>{| class="eInfobox eWikiColor" style="width: 300px;"
|-
|-
! colspan="2" style="font-size: 14px; text-align: center;" | {{PAGENAME}}
! colspan=2 style="text-align: center; font-size: 1.2em;" | {{PAGENAME}}
|-
|-
! colspan="2" style="padding: 1px; text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image|Placeholder.png}}}|292px|link=]]|[[File:Placeholder.png|292px|link=]]}}
! colspan=2 style="text-align: center; padding: 1px;" | {{#if:{{{image|}}}|[[File:{{{image|Placeholder.png}}}|292px|link=]]|[[File:Placeholder.png|292px|link=]]}}
|- {{#if:{{{factionreq|}}}||style="display: none;"}}
|- {{#if:{{{factionreq|}}}||style="display: none;"}}
! colspan="2" style="text-align: center; color: #FFFF66;" | Requires {{{factionreq|}}} rank of {{{factionrank|}}} or higher
! colspan=2 style="text-align: center; color: #FFFF66;" | Requires {{{factionreq|}}} rank of {{{factionrank|}}} or higher
|-
|-
! style="width: 45%;" | Manufacturer
! style="width: 120px;" | Manufacturer
| style="width: 55%;" | {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|---}}
| {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|---}}
|-
|-
! Cost
! style="width: 120px;" | Cost
| {{#if:{{{cost|}}}|{{{cost|?}}} CR|---}}
| {{#if:{{{cost|}}}|{{{cost|?}}} CR|---}}
|- {{#if:{{{cost|}}}||style="display: none;"}}
|- {{#if:{{{cost|}}}||style="display: none;"}}
! Insurance
! style="width: 120px;" | Insurance
| {{formatnum:{{#expr:trunc({{formatnum:{{{cost|}}}|R}}*0.05)}}}} CR
| {{formatnum:{{#expr:trunc({{formatnum:{{{cost|}}}|R}}*0.05)}}}} CR
|-
|-
! Top Speed
! style="width: 120px;" | Top Speed
| {{#if:{{{topspeed|}}}|{{{topspeed|?}}} m/s|---}}
| {{#if:{{{topspeed|}}}|{{{topspeed|?}}} m/s|---}}
|-
|-
! Boost Speed
! style="width: 120px;" | Boost Speed
| {{#if:{{{boostspeed|}}}|{{{boostspeed|?}}} m/s|---}}
| {{#if:{{{boostspeed|}}}|{{{boostspeed|?}}} m/s|---}}
|-
|-
! Maneuverability
! style="width: 120px;" | Maneuverability
| {{#if:{{{maneuverability|}}}|{{{maneuverability|}}}|---}}
| {{#if:{{{maneuverability|}}}|{{{maneuverability|}}}|---}}
|-
|-
! Shields
! style="width: 120px;" | Shields
| {{#if:{{{shields|}}}|{{{shields|?}}}|---}}
| {{#if:{{{shields|}}}|{{{shields|?}}}|---}}
|-
|-
! Armour
! style="width: 120px;" | Armour
| {{#if:{{{armour|}}}|{{{armour|?}}}|---}}
| {{#if:{{{armour|}}}|{{{armour|?}}}|---}}
|-
|-
! Hull Mass
! style="width: 120px;" | Hull Mass
| {{#if:{{{hullmass|}}}|{{{hullmass|?}}} T|---}}
| {{#if:{{{hullmass|}}}|{{{hullmass|?}}} T|---}}
|- {{#if:{{{cargocapacity|}}}||style="display: none;"}}
|- {{#if:{{{cargocapacity|}}}||style="display: none;"}}
! Cargo Capacity
! style="width: 120px;" | Cargo Capacity
| {{#if:{{{cargocapacity|}}}|{{{cargocapacity|?}}} T|---}}
| {{#if:{{{cargocapacity|}}}|{{{cargocapacity|?}}} T|---}}
|- {{#if:{{{fuelcapacity|}}}||style="display: none;"}}
|- {{#if:{{{fuelcapacity|}}}||style="display: none;"}}
! Fuel Capacity
! style="width: 120px;" | Fuel Capacity
| {{#if:{{{fuelcapacity|}}}|{{{fuelcapacity|?}}} T|---}}
| {{#if:{{{fuelcapacity|}}}|{{{fuelcapacity|?}}} T|---}}
|- {{#if:{{{jumprange|}}}||style="display: none;"}}
|- {{#if:{{{jumprange|}}}||style="display: none;"}}
! Jump Range (unladen)
! style="width: 120px;" | Jump Range (unladen)
| {{{jumprange|}}} LY
| {{{jumprange|}}} LY
|-
|-
! Landing Pad Size
! style="width: 120px;" | Landing Pad Size
| {{#if:{{{landingpad|}}}|{{{landingpad|?}}}|---}}
| {{#if:{{{landingpad|}}}|{{{landingpad|?}}}|---}}
|-
|-
! Hardpoints
! style="width: 120px;" | Hardpoints
| {{#if:{{{utility|}}}|{{{utility}}}x Utility Mount{{#ifexpr:{{{utility|}}}>1|s}}}}{{#if:{{{small|}}}|{{#if:{{{utility|}}}|<br>}}{{{small|}}}x Small Hardpoint{{#ifexpr:{{{small|}}}>1|s}}}}{{#if:{{{medium|}}}|{{#if:{{{utility|}}}or{{{small|}}}|<br>}}{{{medium|}}}x Medium Hardpoint{{#ifexpr:{{{medium|}}}>1|s}}}}{{#if:{{{large|}}}|{{#if:{{{utility|}}}or{{{small|}}}or{{{medium|}}}|<br>}}{{{large|}}}x Large Hardpoint{{#ifexpr:{{{large|}}}>1|s}}}}{{#if:{{{huge|}}}|{{#if:{{{utility|}}}or{{{small|}}}or{{{medium|}}}or{{{large|}}}|<br>}}{{{huge|}}}x Huge Hardpoint{{#ifexpr:{{{huge|}}}>1|s}}}}
| {{#if:{{{utility|}}}|{{{utility}}}x Utility Mount{{#ifexpr:{{{utility|}}}>1|s}}}}{{#if:{{{small|}}}|{{#if:{{{utility|}}}|<br>}}{{{small|}}}x Small Hardpoint{{#ifexpr:{{{small|}}}>1|s}}}}{{#if:{{{medium|}}}|{{#if:{{{utility|}}}or{{{small|}}}|<br>}}{{{medium|}}}x Medium Hardpoint{{#ifexpr:{{{medium|}}}>1|s}}}}{{#if:{{{large|}}}|{{#if:{{{utility|}}}or{{{small|}}}or{{{medium|}}}|<br>}}{{{large|}}}x Large Hardpoint{{#ifexpr:{{{large|}}}>1|s}}}}{{#if:{{{huge|}}}|{{#if:{{{utility|}}}or{{{small|}}}or{{{medium|}}}or{{{large|}}}|<br>}}{{{huge|}}}x Huge Hardpoint{{#ifexpr:{{{huge|}}}>1|s}}}}
|-
|-
! Internals
! style="width: 120px;" | Internals
| {{#if:{{{size1|}}}|{{{size1|}}}x Size 1 Compartment{{#ifexpr:{{{size1|}}}>1|s}}}}{{#if:{{{size2|}}}|{{#if:{{{size1|}}}|<br>}}{{{size2|}}}x Size 2 Compartment{{#ifexpr:{{{size2|}}}>1|s}}}}{{#if:{{{size3|}}}|{{#if:{{{size1|}}}or{{{size2|}}}|<br>}}{{{size3|}}}x Size 3 Compartment{{#ifexpr:{{{size3|}}}>1|s}}}}{{#if:{{{size4|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}|<br>}}{{{size4|}}}x Size 4 Compartment{{#ifexpr:{{{size4|}}}>1|s}}}}{{#if:{{{size5|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}|<br>}}{{{size5|}}}x Size 5 Compartment{{#ifexpr:{{{size5|}}}>1|s}}}}{{#if:{{{size6|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}|<br>}}{{{size6|}}}x Size 6 Compartment{{#ifexpr:{{{size6|}}}>1|s}}}}{{#if:{{{size7|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}|<br>}}{{{size7|}}}x Size 7 Compartment{{#ifexpr:{{{size7|}}}>1|s}}}}{{#if:{{{size8|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}or{{{size7|}}}|<br>}}{{{size8|}}}x Size 8 Compartment{{#ifexpr:{{{size8|}}}>1|s}}}}
| {{#if:{{{size1|}}}|{{{size1|}}}x Size 1 Compartment{{#ifexpr:{{{size1|}}}>1|s}}}}{{#if:{{{size2|}}}|{{#if:{{{size1|}}}|<br>}}{{{size2|}}}x Size 2 Compartment{{#ifexpr:{{{size2|}}}>1|s}}}}{{#if:{{{size3|}}}|{{#if:{{{size1|}}}or{{{size2|}}}|<br>}}{{{size3|}}}x Size 3 Compartment{{#ifexpr:{{{size3|}}}>1|s}}}}{{#if:{{{size4|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}|<br>}}{{{size4|}}}x Size 4 Compartment{{#ifexpr:{{{size4|}}}>1|s}}}}{{#if:{{{size5|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}|<br>}}{{{size5|}}}x Size 5 Compartment{{#ifexpr:{{{size5|}}}>1|s}}}}{{#if:{{{size6|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}|<br>}}{{{size6|}}}x Size 6 Compartment{{#ifexpr:{{{size6|}}}>1|s}}}}{{#if:{{{size7|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}|<br>}}{{{size7|}}}x Size 7 Compartment{{#ifexpr:{{{size7|}}}>1|s}}}}{{#if:{{{size8|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}or{{{size7|}}}|<br>}}{{{size8|}}}x Size 8 Compartment{{#ifexpr:{{{size8|}}}>1|s}}}}
|- {{#if:{{{modules|}}}||style="display: none;"}}
|- {{#if:{{{modules|}}}||style="display: none;"}}
! Modules
! style="width: 120px;" | Modules
| {{{modules|}}}
| {{{modules|}}}
|-
|-
| colspan="2" style="font-size: 10px;" | *Information represents the default version of the ship.
| colspan=2 style="font-size: 0.9em;" | *Information represents the default version of the ship.
|-
|}<includeonly>
|}<includeonly>
[[Category:Ships]]
[[Category:Ships]]