Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
m (Large sig radius did not fit.) |
m (Make template fighter aware.) |
||
Line 310: | Line 310: | ||
<div style='border: 1px solid #323931; background-color: #191E18;'> | <div style='border: 1px solid #323931; background-color: #191E18;'> | ||
<div class='att-line'> | <div class='att-line'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; text-align: right;'> |
<div class='att-label'>fittings</div> | <div class='att-label'>fittings</div> | ||
</div> | </div> | ||
Line 329: | Line 329: | ||
</div> | </div> | ||
</div> | </div> | ||
− | <!-- | + | <!-- Drones & cargo --> |
<div class='att-line'> | <div class='att-line'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; text-align: right;'> |
− | <div class='att-label'>drones & cargo</div> | + | <div class='att-label'>{{#if: {{{fighterbay|}}} | fighters |drones }} & cargo</div> |
</div> | </div> | ||
− | + | {{#if: {{{fighterbay|}}} | |
− | <div class='att-value' style='width: | + | | <div class='att-item'> |
+ | <div class='att-value' style='width: 60px;'>{{{fighterbay}}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|fighter capacity]]</div><div class='att-label'>fighters</div> | ||
</div> | </div> | ||
<div class='att-item'> | <div class='att-item'> | ||
− | <div class='att-value' style='width: | + | <div class='att-value' style='width: 20px;'>{{{fightertubes|}}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|fighter squad tubes]]</div><div class='att-label'>squad tubes</div> |
</div> | </div> | ||
+ | | {{#if: {{{dronebay|}}} | ||
+ | | <div class='att-item'> | ||
+ | <div class='att-value' style='width: 40px;'>{{{dronebay|}}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|drone capacity]]</div><div class='att-label'>drones</div> | ||
+ | </div> | ||
+ | <div class='att-item'> | ||
+ | <div class='att-value' style='width: 80px;'>{{{bandwidth|}}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|drone bandwidth]]</div><div class='att-label'>b/w</div> | ||
+ | </div> | ||
+ | | <div class='att-item'> | ||
+ | <div class='att-label' style="width: 160px; text-align: center; color: #9A7535;">No drone bay</div> | ||
+ | </div> | ||
+ | }} | ||
+ | }} | ||
+ | |||
<div class='att-item' style='border-right: none;'> | <div class='att-item' style='border-right: none;'> | ||
<div class='att-value' style='width: 70px;'>{{#if: {{{cargohold|}}}|{{{cargohold}}}|0 {{m3}} }}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|cargo capacity]]</div><div class='att-label'>cargo</div> | <div class='att-value' style='width: 70px;'>{{#if: {{{cargohold|}}}|{{{cargohold}}}|0 {{m3}} }}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|cargo capacity]]</div><div class='att-label'>cargo</div> | ||
Line 346: | Line 360: | ||
<!-- Defense --> | <!-- Defense --> | ||
<div class='att-line res-boxes' style='position: relative;'> | <div class='att-line res-boxes' style='position: relative;'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; height: 40px; position: absolute; left: 0; background-color: #110809; text-align: right;'> |
<div class='att-label' style='line-height: 40px;'>defense</div> | <div class='att-label' style='line-height: 40px;'>defense</div> | ||
</div> | </div> | ||
Line 397: | Line 411: | ||
<!-- Target & nav --> | <!-- Target & nav --> | ||
<div class='att-line'> | <div class='att-line'> | ||
− | <div class='att-item' style='width: | + | <div class='att-item' style='width: 81px; text-align: right;'> |
<div class='att-label'>target & nav</div> | <div class='att-label'>target & nav</div> | ||
</div> | </div> |
Revision as of 15:41, 6 February 2023
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- Creates a info box with a subset of the ships stats.
- Dependencies
-
- Uses
- no-image.png Default ship image when shipimg is not given.
- Helpicon.png Default faction logo when faction is empty or unknown.
{{Imageserver}}
When no local image of ship is available and shipid is known.- Part of the parameter set of
{{ShipArticle}}
- Build-in UniWiki links to
- Ships
- Build-in external links to
- zKillboard
- EVE Workbench
- Janice
- EVE Ref
- Syntax
- ShipBoxLarge is not to be used on its own. It is to be called by using the wrapper template
{{Ship}}
- Template set
- {{ShipArticle}}
- {{Ship}}
- {{ShipBoxLarge}}
- {{ShipBoxTooltip}}