Difference between revisions of "Template:Icon"

From EVE University Wiki
Jump to: navigation, search
(Added agent bracet)
(Sensor booster and remote sensor booster are now same)
Line 11: 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 221: Line 220:
 
  | 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

Revision as of 18:43, 29 April 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?)