Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon: Difference between revisions

Template page
mNo edit summary
No edit summary
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%;"
|-
|-