More actions
m Replace {{{parameter|default}}} with {{#if:}}, inconsistent behavior. |
Remove option to collapse ship data block. |
||
| Line 303: | Line 303: | ||
}}<!-- Content --> | }}<!-- Content --> | ||
<div style='float: left; clear: both; width: 100%'> | <div style='float: left; clear: both; width: 100%'> | ||
<div class='ship-info'> | <div class='ship-info'> | ||
<div class='title'><span style='font-size: 16px'>≡</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION<div style='display: {{#if: {{{roles|}}} |block |none}}; float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{#ifeq: {{{roles}}} |unspecified | | {{{roles}}} }}</div></div> | <!-- Title --> | ||
<div class='title'><span style='font-size: 16px;'>≡</span> {{#if: {{{class|}}} |{{{class}}} |SHIP}}: INFORMATION | |||
<div style='display: {{#if: {{{roles|}}} |block |none}}; float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{#ifeq: {{{roles}}} |unspecified | | {{{roles}}} }} | |||
</div> | |||
</div> | |||
<!-- Content --> | |||
<table style='width:100%;'> | <table style='width:100%;'> | ||
<tr> | <tr> | ||
<!-- Content left: image and link --> | |||
<td style='padding: 5px; width: 256px;' valign='top'> | <td style='padding: 5px; width: 256px;' valign='top'> | ||
<div style='border: 1px solid #323931; position: relative;' class='ship-img'>{{#if: {{{tech|}}} | <div style='border: 1px solid #323931; position: relative;' class='ship-img'>{{#if: {{{tech|}}} | ||
| Line 347: | Line 355: | ||
| Unknown Faction | | Unknown Faction | ||
}}]]</div> | }}]]</div> | ||
<div style='display: {{#ifexist: File:{{{shipimg}}} |none |block}}; text-align: center;' class='forum-link'> | <div style='display: {{#ifexist: File:{{{shipimg}}} |none |block}}; text-align: center;' class='forum-link'> | ||
<div class='linkentry'> | <div class='linkentry'> | ||
| Line 355: | Line 364: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class='forum-link'> | <div class='forum-link'> | ||
<div class='linkentry'> | <div class='linkentry'> | ||
| Line 363: | Line 373: | ||
</div> | </div> | ||
</td> | </td> | ||
<!-- Content right: data --> | |||
<td style='padding: 5px 5px 5px 0; border-left: 1px solid #333333' valign='top'> | <td style='padding: 5px 5px 5px 0; border-left: 1px solid #333333' valign='top'> | ||
<div class='titlename' style=' | |||
<table class=' | <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div> | ||
<table class='attributes' style='width: 100%; margin-bottom: 5px;'> | |||
<tr> | <tr> | ||
<td> | <td> | ||
| Line 477: | Line 485: | ||
</div> | </div> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<div class='ship-border-box' style='display: {{#if: {{{bonuses|}}}|block|none}}; margin: 10px 5px 5px'> | <div class='ship-border-box' style='display: {{#if: {{{bonuses|}}}|block|none}}; margin: 10px 5px 5px'> | ||
<div class='label'><div class='inner'>S H I P B O N U S E S</div></div> | <div class='label'><div class='inner'>S H I P B O N U S E S</div></div> | ||
| Line 487: | Line 498: | ||
<div class='box-footer'>[[{{{shipname|}}}]] =></div> | <div class='box-footer'>[[{{{shipname|}}}]] =></div> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> | ||
Revision as of 16:52, 24 January 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}}