Difference between revisions of "Template:Icon"

From EVE University Wiki
Jump to: navigation, search
(Added freighter)
(removed few old brackets, new brackets.)
Line 38: 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 49: Line 49:
 
| br carrier = icon_bracket_carrier.png
 
| br carrier = icon_bracket_carrier.png
 
| br dreadnought | br dread = icon_bracket_dreadnought.png
 
| br dreadnought | br dread = icon_bracket_dreadnought.png
| br supercarrier = icon_bracket_supercarrier.png
+
| br supercarrier = Icon_bracket_supercarrier.png
 
| br titan | bracket titan = icon_bracket_titan.png
 
| br titan | bracket titan = icon_bracket_titan.png
<!-- Obsolete -->
 
| br capital | bracket capital = icon_bracket_capital.png
 
| br supercapital | bracket supercapital = icon_bracket_supercapital.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| bracket sentry = icon_bracket_sentry.png
 +
| br fighter| bracket fighter = icon_bracket_fighter.png
 +
 
 +
<!-- white npc brackets -->
 +
| npc capsule = icon_npc_capsule.png
 +
| npc shuttle = icon_npc_shuttle.png
 +
| npc rookie = icon_npc_rookie.png
 +
| npc frigate = icon_npc_frigate.png
 +
| npc destroyer = icon_npc_destroyer.png
 +
| npc cruiser = icon_npc_cruiser.png
 +
| npc battlecruiser = icon_npc_battlecruiser.png
 +
| npc battleship = icon_npc_battleship.png
 +
| npc carrier = icon_npc_carrier.png
 +
| npc dreadnought | br dread = icon_npc_dreadnought.png
 +
| npc supercarrier = icon_npc_supercarrier.png
 +
| npc titan = icon_npc_titan.png
 +
<!-- Brackets for industrial ships -->
 +
| npc mining frigate = icon_npc_mining_frigate.png
 +
| npc mining barge| bracket mining barge= icon_npc_mining_barge.png
 +
| npc industrial = icon_npc_industrial.png
 +
| npc industrial command = icon_npc_industrial_command_ship.png
 +
| npc industrial capital = icon_npc_industrial_capital.png
 +
<!-- Brackets for sentry towers/drones/fighters -->
 +
| npc sentry  = icon_npc_tower.png
 +
| npc drone = icon_npc_drone.png
 +
| npc sentry = icon_npc_sentry.png
 +
| npc fighter = icon_npc_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 71: Line 98:
 
| red battleship = icon_red_battleship.png
 
| red battleship = icon_red_battleship.png
 
| red carrier = icon_red_carrier.png
 
| red carrier = icon_red_carrier.png
| red dreadnought | red dread = icon_red_dreadnought.png
+
| red dreadnought | br dread = icon_red_dreadnought.png
 
| red supercarrier = icon_red_supercarrier.png
 
| red supercarrier = icon_red_supercarrier.png
 
| red titan = icon_red_titan.png
 
| red titan = icon_red_titan.png
| red capital = icon_red_capital.png
+
<!-- Brackets for industrial ships -->
| red supercapital = icon_red_supercapital.png
 
<!-- Red 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 = icon_red_sentry.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 93: Line 123:
 
| blue battleship = icon_blue_battleship.png
 
| blue battleship = icon_blue_battleship.png
 
| blue carrier = icon_blue_carrier.png
 
| blue carrier = icon_blue_carrier.png
| blue dreadnought | red dread = icon_blue_dreadnought.png
+
| blue dreadnought | br dread = icon_blue_dreadnought.png
 
| blue supercarrier = icon_blue_supercarrier.png
 
| blue supercarrier = icon_blue_supercarrier.png
 
| blue titan = icon_blue_titan.png
 
| blue titan = icon_blue_titan.png
| blue capital = icon_blue_capital.png
+
<!-- Brackets for industrial ships -->
| blue supercapital = icon_blue_supercapital.png
 
<!-- Blue 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 = icon_blue_sentry.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

Revision as of 10:23, 20 September 2018

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