Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
m (Remove footer and associated CSS.) |
m (Modify CSS so it only works inside the template.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#css: | <includeonly>{{#css: | ||
− | .ship-info | + | div.ShipBoxLarge |
+ | { | ||
+ | float: left; | ||
+ | clear: both; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .ShipBoxLarge .ship-info | ||
{ | { | ||
float: left; | float: left; | ||
Line 14: | Line 21: | ||
} | } | ||
− | .ship-info table | + | .ShipBoxLarge .ship-info table |
{ | { | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
− | .ship-info table, | + | .ShipBoxLarge .ship-info table, |
− | .ship-info table tr, | + | .ShipBoxLarge .ship-info table tr, |
− | .ship-info table td | + | .ShipBoxLarge .ship-info table td |
{ | { | ||
margin: 0; | margin: 0; | ||
Line 28: | Line 35: | ||
} | } | ||
− | .ship-info .title | + | .ShipBoxLarge .ship-info .title |
{ | { | ||
border-bottom: 1px solid #525751; | border-bottom: 1px solid #525751; | ||
Line 42: | Line 49: | ||
} | } | ||
− | + | .ShipBoxLarge .ship-info .titlename a | |
{ | { | ||
background: none repeat scroll 0 0 transparent; | background: none repeat scroll 0 0 transparent; | ||
Line 53: | Line 60: | ||
} | } | ||
− | + | .ShipBoxLarge .ship-info .titlename a:hover, | |
− | + | .ShipBoxLarge .ship-info .titlename a.hover | |
{ | { | ||
color: orange; | color: orange; | ||
Line 60: | Line 67: | ||
} | } | ||
− | .ship-info .ship-border-box | + | .ShipBoxLarge .ship-info .ship-border-box |
{ | { | ||
background-color: #110809; | background-color: #110809; | ||
Line 66: | Line 73: | ||
} | } | ||
− | .ship-info .ship-border-box p | + | .ShipBoxLarge .ship-info .ship-border-box p |
{ | { | ||
color: #FFFFFF; | color: #FFFFFF; | ||
Line 75: | Line 82: | ||
} | } | ||
− | .ship-info .label | + | .ShipBoxLarge .ship-info .label |
{ | { | ||
border-bottom: 1px solid #4C4646; | border-bottom: 1px solid #4C4646; | ||
Line 85: | Line 92: | ||
} | } | ||
− | .ship-info .label .inner | + | .ShipBoxLarge .ship-info .label .inner |
{ | { | ||
background-color:#0e1618; | background-color:#0e1618; | ||
Line 92: | Line 99: | ||
} | } | ||
− | .box-resist | + | .ShipBoxLarge .box-resist |
{ | { | ||
height: 15px; | height: 15px; | ||
Line 99: | Line 106: | ||
} | } | ||
− | .bgr-em { background-color: #121923; } | + | .ShipBoxLarge .bgr-em { background-color: #121923; } |
− | .bgr-thr { background-color: #290b0b; } | + | .ShipBoxLarge .bgr-thr { background-color: #290b0b; } |
− | .bgr-kin { background-color: #292021; } | + | .ShipBoxLarge .bgr-kin { background-color: #292021; } |
− | .bgr-exp { background-color: #2b190b; } | + | .ShipBoxLarge .bgr-exp { background-color: #2b190b; } |
− | .val-em { background-color: #1c5d85; } | + | .ShipBoxLarge .val-em { background-color: #1c5d85; } |
− | .val-thr { background-color: #8d1717; } | + | .ShipBoxLarge .val-thr { background-color: #8d1717; } |
− | .val-kin { background-color: #757575; } | + | .ShipBoxLarge .val-kin { background-color: #757575; } |
− | .val-exp { background-color: #875f1a; } | + | .ShipBoxLarge .val-exp { background-color: #875f1a; } |
− | .box-resist .resist-value .value-text | + | .ShipBoxLarge .box-resist .resist-value .value-text |
{ | { | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
Line 117: | Line 124: | ||
} | } | ||
− | .ship-info .attributes | + | .ShipBoxLarge .ship-info .attributes |
{ | { | ||
border: medium none; | border: medium none; | ||
Line 123: | Line 130: | ||
} | } | ||
− | .attributes .att-line | + | .ShipBoxLarge .attributes .att-line |
{ | { | ||
background-color: #110809; | background-color: #110809; | ||
Line 133: | Line 140: | ||
} | } | ||
− | .attributes .att-line .att-item | + | .ShipBoxLarge .attributes .att-line .att-item |
{ | { | ||
border-right: 2px solid #191E18; | border-right: 2px solid #191E18; | ||
Line 140: | Line 147: | ||
} | } | ||
− | .attributes .att-line .att-item .att-img | + | .ShipBoxLarge .attributes .att-line .att-item .att-img |
{ | { | ||
display: inline-block; | display: inline-block; | ||
Line 146: | Line 153: | ||
} | } | ||
− | .attributes .res-boxes .att-item .att-img | + | .ShipBoxLarge .attributes .res-boxes .att-item .att-img |
{ | { | ||
margin-right: 0; | margin-right: 0; | ||
} | } | ||
− | .attributes .att-line .att-item .att-label | + | .ShipBoxLarge .attributes .att-line .att-item .att-label |
{ | { | ||
color: #9E9E9E; | color: #9E9E9E; | ||
Line 157: | Line 164: | ||
} | } | ||
− | .attributes .att-line .att-item .att-value | + | .ShipBoxLarge .attributes .att-line .att-item .att-value |
{ | { | ||
color: #FFFFFF; | color: #FFFFFF; | ||
Line 166: | Line 173: | ||
} | } | ||
− | .ship-info p.ship-desc | + | .ShipBoxLarge .ship-info p.ship-desc |
{ | { | ||
font-family: arial; | font-family: arial; | ||
Line 175: | Line 182: | ||
} | } | ||
− | .ship-info .ship-variants | + | .ShipBoxLarge .ship-info .ship-variants |
{ | { | ||
border-top: 1px solid #323931; | border-top: 1px solid #323931; | ||
Line 185: | Line 192: | ||
} | } | ||
− | .techcorner | + | .ShipBoxLarge .techcorner |
{ | { | ||
width: 64px; | width: 64px; | ||
Line 196: | Line 203: | ||
} | } | ||
− | .ship-info .box-discussion | + | .ShipBoxLarge .ship-info .box-discussion |
{ | { | ||
margin-left: -6px; | margin-left: -6px; | ||
Line 208: | Line 215: | ||
} | } | ||
− | .ship-info .box-discussion .discussion-bgr | + | .ShipBoxLarge .ship-info .box-discussion .discussion-bgr |
{ | { | ||
color: #4C4C4C; | color: #4C4C4C; | ||
Line 215: | Line 222: | ||
} | } | ||
− | .ship-info .box-discussion .linkname | + | .ShipBoxLarge .ship-info .box-discussion .linkname |
{ | { | ||
font-size: 11px; | font-size: 11px; | ||
Line 223: | Line 230: | ||
}}<!-- Content --> | }}<!-- Content --> | ||
− | <div | + | <div class='ShipBoxLarge'> |
<div class='ship-info'> | <div class='ship-info'> |
Revision as of 14:15, 29 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}}