Difference between revisions of "Template:Icon"

From EVE University Wiki
Jump to: navigation, search
(removed few old brackets, new brackets.)
m (add old icons to old template)
 
(10 intermediate revisions by 6 users not shown)
Line 60: Line 60:
 
| br sentry | br sentry tower | br sentry gun = icon_bracket_tower.png
 
| br sentry | br sentry tower | br sentry gun = icon_bracket_tower.png
 
| br drone| bracket drone = icon_bracket_drone.png
 
| br drone| bracket drone = icon_bracket_drone.png
| br sentry| bracket sentry = icon_bracket_sentry.png
+
| br sentry drone| bracket sentry drone = icon_bracket_sentry_drone.png
 
| br fighter| bracket fighter = icon_bracket_fighter.png
 
| br fighter| bracket fighter = icon_bracket_fighter.png
  
<!-- white npc brackets -->
+
<!-- white (npc) brackets -->
| npc capsule = icon_npc_capsule.png
+
| white capsule = icon_white_capsule.png
| npc shuttle = icon_npc_shuttle.png
+
| white shuttle = icon_white_shuttle.png
| npc rookie = icon_npc_rookie.png
+
| white rookie = icon_white_rookie.png
| npc frigate = icon_npc_frigate.png
+
| white frigate = icon_white_frigate.png
| npc destroyer = icon_npc_destroyer.png
+
| white destroyer = icon_white_destroyer.png
| npc cruiser = icon_npc_cruiser.png
+
| white cruiser = icon_white_cruiser.png
| npc battlecruiser = icon_npc_battlecruiser.png
+
| white battlecruiser = icon_white_battlecruiser.png
| npc battleship = icon_npc_battleship.png
+
| white battleship = icon_white_battleship.png
| npc carrier = icon_npc_carrier.png
+
| white carrier = icon_white_carrier.png
| npc dreadnought | br dread = icon_npc_dreadnought.png
+
| white dreadnought | br dread = icon_white_dreadnought.png
| npc supercarrier = icon_npc_supercarrier.png
+
| white supercarrier = icon_white_supercarrier.png
| npc titan = icon_npc_titan.png
+
| white titan = icon_white_titan.png
 
<!-- Brackets for industrial ships -->
 
<!-- Brackets for industrial ships -->
| npc mining frigate = icon_npc_mining_frigate.png
+
| white mining frigate = icon_white_mining_frigate.png
| npc mining barge| bracket mining barge= icon_npc_mining_barge.png
+
| white mining barge| bracket mining barge= icon_white_mining_barge.png
| npc industrial = icon_npc_industrial.png
+
| white industrial = icon_white_industrial.png
| npc industrial command = icon_npc_industrial_command_ship.png
+
| white industrial command = icon_white_industrial_command_ship.png
| npc industrial capital = icon_npc_industrial_capital.png
+
| white industrial capital = icon_white_industrial_capital.png
 
<!-- Brackets for sentry towers/drones/fighters -->
 
<!-- Brackets for sentry towers/drones/fighters -->
| npc sentry  = icon_npc_tower.png
+
| white sentry  = icon_bracket_tower.png
| npc drone = icon_npc_drone.png
+
| white drone = icon_bracket_drone.png
| npc sentry = icon_npc_sentry.png
+
| white sentry drone = icon_bracket_sentry_drone.png
| npc fighter = icon_npc_fighter.png
+
| white fighter = icon_bracket_fighter.png
  
 
<!-- Red npc brackets -->
 
<!-- Red npc brackets -->
Line 110: Line 110:
 
| red sentry  = icon_red_tower.png
 
| red sentry  = icon_red_tower.png
 
| red drone = icon_red_drone.png
 
| red drone = icon_red_drone.png
| red sentry = icon_red_sentry.png
+
| red sentry drone = icon_red_sentry_drone.png
 
| red fighter = icon_red_fighter.png
 
| red fighter = icon_red_fighter.png
  
Line 135: Line 135:
 
| blue sentry  = icon_blue_tower.png
 
| blue sentry  = icon_blue_tower.png
 
| blue drone = icon_blue_drone.png
 
| blue drone = icon_blue_drone.png
| blue sentry = icon_blue_sentry.png
+
| blue sentry drone = icon_blue_sentry_drone.png
 
| blue fighter = icon_blue_fighter.png
 
