Difference between revisions of "Template:Icon"
From EVE University Wiki
(npc -> white) |
|||
Line 63: | Line 63: | ||
| br fighter| bracket fighter = icon_bracket_fighter.png | | br fighter| bracket fighter = icon_bracket_fighter.png | ||
− | <!-- white npc brackets --> | + | <!-- white (npc) brackets --> |
− | | | + | | white capsule = icon_white_capsule.png |
− | | | + | | white shuttle = icon_white_shuttle.png |
− | | | + | | white rookie = icon_white_rookie.png |
− | | | + | | white frigate = icon_white_frigate.png |
− | | | + | | white destroyer = icon_white_destroyer.png |
− | | | + | | white cruiser = icon_white_cruiser.png |
− | | | + | | white battlecruiser = icon_white_battlecruiser.png |
− | | | + | | white battleship = icon_white_battleship.png |
− | | | + | | white carrier = icon_white_carrier.png |
− | | | + | | white dreadnought | br dread = icon_white_dreadnought.png |
− | | | + | | white supercarrier = icon_white_supercarrier.png |
− | | | + | | white titan = icon_white_titan.png |
<!-- Brackets for industrial ships --> | <!-- Brackets for industrial ships --> | ||
− | | | + | | white mining frigate = icon_white_mining_frigate.png |
− | | | + | | white mining barge| bracket mining barge= icon_white_mining_barge.png |
− | | | + | | white industrial = icon_white_industrial.png |
− | | | + | | white industrial command = icon_white_industrial_command_ship.png |
− | | | + | | white industrial capital = icon_white_industrial_capital.png |
<!-- Brackets for sentry towers/drones/fighters --> | <!-- Brackets for sentry towers/drones/fighters --> | ||
− | | | + | | white sentry = icon_white_tower.png |
− | | | + | | white drone = icon_white_drone.png |
− | | | + | | white drone sentry = icon_white_drone_sentry.png |
− | | | + | | white fighter = icon_white_fighter.png |
<!-- Red npc brackets --> | <!-- Red npc brackets --> |
Revision as of 11:07, 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)
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}}
→ (it will use the default size and no mouse-over tooltip){{icon|||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!}}
→ (smaller icon, could be used inside a paragraph without breaking the line height)