Difference between revisions of "Template:Icon"

From EVE University Wiki
Jump to: navigation, search
m (more bracet icons)
m (typo fix)
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>[[image:{{#switch: {{{1|}}}
<div style="float:right; margin-left:1em; margin-bottom:1em;">__TOC__</div>
 
</noinclude>[[image:{{#switch: {{{1|}}}
 
 
<!--  
 
<!--  
  
Line 13: Line 11:
  
 
  | remote tracking computer | remote tracking link | tracking link | rtc | rtl | tl = Icon_remote_tracking_computer_i.png
 
  | remote tracking computer | remote tracking link | tracking link | rtc | rtl | tl = Icon_remote_tracking_computer_i.png
| remote sensor booster | remote sebo | rsb = Icon_remote_sensor_booster_i.png
 
 
  | remote eccm | eccm projector | remote eccm projector = Icon eccm projector i.png
 
  | remote eccm | eccm projector | remote eccm projector = Icon eccm projector i.png
 
  | wl | warfare | warfare link | warfare links = Warfare-links.png
 
  | wl | warfare | warfare link | warfare links = Warfare-links.png
Line 41: Line 38:
  
 
-->
 
-->
<!-- Brackets for normal ships -->
+
<!-- Brackets for playher ships -->
 
| br capsule | bracket capsule = icon_bracket_capsule.png
 
| br capsule | bracket capsule = icon_bracket_capsule.png
 
| br shuttle | bracket shuttle = icon_bracket_shuttle.png
 
| br shuttle | bracket shuttle = icon_bracket_shuttle.png
Line 50: Line 47:
 
| br battlecruiser | bracket battlecruiser = icon_bracket_battlecruiser.png
 
| br battlecruiser | bracket battlecruiser = icon_bracket_battlecruiser.png
 
| br battleship | bracket battleship = icon_bracket_battleship.png
 
| br battleship | bracket battleship = icon_bracket_battleship.png
| br capital | bracket capital = icon_bracket_capital.png
+
| br carrier = icon_bracket_carrier.png
| br supercapital | bracket supercapital = icon_bracket_supercapital.png
+
| br dreadnought | br dread = icon_bracket_dreadnought.png
 +
| br supercarrier = Icon_bracket_supercarrier.png
 
| br titan | bracket titan = icon_bracket_titan.png
 
| br titan | bracket titan = icon_bracket_titan.png
 
<!-- Brackets for industrial ships -->
 
<!-- Brackets for industrial ships -->
 
| br mining frigate | bracket mining frigate = icon_bracket_mining_frigate.png
 
| br mining frigate | bracket mining frigate = icon_bracket_mining_frigate.png
 +
| br mining barge| bracket mining barge= Icon_bracket_mining_barge.png
 
| br industrial | bracket industrial = icon_bracket_industrial.png
 
| br industrial | bracket industrial = icon_bracket_industrial.png
 
| br industrial command | bracket industrial ommand = icon_bracket_industrial_command_ship.png
 
| br industrial command | bracket industrial ommand = icon_bracket_industrial_command_ship.png
 
| br industrial capital | bracket industrial capital = icon_bracket_industrial_capital.png
 
| br industrial capital | bracket industrial capital = icon_bracket_industrial_capital.png
<!-- Brackets for sentry towers. -->
+
<!-- Brackets for sentry towers/drones/fighters -->
| br sentry | br sentry tower | br sentry gun = icon_target_tower.png
+
| br sentry | br sentry tower | br sentry gun = icon_bracket_tower.png
<!-- Red brackets for normal ships -->
+
| br drone| bracket drone = icon_bracket_drone.png
 +
| br sentry drone| bracket sentry drone = icon_bracket_sentry_drone.png
 +
| br fighter| bracket fighter = icon_bracket_fighter.png
 +
 
 +
<!-- white (npc) brackets -->
 +
| white capsule = icon_white_capsule.png
 +
| white shuttle = icon_white_shuttle.png
 +
| white rookie = icon_white_rookie.png
 +
| white frigate = icon_white_frigate.png
 +
| white destroyer = icon_white_destroyer.png
 +
| white cruiser = icon_white_cruiser.png
 +
| white battlecruiser = icon_white_battlecruiser.png
 +
| white battleship = icon_white_battleship.png
 +
| white carrier = icon_white_carrier.png
 +
| white dreadnought | br dread = icon_white_dreadnought.png
 +
| white supercarrier = icon_white_supercarrier.png
 +
| white titan = icon_white_titan.png
 +
<!-- Brackets for industrial ships -->
 +
| white mining frigate = icon_white_mining_frigate.png
 +
| white mining barge| bracket mining barge= icon_white_mining_barge.png
 +
| white industrial = icon_white_industrial.png
 +
| white industrial command = icon_white_industrial_command_ship.png
 +
| white industrial capital = icon_white_industrial_capital.png
 +
<!-- Brackets for sentry towers/drones/fighters -->
 +
| white sentry  = icon_bracket_tower.png
 +
| white drone = icon_bracket_drone.png
 +
| white sentry drone = icon_bracket_sentry_drone.png
 +
| white fighter = icon_bracket_fighter.png
 +
 
 +
<!-- Red npc brackets -->
 
| red capsule = icon_red_capsule.png
 
| red capsule = icon_red_capsule.png
 
| red shuttle = icon_red_shuttle.png
 
| red shuttle = icon_red_shuttle.png
Line 69: Line 97:
 
| red battlecruiser = icon_red_battlecruiser.png
 
| red battlecruiser = icon_red_battlecruiser.png
 
| red battleship = icon_red_battleship.png
 
| red battleship = icon_red_battleship.png
| red capital = icon_red_capital.png
+
| red carrier = icon_red_carrier.png
| red supercapital = icon_red_supercapital.png
+
| red dreadnought | br dread = icon_red_dreadnought.png
 +
| red supercarrier = icon_red_supercarrier.png
 
| red titan = icon_red_titan.png
 
| red titan = icon_red_titan.png
<!-- Red brackets for industrial ships -->
+
<!-- Brackets for industrial ships -->
 
| red mining frigate = icon_red_mining_frigate.png
 
| red mining frigate = icon_red_mining_frigate.png
 +
| red mining barge| bracket mining barge= icon_red_mining_barge.png
 
| red industrial = icon_red_industrial.png
 
| red industrial = icon_red_industrial.png
 
| red industrial command = icon_red_industrial_command_ship.png
 
| red industrial command = icon_red_industrial_command_ship.png
 
| red industrial capital = icon_red_industrial_capital.png
 
| red industrial capital = icon_red_industrial_capital.png
<!-- Red brackets for sentry towers. -->
+
<!-- Brackets for sentry towers/drones/fighters -->
| red sentry | red sentry tower | red sentry gun = icon_target_tower.png
+
| red sentry = icon_red_tower.png
<!-- Blue brackets for normal ships -->
+
| red drone = icon_red_drone.png
 +
| red sentry drone = icon_red_sentry_drone.png
 +
| red fighter = icon_red_fighter.png
 +
 
 +
<!-- blue npc brackets -->
 
| blue capsule = icon_blue_capsule.png
 
| blue capsule = icon_blue_capsule.png
 
| blue shuttle = icon_blue_shuttle.png
 
| blue shuttle = icon_blue_shuttle.png
Line 88: Line 122:
 
| blue battlecruiser = icon_blue_battlecruiser.png
 
| blue battlecruiser = icon_blue_battlecruiser.png
 
| blue battleship = icon_blue_battleship.png
 
| blue battleship = icon_blue_battleship.png
| blue capital = icon_blue_capital.png
+
| blue carrier = icon_blue_carrier.png
| blue supercapital = icon_blue_supercapital.png
+
| blue dreadnought | br dread = icon_blue_dreadnought.png
 +
| blue supercarrier = icon_blue_supercarrier.png
 
| blue titan = icon_blue_titan.png
 
| blue titan = icon_blue_titan.png
<!-- Blue brackets for industrial ships -->
+
<!-- Brackets for industrial ships -->
 
| blue mining frigate = icon_blue_mining_frigate.png
 
| blue mining frigate = icon_blue_mining_frigate.png
 +
| blue mining barge| bracket mining barge= icon_blue_mining_barge.png
 
| blue industrial = icon_blue_industrial.png
 
| blue industrial = icon_blue_industrial.png
 
| blue industrial command = icon_blue_industrial_command_ship.png
 
| blue industrial command = icon_blue_industrial_command_ship.png
 
| blue industrial capital = icon_blue_industrial_capital.png
 
| blue industrial capital = icon_blue_industrial_capital.png
<!-- Blue brackets for sentry towers. -->
+
<!-- Brackets for sentry towers/drones/fighters -->
| blue sentry | blue sentry tower | blue sentry gun = icon_blue_sentry_tower.png
+
| blue sentry = icon_blue_tower.png
 +
| blue drone = icon_blue_drone.png
 +
| blue sentry drone = icon_blue_sentry_drone.png
 +
| blue fighter = icon_blue_fighter.png
 +
 
 
<!-- Miscellaneous brackets -->
 
<!-- Miscellaneous brackets -->
 
| br constellation | bracket constellation = icon_bracket_constellation.png
 
| br constellation | bracket constellation = icon_bracket_constellation.png
Line 109: Line 149:
 
| br beacon | bracket beacon = Icon_bracet_beacon.png
 
| br beacon | bracket beacon = Icon_bracet_beacon.png
 
| br billboard | bracket billboard = Icon_bracet_billboard.png
 
| br billboard | bracket billboard = Icon_bracet_billboard.png
 +
| br container | bracket container = Icon_bracet_container.png
 
| br red container | bracket red container = Icon_bracet_container_red.png
 
| br red container | bracket red container = Icon_bracet_container_red.png
 
| br moon | bracket moon = Icon_bracet_moon.png
 
| br moon | bracket moon = Icon_bracet_moon.png
Line 116: Line 157:
 
| br tower | bracket tower = Icon_bracet_tower.png
 
| br tower | bracket tower = Icon_bracet_tower.png
 
| br force field | bracket force field = Icon_bracet_fircefield.png
 
| br force field | bracket force field = Icon_bracet_fircefield.png
 +
| br wormhole | bracket wormhole = Icon_bracet_wormhole.png
 +
| br gas cloud | bracket gas cloud = Gas_cloud.png
 +
| br hackable | bracket hackable = Icon_bracet_hackable.png
 +
| br agent| bracket agent= Icon_bracet_agent.png
 
<!--  
 
<!--  
  
Line 143: Line 188:
 
  | d | disruptor | wd | warp disruptor | point = icon_warp_disruptor_i.png
 
  | d | disruptor | wd | warp disruptor | point = icon_warp_disruptor_i.png
 
  | burst | ecm burst | recm | remote ecm | remote ecm burst = icon_remote_ecm_burst_i.png
 
  | burst | ecm burst | recm | remote ecm | remote ecm burst = icon_remote_ecm_burst_i.png
  | j | jam | jamming | ecm = icon_multispectral_ecm_i.png
+
  | j | jam | jamming | ecm = Icon_target_max.png
 
  | p | painter | painters | tp | target painter | target painters = icon_target_painter_i.png
 
  | p | painter | painters | tp | target painter | target painters = icon_target_painter_i.png
 
  | v | vamp | vampire | energy vampire = Vamp.png
 
  | v | vamp | vampire | energy vampire = Vamp.png
Line 149: Line 194:
 
  | damp | rsd | sensor damp | sensor dampening = icon_remote_sensor_dampening.png
 
  | damp | rsd | sensor damp | sensor dampening = icon_remote_sensor_dampening.png
 
  | td | track disruptor = icon_track_disruptor_64.png
 
  | td | track disruptor = icon_track_disruptor_64.png
 +
| gd | guidance disruptor = icon_missile_guidance_computer_i.png
 
<!--
 
<!--
  
Line 193: Line 239:
 
<!-- Ancient cultures -->
 
<!-- Ancient cultures -->
 
  | drifter | drifters = logo faction drifters.png
 
  | drifter | drifters = logo faction drifters.png
 +
| trig | triglavian | triglavians | triglavian collective = Logo_faction_triglavian_collective.png
 
<!--
 
<!--
  
Line 201: Line 248:
 
  | pg | powergrid | power grid = icon_powergrid.png
 
  | pg | powergrid | power grid = icon_powergrid.png
 
  | range = Icon_target_range.png
 
  | range = Icon_target_range.png
 +
| falloff = Icon_falloff_mod.png
 
  | sig = Icon_ship_sig.png
 
  | sig = Icon_ship_sig.png
 
  | vel | velocity = Icon_velocity.png
 
  | vel | velocity = Icon_velocity.png
Line 207: Line 255:
 
  | hull = icon_hull.png
 
  | hull = icon_hull.png
 
  | capacity = Icon_capacity.png
 
  | capacity = Icon_capacity.png
  | sensor resolution | sensor res = Icon_sensor_resolution.png
+
  | sensor resolution | sensor res | remote sensor booster | remote sebo | rsb = Icon_sensor_resolution.png
 
  | target = Icon_target_max.png
 
  | target = Icon_target_max.png
 
  | inertia = Icon_inertia.png
 
  | inertia = Icon_inertia.png
Line 225: Line 273:
 
  | shield booster = icon_shield_glow.png
 
  | shield booster = icon_shield_glow.png
 
  | hull repairer | structure repairer | hull repair | structure repair = icon_hull_repairer_i.png
 
  | hull repairer | structure repairer | hull repair | structure repair = icon_hull_repairer_i.png
 +
| high slot | hislot | hi slot | slot high | slot hi | fit high | fit hi = icon_fit_high.png
 +
| medium slot | midslot | mid slot | med slot | slot medium | slot mid | fit medium | fit mid = icon_fit_medium.png
 +
| low slot | lowslot | loslot | lo slot | slot low | slot lo | fit low | fit lo = icon_fit_low.png
 +
| rig slot | rigslot | slot rig | fit rig = icon_fit_rig.png
 +
| drone slot | droneslot | slot drone | fit drone = icon_fit_drone.png
 +
| resource slot | resslot | res slot | slot resource | slot res | fit resource | fit res = icon_fit_resource.png
 +
| fitting browser | fit browser = icon_fit_browser.png
 +
| fitting skins | skins | skin | fit skin | fit skins = icon_fit_skins.png
 +
| fitting cargo hold | fitting cargo | fit cargo | fit hold | hold | cargo | cargo hold = icon_fit_cargo.png
 +
| fitting dps | fit dps = icon_fit_dps.png
 +
| fitting alpha | fit alpha = icon_fit_alpha.png
 +
| fitting skills | fit skills | fitting skill | fit skill = icon_fit_skills.png
 
<!--
 
<!--
  
Line 243: Line 303:
 
| isis serpentis | isis serpentis corporation = isis_serpentis.png
 
| isis serpentis | isis serpentis corporation = isis_serpentis.png
 
| isis soe | isis sisters | isis sisters of eve = isis_soe.png
 
| isis soe | isis sisters | isis sisters of eve = isis_soe.png
 +
| isis triglavian | isis triglavian collective = isis_triglavian.png
 +
 
<!-- ISIS icons -->
 
<!-- ISIS icons -->
 
| isis = ISIS.png
 
| isis = ISIS.png
Line 291: Line 353:
 
| isis carrier | super carrier = isis_supercarrier.png
 
| isis carrier | super carrier = isis_supercarrier.png
 
| isis titan = isis_titan.png
 
| isis titan = isis_titan.png
 +
<!--
 +
 +
  Interface
 +
 +
-->
 +
| wallet = icon_wallet.png
 +
| bounty office = icon_bounties.png
 
<!--
 
<!--
  
Line 300: Line 369:
 
  | tick = Tick.png
 
  | tick = Tick.png
 
  | cross = Cross.png
 
  | cross = Cross.png
 +
| small info = Small_Info.png
 
  | constellation = icon_constellation.png
 
  | constellation = icon_constellation.png
 
  | corporation | alliance = icon_corporation.png
 
  | corporation | alliance = icon_corporation.png
Line 305: Line 375:
 
  | chat = icon talking.png
 
  | chat = icon talking.png
 
  | mail glow | mail glowing | glowing mail = icon_mail_glow.png
 
  | mail glow | mail glowing | glowing mail = icon_mail_glow.png
 +
| ccp = icon_ccp.png
 
  | windows | win = icon_os_windows.png
 
  | windows | win = icon_os_windows.png
 
  | macintosh | mac = icon_os_macintosh.png
 
  | macintosh | mac = icon_os_macintosh.png
Line 310: Line 381:
 
  | mumble = icon_mumble.png
 
  | mumble = icon_mumble.png
 
  | slack = icon_slack.png
 
  | slack = icon_slack.png
 +
| isk | ISK | interstellar kredits | inter stellar kredits | money | coins = icon_money.png
 +
| bounty | bounties = icon_bounty.png
 +
| dice | d6 = icon_dice.png
 +
| pin = icon_pin.png
 
<!--  
 
<!--  
  
Line 360: Line 435:
 
-->
 
-->
 
| tag check = Overview-BoxChecked9.gif
 
| tag check = Overview-BoxChecked9.gif
| tag uncheck = Overview-BoxUnChecked9.gif
+
| tag uncheck = ColorTagBG-Grey.gif
 
| tag war = ColorTag-StarRed9.gif
 
| tag war = ColorTag-StarRed9.gif
 
| tag war militia = ColorTag-StarOrange9.gif
 
| tag war militia = ColorTag-StarOrange9.gif
Line 416: Line 491:
 
  | large | large target | battleship = icon_target_battleship.png
 
  | large | large target | battleship = icon_target_battleship.png
 
  | sentry | tower | sentry tower = icon_target_tower.png
 
  | sentry | tower | sentry tower = icon_target_tower.png
 +
| industrial | industrial target = icon_target_industrial.png
 +
| industrial2 | industrial target2 = icon_target_industrial2.png
 +
| freighter| freighter target = icon_target_freighter.png
 +
| carrier | carrier target = Icon_target_carrier.png
 +
| supercapital | supercapital target = Icon_target_supercapital.png
 +
| fighter target = Icon_target_fighter.png
 
  | small neutral | small neutral npc | small neutral ship = icon_small_neutral_ship.png
 
  | small neutral | small neutral npc | small neutral ship = icon_small_neutral_ship.png
 
  | medium neutral | medium neutral npc | medium neutral ship = icon_medium_neutral_ship.png
 
  | medium neutral | medium neutral npc | medium neutral ship = icon_medium_neutral_ship.png
Line 496: Line 577:
 
  | citadel torpedo | citadel torpedo missile | missile citadel torpedo = icon_missiles_citadel_torpedo.png
 
  | citadel torpedo | citadel torpedo missile | missile citadel torpedo = icon_missiles_citadel_torpedo.png
 
  | citadel cruise | citadel cruise missile | missile citadel cruise = icon_missiles_citadel_cruise.png
 
  | citadel cruise | citadel cruise missile | missile citadel cruise = icon_missiles_citadel_cruise.png
  | torpedo | torpedo missile | missile torpedo = icon_missiles_torpedo.png
+
  | torpedo | torpedo missile | missile torpedo = Icon torpedoes.png
 
  | cruise missile | missile cruise = icon_missiles_cruise.png
 
  | cruise missile | missile cruise = icon_missiles_cruise.png
 
  | heavy assault | heavy assault missile | missile heavy assault = icon_missiles_heavy_assault.png
 
  | heavy assault | heavy assault missile | missile heavy assault = icon_missiles_heavy_assault.png
Line 506: Line 587:
 
<!-- Default -->
 
<!-- Default -->
 
  | #default = {{{1}}}
 
  | #default = {{{1}}}
}}|{{#switch: {{{2|}}} | = 32 | #default = {{{2}}}}}px|{{#switch: {{{3|}}} |  = link= | #default = {{{3}}}}}]]<noinclude>
+
}}|{{#switch: {{{2|}}} | = 32 | #default = {{{2}}}}}px|{{#switch: {{{3|}}} |  = link= | #default = {{{3}}}}}]]</includeonly><noinclude>{{deprecated}}{{note|Due to the way pages are loaded and cached, heavy use of this template causes massive loading times and issues so it's not recommended to be used. Just use regular image links, see [[Icons]] for a list of icon-images.}}
 
+
{{documentation}}
= Syntax =
 
The function takes up to three parameters. Each of the parameters are optional, while still allowing for some customization if need be.
 
{{code|<nowiki>{{ icon | type | size | hint }}</nowiki>}}
 
=== Parameters ===
 
;type
 
:This determines which icon to show and it will default back to the webifier icon if no parameters are given. Remember to use lower-case letters.
 
 
 
;size
 
:This determines the size of the image, in pure numbers. It defaults to 32 (the ''px'' part of the size is omitted from the parameter as it is included in the template).
 
 
 
;hint
 
:This is the mouse-over hint. Add this if you want custom text to be displayed when you hover over the icon. This parameter will accept codes like '''bold''' or ''italic'' or wiki-links, but will simply strip any link-coding or formatting from them and presents the unmodified plain text.
 
 
 
=== Examples ===
 
* <code><nowiki>{{icon|point}}</nowiki></code> &rarr; {{icon|point}} ''(it will use the default size and no mouse-over tooltip)''
 
* <code><nowiki>{{icon|||Stay put with a web!</nowiki></code> &rarr; {{icon|||Stay put with a web!}} ''(default icon and size was used since no first argument was given)''
 
* <code><nowiki>{{icon|warp scrambler|16|No MWD for you!}}</nowiki></code> &rarr; {{icon|warp scrambler|16|No MWD for you!}} ''(smaller icon, could be used inside a paragraph without breaking the line height)''
 
 
 
= List of icons =
 
For a full list of icons available through this template, see the [[icons]] page.
 
 
</noinclude>
 
</noinclude>

Revision as of 16:41, 10 November 2021

This template is deprecated and no longer in use. There is no replacement information available.

Icon information square.png Note: Due to the way pages are loaded and cached, heavy use of this template causes massive loading times and issues so it's not recommended to be used. Just use regular image links, see Icons for a list of icon-images.

Template documentation (for the above template, sometimes hidden or invisible)
This template is deprecated and no longer in use.
Please visit "Due to the way pages are loaded and cached, this template consumes 10x CPU time usage compared to using regular image links. Just use regular image links, see Icons for a list of icon-images." for current info. User: Arin Mara (talk) 18:30, 22 May 2022 (UTC)

Syntax

The function takes up to three parameters. Each of the parameters are optional, while still allowing for some customization if need be.

{{ icon | type | size | hint }}

Parameters

type
This determines which icon to show and it will default back to the webifier icon if no parameters are given. Remember to use lower-case letters.
size
This determines the size of the image, in pure numbers. It defaults to 32 (the px part of the size is omitted from the parameter as it is included in the template).
hint
This is the mouse-over hint. Add this if you want custom text to be displayed when you hover over the icon. This parameter will accept codes like bold or italic or wiki-links, but will simply strip any link-coding or formatting from them and presents the unmodified plain text.

Examples

  • {{icon|point}}Icon warp disruptor i.png (it will use the default size and no mouse-over tooltip)
  • {{icon|||Stay put with a web!}}Stay put with a web! (default icon and size was used since no first argument was given)
  • {{icon|warp scrambler|16|No MWD for you!}}No MWD for you! (smaller icon, could be used inside a paragraph without breaking the line height)
Visit Template:Icon/doc to edit this text! (How does this work?) (Refresh this text - why?)