Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
m (Remove roles=, following {{ShipArticle}}.) |
Gorasi Atol (talk | contribs) (Fix broken hover/alt tags on armour icons) |
||
(One intermediate revision by one other user not shown) | |||
Line 278: | Line 278: | ||
| shuttle= | | shuttle= | ||
| #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench] | | #default= <br>[https://www.eveworkbench.com/fitting/{{{shipid}}} {{{shipname|}}} on EVE Workbench] | ||
− | }} <br>[https:// | + | }} <br>[https://janice.e-351.com/i/{{{shipid}}}/ {{{shipname|}}} on Janice]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref] |
}}<br>{{{externallinks|}}}</div> | }}<br>{{{externallinks|}}}</div> | ||
</div> | </div> | ||
Line 376: | Line 376: | ||
</div> | </div> | ||
<div class='att-item' style='border-right: none;'> | <div class='att-item' style='border-right: none;'> | ||
− | <div class='att-img'>[[Image:icon_resist_em.png|20px|armor electromagnetic resistance | + | <div class='att-img'>[[Image:icon_resist_em.png|20px|armor electromagnetic resistance]]</div> |
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
<div class='box-resist bgr-em'> <div class='resist-value val-em' style='width: {{#expr: {{#if:{{{armorem|}}}|{{{armorem}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if:{{{armorem|}}}|{{{armorem}}}|0}}</div></div></div> | <div class='box-resist bgr-em'> <div class='resist-value val-em' style='width: {{#expr: {{#if:{{{armorem|}}}|{{{armorem}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if:{{{armorem|}}}|{{{armorem}}}|0}}</div></div></div> | ||
</div> | </div> | ||
− | <div class='att-img'>[[Image:icon_resist_therm.png|20px|armor thermal resistance | + | <div class='att-img'>[[Image:icon_resist_therm.png|20px|armor thermal resistance]]</div> |
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
<div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width:{{#expr: {{#if:{{{armortherm|}}}|{{{armortherm}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armortherm|}}}|{{{armortherm}}}|0}}</div></div></div> | <div class='box-resist bgr-thr'> <div class='resist-value val-thr' style='width:{{#expr: {{#if:{{{armortherm|}}}|{{{armortherm}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armortherm|}}}|{{{armortherm}}}|0}}</div></div></div> | ||
</div> | </div> | ||
− | <div class='att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance | + | <div class='att-img'>[[Image:icon_resist_kin.png|20px|armor kinetic resistance]]</div> |
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
<div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width: {{#expr: {{#if: {{{armorkin|}}}|{{{armorkin}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armorkin|}}}|{{{armorkin}}}|0}}</div></div></div> | <div class='box-resist bgr-kin'> <div class='resist-value val-kin' style='width: {{#expr: {{#if: {{{armorkin|}}}|{{{armorkin}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armorkin|}}}|{{{armorkin}}}|0}}</div></div></div> | ||
</div> | </div> | ||
− | <div class='att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance | + | <div class='att-img'>[[Image:icon_resist_exp.png|20px|armor explosive resistance]]</div> |
<div style='display: inline-block;'> | <div style='display: inline-block;'> | ||
<div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width:{{#expr: {{#if: {{{armorexp|}}}|{{{armorexp}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armorexp|}}}|{{{armorexp}}}|0}}</div></div></div> | <div class='box-resist bgr-exp'> <div class='resist-value val-exp' style='width:{{#expr: {{#if: {{{armorexp|}}}|{{{armorexp}}}|0}}/2 round 0}}px;'> <div class='value-text'>{{#if: {{{armorexp|}}}|{{{armorexp}}}|0}}</div></div></div> |
Latest revision as of 06:27, 24 December 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}}