Difference between revisions of "Template:Icon"
From EVE University Wiki
(Extracted) |
Salartarium (talk | contribs) m (add old icons to old template) |
||
(One intermediate revision by one other user not shown) | |||
Line 143: | Line 143: | ||
| br region | bracket region = icon_bracket_region.png | | br region | bracket region = icon_bracket_region.png | ||
| br solar system | bracket solar system = icon_bracket_solar_system.png | | br solar system | bracket solar system = icon_bracket_solar_system.png | ||
− | <!-- Structures and other | + | <!-- Structures and other brackets --> |
− | | br acceleration gate | bracket acceleration gate = | + | | br acceleration gate | bracket acceleration gate = icon bracket accelerationgate.png |
− | | br asteroid | bracket asteroid = | + | | br asteroid | bracket asteroid = Icon_bracket_asteroid.png |
− | | br asteroid field | bracket asteroid field = | + | | br asteroid field | bracket asteroid field = Icon_bracket_asteroidfield.png |
− | | br beacon | bracket beacon = | + | | br beacon | bracket beacon = Icon_bracket_beacon.png |
− | | br billboard | bracket billboard = | + | | br billboard | bracket billboard = Icon_bracket_billboard.png |
− | | br container | bracket container = | + | | br container | bracket container = Icon_bracket_container.png |
− | | br red container | bracket red container = | + | | br red container | bracket red container = Icon_bracket_container_red.png |
− | | br moon | bracket moon = | + | | br moon | bracket moon = Icon_bracket_moon.png |
− | | br stargate | bracket stargate = | + | | br stargate | bracket stargate = Icon_bracket_stargate.png |
− | | br station | bracket station = | + | | br station | bracket station = Icon_bracket_station.png |
− | | br structure | bracket structure = | + | | br structure | bracket structure = Icon_bracket_structure.png |
− | | br tower | bracket tower = | + | | br tower | bracket tower = Icon_bracket_tower.png |
− | | br force field | bracket force field = | + | | br force field | bracket force field = Icon_bracket_forcefield.png |
− | | br wormhole | bracket wormhole = | + | | br wormhole | bracket wormhole = Icon_bracket_wormhole.png |
| br gas cloud | bracket gas cloud = Gas_cloud.png | | br gas cloud | bracket gas cloud = Gas_cloud.png | ||
− | | br hackable | bracket hackable = | + | | br hackable | bracket hackable = Icon_bracket_hackable.png |
− | | br agent| bracket agent= | + | | br agent| bracket agent= Icon_bracket_agent.png |
<!-- | <!-- | ||
Line 232: | Line 232: | ||
| outer ring excavations | ore = logo_faction_outer_ring_excavations.png | | outer ring excavations | ore = logo_faction_outer_ring_excavations.png | ||
| mordu's legion | mordu = logo_faction_mordus_legion.png | | mordu's legion | mordu = logo_faction_mordus_legion.png | ||
+ | | edencom | edencom = logo_faction_edencom.png | ||
<!-- Cartels --> | <!-- Cartels --> | ||
| angel cartel | angels = logo_faction_angel_cartel.png | | angel cartel | angels = logo_faction_angel_cartel.png | ||
Line 330: | Line 331: | ||
| isis missiles | isis missile launchers = Icon ISIS weapon Missiles.png | | isis missiles | isis missile launchers = Icon ISIS weapon Missiles.png | ||
| isis projectiles | isis projectile turrets = Icon ISIS weapon Projectileturrets.png | | isis projectiles | isis projectile turrets = Icon ISIS weapon Projectileturrets.png | ||
+ | | isis precursor | isis precursor turrets = Icon ISIS Precursor.PNG | ||
| isis drones = Icon ISIS weapon Drones.png | | isis drones = Icon ISIS weapon Drones.png | ||
| isis xl | isis extra large = Icon ISIS size Xlarge.png | | isis xl | isis extra large = Icon ISIS size Xlarge.png |
Latest revision as of 09:00, 18 January 2023
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)