| blue fighter = icon_blue_fighter.png
  
Line 143: Line 143:
 
| br region | bracket region = icon_bracket_region.png
 
| br region | bracket region = icon_bracket_region.png
 
| br solar system | bracket solar system = icon_bracket_solar_system.png
 
| br solar system | bracket solar system = icon_bracket_solar_system.png
<!-- Structures and other bracets -->
+
<!-- Structures and other brackets -->
| br acceleration gate | bracket acceleration gate = icon_bracet_accelerationgate.png
+
| br acceleration gate | bracket acceleration gate = icon bracket accelerationgate.png
| br asteroid | bracket asteroid = Icon_bracet_asteroid.png
+
| br asteroid | bracket asteroid = Icon_bracket_asteroid.png
| br asteroid field | bracket asteroid field = Icon_bracet_asteroidfield.png
+
| br asteroid field | bracket asteroid field = Icon_bracket_asteroidfield.png
| br beacon | bracket beacon = Icon_bracet_beacon.png
+
| br beacon | bracket beacon = Icon_bracket_beacon.png
| br billboard | bracket billboard = Icon_bracet_billboard.png
+
| br billboard | bracket billboard = Icon_bracket_billboard.png
| br container | bracket container = Icon_bracet_container.png
+
| br container | bracket container = Icon_bracket_container.png
| br red container | bracket red container = Icon_bracet_container_red.png
+
| br red container | bracket red container = Icon_bracket_container_red.png
| br moon | bracket moon = Icon_bracet_moon.png
+
| br moon | bracket moon = Icon_bracket_moon.png
| br stargate | bracket stargate = Icon_bracet_stargate.png
+
| br stargate | bracket stargate = Icon_bracket_stargate.png
| br station | bracket station = Icon_bracet_station.png
+
| br station | bracket station = Icon_bracket_station.png
| br structure | bracket structure = Icon_bracet_structure.png
+
| br structure | bracket structure = Icon_bracket_structure.png
| br tower | bracket tower = Icon_bracet_tower.png
+
| br tower | bracket tower = Icon_bracket_tower.png
| br force field | bracket force field = Icon_bracet_fircefield.png
+
| br force field | bracket force field = Icon_bracket_forcefield.png
| br wormhole | bracket wormhole = Icon_bracet_wormhole.png
+
| br wormhole | bracket wormhole = Icon_bracket_wormhole.png
 
| br gas cloud | bracket gas cloud = Gas_cloud.png
 
| br gas cloud | bracket gas cloud = Gas_cloud.png
| br hackable | bracket hackable = Icon_bracet_hackable.png
+
| br hackable | bracket hackable = Icon_bracket_hackable.png
| br agent| bracket agent= Icon_bracet_agent.png
+
| br agent| bracket agent= Icon_bracket_agent.png
 
<!--  
 
<!--  
  
Line 194: 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 231: Line 232:
 
  | outer ring excavations | ore = logo_faction_outer_ring_excavations.png
 
  | outer ring excavations | ore = logo_faction_outer_ring_excavations.png
 
  | mordu's legion | mordu = logo_faction_mordus_legion.png
 
  | mordu's legion | mordu = logo_faction_mordus_legion.png
 +
| edencom | edencom = logo_faction_edencom.png
 
<!-- Cartels -->
 
<!-- Cartels -->
 
  | angel cartel | angels = logo_faction_angel_cartel.png
 
  | angel cartel | angels = logo_faction_angel_cartel.png
Line 238: Line 240:
 
<!-- 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 301: Line 304:
 
| 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 326: Line 331:
 
| isis missiles | isis missile launchers = Icon ISIS weapon Missiles.png
 
| isis missiles | isis missile launchers = Icon ISIS weapon Missiles.png
 
| isis projectiles | isis projectile turrets = Icon ISIS weapon Projectileturrets.png
 
| isis projectiles | isis projectile turrets = Icon ISIS weapon Projectileturrets.png
 +
| isis precursor | isis precursor turrets = Icon ISIS Precursor.PNG
 
| isis drones = Icon ISIS weapon Drones.png
 
| isis drones = Icon ISIS weapon Drones.png
 
| isis xl | isis extra large = Icon ISIS size Xlarge.png
 
| isis xl | isis extra large = Icon ISIS size Xlarge.png

Latest revision as of 09:00, 18 January 2023

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?)