More actions
m Fix typo (again). |
m Make {{#switch:}} function case in-sensitive.Add hauler class to rig size logic. |
||
| Line 226: | Line 226: | ||
<!--** Ship image block "caption" left **--> | <!--** Ship image block "caption" left **--> | ||
<td rowspan='3' class='faction-img'>[[Image:{{#switch: {{{faction}}} | <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{lc: {{{faction}}} }} | ||
| | | angel cartel= Logo_faction_angel_cartel.png | ||
| | | amarr empire= Logo_faction_amarr_empire.png | ||
| | | blood raiders= Logo_faction_the_blood_raider_covenant.png | ||
| | | caldari state= Logo_faction_caldari_state.png | ||
| | | concord= Logo_faction_concord_assembly.png | ||
| | | edencom= Logo_faction_edencom.png | ||
| | | gallente federation= Logo_faction_gallente_federation.png | ||
| | | guristas= Logo_faction_guristas_pirates.png | ||
| | | intaki syndicate= Logo faction the syndicate.png | ||
| | | interbus= Logo faction the interbus.png | ||
| | | minmatar republic= Logo_faction_minmatar_republic.png | ||
| | | mordu's legion= Logo_faction_mordus_legion.png | ||
| | | outer ring excavations= Logo_faction_outer_ring_excavations.png | ||
| | | sansha's nation= Logo_faction_sanshas_nation.png | ||
| | | serpentis= Logo_faction_serpentis.png | ||
| | | sisters of eve= Logo_faction_sisters_of_eve.png | ||
| | | society of conscious thought= Logo_faction_the_society.png | ||
| | | triglavian collective= Logo faction triglavian collective.png | ||
| #default= no-image.png | | #default= no-image.png | ||
}}|center|link=| | }}|center|link=|50px|{{{faction|}}} ]] | ||
</td> | </td> | ||
| Line 265: | Line 265: | ||
}} | }} | ||
</div> | </div> | ||
<div class='label2 type-gravimetric'>{{#ifeq: {{{sensortype}}} | | <div class='label2 type-gravimetric'>{{#ifeq: {{lc: {{{sensortype}}} }} | magnetometric | ||
| <span style='font-size: 9px;'>Magnetometric</span> | | <span style='font-size: 9px;'>Magnetometric</span> | ||
| {{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} | | {{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} | ||
| Line 362: | Line 362: | ||
<div class='discussion-bgr'>EXTERNAL LINKS</div> | <div class='discussion-bgr'>EXTERNAL LINKS</div> | ||
<div class='linkname'>{{#if: {{{shipid|}}} | <div class='linkname'>{{#if: {{{shipid|}}} | ||
| [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{{class}}} | | [https://zkillboard.com/ship/{{{shipid}}}/ {{{shipname|}}} on zKillboard]{{#switch: {{lc: {{{class}}} }} | ||
| | | shuttle | ||
| | | special edition 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://evepraisal.com/item/{{{shipid}}}/ {{{shipname|}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref] | }} <br>[https://evepraisal.com/item/{{{shipid}}}/ {{{shipname|}}} on Evepraisal]<br>[https://everef.net/type/{{{shipid}}} {{{shipname|}}} on EVE Ref] | ||
| Line 475: | Line 475: | ||
{{#if: {{{rigs_count|}}} | {{#if: {{{rigs_count|}}} | ||
| <div class='item att-value'>{{{rigs_count}}}</div> | | <div class='item att-value'>{{{rigs_count}}}</div> | ||
| <div class='item att-value'>{{#switch: {{{class}}} | | <div class='item att-value'>{{#switch: {{lc: {{{class}}} }} | ||
| | | corvette | ||
| | | shuttle | ||
| | | special edition shuttle | ||
| | | freighter | ||
| | | jump freighter= 0 | ||
| #default={{#switch: {{{tech}}} | | #default={{#switch: {{{tech}}} | ||
| 2= 2 | | 2= 2 | ||
| Line 489: | Line 489: | ||
{{#if: {{{rigs_size|}}} | {{#if: {{{rigs_size|}}} | ||
|<div class='item att-value'>{{{rigs_size}}}</div> | |<div class='item att-value'>{{{rigs_size}}}</div> | ||
|<div class='item att-value'>{{#switch: {{{class}}} | |<div class='item att-value'>{{#switch: {{lc: {{{class}}} }} | ||
| | | corvette | ||
| | | shuttle | ||
| | | special edition shuttle | ||
| | | freighter | ||
| | | jump freighter= '' | ||
| | | assault frigate | ||
| | | logistics frigate | ||
| | | covert ops | ||
| | | destroyer | ||
| | | command destroyer | ||
| | | tactical destroyer | ||
| | | electronic attack ship | ||
| | | expedition frigate | ||
| | | frigate | ||
| | | interceptor | ||
| | | interdictor | ||
| | | stealth bomber= small | ||
| | | attack battlecruiser | ||
| | | blockade runner | ||
| | | combat battlecruiser | ||
| | | combat recon ship | ||
| | | command ship | ||
| | | cruiser | ||
| | | deep space transport | ||
| | | exhumer | ||
| | | force recon ship | ||
| | | hauler | ||
| | | heavy assault cruiser | ||
| | | heavy interdiction cruiser | ||
| | | industrial | ||
| | | logistics cruiser | ||
| | | mining barge | ||
| strategic cruiser= medium | |||
| | | battleship | ||
| | | black ops | ||
| | | industrial command ship | ||
| | | marauder= large | ||
| | | capital industrial ship | ||
| | | carrier | ||
| | | force auxiliary | ||
| | | dreadnought | ||
| | | supercarrier | ||
| | | titan= capital | ||
| #default= {{Co|red|?}} | | #default= {{Co|red|?}} | ||
| Line 544: | Line 545: | ||
<div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Calibration </div><div class='item att-img'>[[Image:icon_calibration.png|16px|calibration]]</div><div class='item att-value'>{{#if: {{{rigs_calibration|}}} | <div class='item att-label' style='color: #9E8F75; margin-left: 5px;'>Calibration </div><div class='item att-img'>[[Image:icon_calibration.png|16px|calibration]]</div><div class='item att-value'>{{#if: {{{rigs_calibration|}}} | ||
| {{{rigs_calibration}}} | | {{{rigs_calibration}}} | ||
| {{#switch: {{{class}}} | | {{#switch: {{lc: {{{class}}} }} | ||
| | | corvette | ||
| | | shuttle | ||
| | | special edition shuttle | ||
| | | freighter | ||
| | | jump freighter= 0 | ||
| #default={{#switch: {{{grouping}}} | | #default={{#switch: {{lc: {{{grouping}}} }} | ||
| | | pirate faction ships= 350 | ||
| #default= 400 | | #default= 400 | ||
}} | }} | ||
| Line 657: | Line 658: | ||
<!--*** Sensor ***--> | <!--*** Sensor ***--> | ||
<div class='att-item'> | <div class='att-item'> | ||
<div class='item att-label'>{{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} Sensor</div><div class='item att-img'>{{#switch: {{{sensortype}}} | <div class='item att-label'>{{#if: {{{sensortype|}}} |{{{sensortype}}} | Multi }} Sensor</div><div class='item att-img'>{{#switch: {{lc: {{{sensortype}}} }} | ||
| | | gravimetric= [[Image:Icon_sensor_gravimetric.png|20px|Gravimetric sensor strength]] | ||
| | | ladar= [[Image:Icon_sensor_ladar.png|20px|LADAR sensor strength]] | ||
| | | magnetometric= [[Image:Icon_sensor_magnetometric.png|20px|Magnetometric sensor strength]] | ||
| | | radar= [[Image:Icon_sensor_radar.png|20px|RADAR sensor strength]] | ||
| #default= [[Image:Icon_sensor_gravimetric.png|20px|Multitype sensor strength]]}}</div><div class='item att-value'>{{#if: {{{sensorvalue|}}} |{{{sensorvalue}}} |0 points }}</div> | | #default= [[Image:Icon_sensor_gravimetric.png|20px|Multitype sensor strength]]}}</div><div class='item att-value'>{{#if: {{{sensorvalue|}}} |{{{sensorvalue}}} |0 points }}</div> | ||
</div> | </div> | ||