Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
(Remove option to collapse ship data block.) |
m (Remove forum links and associated CSS. Add wiki and external links and associated CSS. Change image. Remove CSS for collapse option (previously removed).) |
||
Line 14: | Line 14: | ||
} | } | ||
− | .ship-info table { background-color: transparent; } | + | .ship-info table |
+ | { | ||
+ | background-color: transparent; | ||
+ | } | ||
.ship-info table, | .ship-info table, | ||
Line 96: | Line 99: | ||
} | } | ||
− | .bgr-em { background-color: #121923; } | + | .bgr-em { background-color: #121923; } |
.bgr-thr { background-color: #290b0b; } | .bgr-thr { background-color: #290b0b; } | ||
.bgr-kin { background-color: #292021; } | .bgr-kin { background-color: #292021; } | ||
.bgr-exp { background-color: #2b190b; } | .bgr-exp { background-color: #2b190b; } | ||
− | .val-em { background-color: #1c5d85; } | + | .val-em { background-color: #1c5d85; } |
.val-thr { background-color: #8d1717; } | .val-thr { background-color: #8d1717; } | ||
.val-kin { background-color: #757575; } | .val-kin { background-color: #757575; } | ||
Line 142: | Line 145: | ||
margin-right: 2px; | margin-right: 2px; | ||
} | } | ||
− | + | ||
.attributes .res-boxes .att-item .att-img | .attributes .res-boxes .att-item .att-img | ||
{ | { | ||
margin-right: 0; | margin-right: 0; | ||
} | } | ||
− | + | ||
.attributes .att-line .att-item .att-label | .attributes .att-line .att-item .att-label | ||
{ | { | ||
Line 153: | Line 156: | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
− | + | ||
.attributes .att-line .att-item .att-value | .attributes .att-line .att-item .att-value | ||
{ | { | ||
Line 162: | Line 165: | ||
width: 10px; | width: 10px; | ||
} | } | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.ship-info p.ship-desc | .ship-info p.ship-desc | ||
{ | { | ||
Line 206: | Line 174: | ||
text-align: justify; | text-align: justify; | ||
} | } | ||
− | + | ||
.ship-info .box-footer | .ship-info .box-footer | ||
{ | { | ||
Line 215: | Line 183: | ||
text-align: right; | text-align: right; | ||
} | } | ||
− | + | ||
#content .ship-info .box-footer a | #content .ship-info .box-footer a | ||
{ | { | ||
Line 222: | Line 190: | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
− | + | ||
#content .ship-info .box-footer a:hover, | #content .ship-info .box-footer a:hover, | ||
#content .ship-info .box-footer a.hover | #content .ship-info .box-footer a.hover | ||
Line 229: | Line 197: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | + | ||
.ship-info .ship-variants | .ship-info .ship-variants | ||
{ | { | ||
Line 238: | Line 206: | ||
line-height: 20px; | line-height: 20px; | ||
margin: 0 5px 5px; | margin: 0 5px 5px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.techcorner | .techcorner | ||
{ | { | ||
Line 301: | Line 219: | ||
} | } | ||
+ | .ship-info .box-discussion | ||
+ | { | ||
+ | margin-left: -6px; | ||
+ | margin-right: -6px; | ||
+ | margin-top: 5px; | ||
+ | border-color: #393734 black; | ||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
+ | padding: 5px; | ||
+ | background-color: #1A1A1A; | ||
+ | } | ||
+ | |||
+ | .ship-info .box-discussion .discussion-bgr | ||
+ | { | ||
+ | color: #4C4C4C; | ||
+ | font-family: trebuchet MS; | ||
+ | font-size: 90%; | ||
+ | } | ||
+ | |||
+ | .ship-info .box-discussion .linkname | ||
+ | { | ||
+ | font-size: 11px; | ||
+ | line-height: 120%; | ||
+ | padding: 0 5px; | ||
+ | } | ||
+ | |||
}}<!-- Content --> | }}<!-- Content --> | ||
<div style='float: left; clear: both; width: 100%'> | <div style='float: left; clear: both; width: 100%'> | ||
Line 311: | Line 255: | ||
</div> | </div> | ||
<!-- Content --> | <!-- Content --> | ||
− | <table style='width:100%;'> | + | <table style='width: 100%;'> |
<tr> | <tr> | ||
<!-- Content left: image and link --> | <!-- Content left: image and link --> | ||
− | <td style='padding: 5px; width: 256px; | + | <td style='padding: 5px; width: 256px; vertical-align: top;'> |
− | <div style='border: 1px solid #323931; position: relative; | + | |
+ | <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}} | ||
| <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> | | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> | ||
| | | | ||
Line 347: | Line 292: | ||
| sansha's nation= Logo_faction_sanshas_nation.png | | sansha's nation= Logo_faction_sanshas_nation.png | ||
| serpentis= Logo_faction_serpentis.png | | serpentis= Logo_faction_serpentis.png | ||
− | | sisters of eve =Logo_faction_sisters_of_eve.png | + | | sisters of eve= Logo_faction_sisters_of_eve.png |
− | | society of conscious thought =Logo_faction_the_society.png | + | | society of conscious thought= Logo_faction_the_society.png |
| triglavian collective= Logo_faction_triglavian_collective.png | | triglavian collective= Logo_faction_triglavian_collective.png | ||
− | | #default= | + | | #default= Helpicon.png |
}}|60x60px|{{#if: {{{faction|}}} | }}|60x60px|{{#if: {{{faction|}}} | ||
| {{{faction}}} | | {{{faction}}} | ||
Line 356: | Line 301: | ||
}}]]</div> | }}]]</div> | ||
− | <div style='display: {{#ifexist: File:{{{shipimg}}} |none |block}}; text-align: center; | + | <div class='box-discussion' style='display: {{#ifexist: File:{{{shipimg}}} |none |block}}; text-align: center;'> |
− | + | <div class='linkname'>{{#if: {{{shipimg|}}} | |
− | + | | [[File:{{{shipimg}}}| Upload {{{shipimg}}} for this ships image.]] | |
− | + | | Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" [[Template:Ship|here]]. | |
− | + | }} | |
− | |||
</div> | </div> | ||
+ | </div> | ||
+ | <!-- Wiki links --> | ||
+ | <div class='box-discussion'> | ||
+ | <div class='discussion-bgr'>RELATED UNI-WIKI REFERENCES</div> | ||
+ | <div class='linkname'>[[Ships|EVE Online Ships Overview]]<br>{{{wikireferences|}}}</div> | ||
</div> | </div> | ||
− | + | <!--* External links *--> | |
− | + | <div class='box-discussion'> | |
− | <div class=' | + | <div class='discussion-bgr'>EXTERNAL LINKS</div> |
− | + | <div class='linkname'>{{#if: {{{shipid|}}} | |
− | <div class='linkname'>[https:// | + | | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }} |
− | + | | shuttle= | |
+ | | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench] | ||
+ | }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref] | ||
+ | }}<br>{{{externallinks|}}}</div> | ||
</div> | </div> | ||
+ | |||
</td> | </td> | ||
<!-- Content right: data --> | <!-- Content right: data --> | ||
− | <td style='padding: 5px 5px 5px 0; | + | <td style='border-left: 1px solid #333333; padding: 5px 5px 5px 0; vertical-align: top;'> |
− | + | <!-- Title (Ship name) --> | |
<div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div> | <div class='titlename' style='margin-bottom: 1em;'>[[{{{shipname|}}}]]</div> | ||
− | + | <!-- Ship attributes --> | |
− | <table class='attributes' style=' | + | <table class='attributes' style='margin-bottom: 5px; width: 100%;'> |
<tr> | <tr> | ||
<td> | <td> | ||
− | <div style='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: 80px; text-align: right;'> | <div class='att-item' style='width: 80px; text-align: right;'> | ||
Line 489: | Line 442: | ||
</table> | </table> | ||
− | + | <!-- Ship bonuses --> | |
− | <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> | ||
<p>{{#if: {{{bonuses|}}} |{{{bonuses}}} |<i>no bonuses available for this ship</i>}}</p> | <p>{{#if: {{{bonuses|}}} |{{{bonuses}}} |<i>no bonuses available for this ship</i>}}</p> | ||
</div> | </div> | ||
+ | <!-- Ship description --> | ||
<p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} | }}</p> | <p class='ship-desc'>{{#if: {{{info|}}} |{{{info}}} | }}</p> | ||
− | + | <!-- <div class='ship-variants'>Variations : {{#if: {{{variations|}}} |{{{variations}}} |<i>none</i>}}</div>--> | |
<div class='box-footer'>[[{{{shipname|}}}]] =></div> | <div class='box-footer'>[[{{{shipname|}}}]] =></div> | ||
</td> | </td> |
Revision as of 14:48, 26 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}}