Difference between revisions of "Template:Icon"

From EVE University Wiki
Jump to: navigation, search
m
Line 139: Line 139:
 
}}|{{#switch: {{{2|}}} | = 32 | #default = {{{2}}}}}px|{{#switch: {{{3|}}} |  =  | #default = {{{3}}}}}]]<noinclude>
 
}}|{{#switch: {{{2|}}} | = 32 | #default = {{{2}}}}}px|{{#switch: {{{3|}}} |  =  | #default = {{{3}}}}}]]<noinclude>
  
== Syntax ==
+
= Syntax =
:The function takes up to three parameters. Each of the parameters are optional, while still allowing for some customization if need be.
+
The function takes up to three parameters. Each of the parameters are optional, while still allowing for some customization if need be.
<pre><nowiki>{{icon | type | size | hint}}</nowiki></pre>
+
{{code|<nowiki>{{ icon | type | size | hint }}</nowiki>}}
 
=== Parameters ===
 
=== Parameters ===
 
;type
 
;type
Line 157: Line 157:
 
* <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)''
 
* <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 ===
+
= List of icons =
 
Below is a list of icons sorted by type. The "size" column lists the maximum size each icon should be used at.  
 
Below is a list of icons sorted by type. The "size" column lists the maximum size each icon should be used at.  
==== Electronic Warfare ====
+
== Electronic Warfare ==
 
{| class="wikitable" style="font-size:90%;"
 
{| class="wikitable" style="font-size:90%;"
 
|-
 
|-
Line 207: Line 207:
 
| 64px
 
| 64px
 
|}
 
|}
==== Assistance ====
+
== Assistance ==
 
{| class="wikitable" style="font-size:90%;"
 
{| class="wikitable" style="font-size:90%;"
 
|-
 
|-
Line 230: Line 230:
 
| 64px
 
| 64px
 
|}
 
|}
==== Ships ====
+
== Ships & NPC ==
 
{| class="wikitable" style="font-size:90%;"
 
{| class="wikitable" style="font-size:90%;"
 
|-
 
|-
Line 251: Line 251:
 
| style="background:#333333;" | <nowiki>{{icon|large target|16}}</nowiki>
 
| style="background:#333333;" | <nowiki>{{icon|large target|16}}</nowiki>
 
| {{icon|large target|16}}
 
| {{icon|large target|16}}
 +
| 16px
 +
|-
 +
| Small neutral
 +
| style="background:#333333;" | <nowiki>{{icon|small neutral|16}}</nowiki>
 +
| {{icon|small neutral|16}}
 +
| 16px
 +
|-
 +
| Medium neutral
 +
| style="background:#333333;" | <nowiki>{{icon|medium neutral|16}}</nowiki>
 +
| {{icon|medium neutral|16}}
 +
| 16px
 +
|-
 +
| Large neutral
 +
| style="background:#333333;" | <nowiki>{{icon|large neutral|16}}</nowiki>
 +
| {{icon|large neutral|16}}
 +
| 16px
 +
|-
 +
| Small player ship
 +
| style="background:#333333;" | <nowiki>{{icon|small player ship|16}}</nowiki>
 +
| {{icon|small player ship|16}}
 +
| 16px
 +
|-
 +
| Medium player ship
 +
| style="background:#333333;" | <nowiki>{{icon|medium player ship|16}}</nowiki>
 +
| {{icon|medium player ship|16}}
 +
| 16px
 +
|-
 +
| Large player ship
 +
| style="background:#333333;" | <nowiki>{{icon|large player ship|16}}</nowiki>
 +
| {{icon|large player ship|16}}
 +
| 16px
 +
|-
 +
| Large industrial player ship
 +
| style="background:#333333;" | <nowiki>{{icon|large industrial player ship|16}}</nowiki>
 +
| {{icon|large industrial player ship|16}}
 
| 16px
 
| 16px
 
|-
 
|-
Line 259: Line 294:
 
|}
 
|}
  
==== Resists ====
+
== Resists & Damages ==
 
{| class="wikitable" style="font-size:90%;"
 
{| class="wikitable" style="font-size:90%;"
 
|-
 
|-
! style="background:#222222;" | Name
+
! style="background:#222222;" rowspan="2" | Name /<br>Category
 +
! style="background:#111111;" colspan="3" | Resists
 +
! style="background:#111111;" colspan="3" | Damages
 +
|-
 +
! style="background:#222222;" | Syntax
 +
! style="background:#222222;" | Icon
 +
! style="background:#222222;" | Size
 
! style="background:#222222;" | Syntax
 
! style="background:#222222;" | Syntax
 
! style="background:#222222;" | Icon
 
! style="background:#222222;" | Icon
Line 270: Line 311:
 
| style="background:#333333;" | <nowiki>{{icon|em resist}}</nowiki>
 
| style="background:#333333;" | <nowiki>{{icon|em resist}}</nowiki>
 
| {{icon|em resist}}
 
| {{icon|em resist}}
 +
| 32px
 +
| style="background:#333333;" | <nowiki>{{icon|em damage}}</nowiki>
 +
| {{icon|em damage}}
 
| 32px
 
| 32px
 
|-
 
|-
Line 275: Line 319:
 
| style="background:#333333;" | <nowiki>{{icon|th resist}}</nowiki>
 
| style="background:#333333;" | <nowiki>{{icon|th resist}}</nowiki>
 
| {{icon|th resist}}
 
| {{icon|th resist}}
 +
| 32px
 +
| style="background:#333333;" | <nowiki>{{icon|th damage}}</nowiki>
 +
| {{icon|th damage}}
 
| 32px
 
| 32px
 
|-
 
|-
Line 280: Line 327:
 
| style="background:#333333;" | <nowiki>{{icon|ex resist}}</nowiki>
 
| style="background:#333333;" | <nowiki>{{icon|ex resist}}</nowiki>
 
| {{icon|ex resist}}
 
| {{icon|ex resist}}
 +
| 32px
 +
| style="background:#333333;" | <nowiki>{{icon|ex damage}}</nowiki>
 +
| {{icon|ex damage}}
 
| 32px
 
| 32px
 
|-
 
|-
Line 285: Line 335:
 
| style="background:#333333;" | <nowiki>{{icon|ki resist}}</nowiki>
 
| style="background:#333333;" | <nowiki>{{icon|ki resist}}</nowiki>
 
| {{icon|ki resist}}
 
| {{icon|ki resist}}
 +
| 32px
 +
| style="background:#333333;" | <nowiki>{{icon|ki damage}}</nowiki>
 +
| {{icon|ki damage}}
 
| 32px
 
| 32px
 
|}
 
|}
==== Fitting ====
+
== Fitting ==
 
{| class="wikitable" style="font-size:90%;"
 
{| class="wikitable" style="font-size:90%;"
 
|-
 
|-

Revision as of 13:43, 28 November 2013

Icon stasis webifier i.png

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)

List of icons

Below is a list of icons sorted by type. The "size" column lists the maximum size each icon should be used at.

Electronic Warfare

Name Syntax Icon Size
Warp scrambler {{icon|warp scrambler}} Icon warp scrambler i.png 64px
Warp disruptor {{icon|warp disruptor}} Icon warp disruptor i.png 64px
Stasis webifier {{icon|stasis webifier}} Icon stasis webifier i.png 64px
ECM / Jamming {{icon|ecm}} File:Icon multispectral ecm i.png 64px
Remote ECM burst {{icon|remote ecm burst}} Icon remote ecm burst i.png 64px
Target painter {{icon|target painter}} Icon target painter i.png 64px
Energy vampire {{icon|energy vampire}} Vamp.png 64px
Energy neutralizer {{icon|energy neutralizer}} Icon energy neutralizer i.png 64px

Assistance

Name Syntax Icon Size
Remote armor repair {{icon|remote armor repair}} Icon remote armor repair i.png 64px
Shield transporter {{icon|shield transporter}} Icon shield transporter i.png 64px
Warfare link {{icon|warfare link}} Warfare-links.png 64px

Ships & NPC

Name Syntax Icon Size
Small target {{icon|small target|16}} Icon target frigate.png 16px
Medium target {{icon|medium target|16}} Icon target cruiser.png 16px
Large target {{icon|large target|16}} Icon target battleship.png 16px
Small neutral {{icon|small neutral|16}} Icon small neutral ship.png 16px
Medium neutral {{icon|medium neutral|16}} Icon medium neutral ship.png 16px
Large neutral {{icon|large neutral|16}} Icon large neutral ship.png 16px
Small player ship {{icon|small player ship|16}} Icon small ship.png 16px
Medium player ship {{icon|medium player ship|16}} Icon medium ship.png 16px
Large player ship {{icon|large player ship|16}} File:Icon large ship.png 16px
Large industrial player ship {{icon|large industrial player ship|16}} File:Icon capital ship.png 16px
Fighters/Fighter-bombers {{icon|fighter}} Icon drone bandwidth.png 64px

Resists & Damages

Name /
Category
Resists Damages
Syntax Icon Size Syntax Icon Size
Electromagnetic {{icon|em resist}} Icon resist em.png 32px {{icon|em damage}} Icon damage em.png 32px
Thermal {{icon|th resist}} Icon resist therm.png 32px {{icon|th damage}} Icon damage therm.png 32px
Explosive {{icon|ex resist}} Icon resist exp.png 32px {{icon|ex damage}} Icon damage exp.png 32px
Kinetic {{icon|ki resist}} Icon resist kin.png 32px {{icon|ki damage}} Icon damage kin.png 32px

Fitting

Name Syntax Icon Size
Powergrid {{icon|powergrid}} Icon powergrid.png 32px
CPU {{icon|cpu}} Icon cpu.png 32px