Difference between revisions of "Template:Imageserver/doc"

From EVE University Wiki
Jump to: navigation, search
m (Add dependencies.)
m (Add link.)
Line 30: Line 30:
 
; See also
 
; See also
 
: {{T|Charimage}}
 
: {{T|Charimage}}
 +
: Devblog: [https://developers.eveonline.com/blog/article/from-image-server-to-a-whole-new-image-service-1 From Image Server to a Whole New Image Service] (2021-03-11)
 +
: Devblog: [https://developers.eveonline.com/blog/article/upcoming-changes-to-the-image-export-collection Upcoming changes to the Image Export Collection] (2019-07-10)
  
 
<includeonly>[[Category:Image templates]]<!-- Any categories for the template itself --></includeonly>
 
<includeonly>[[Category:Image templates]]<!-- Any categories for the template itself --></includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:13, 12 June 2023

Description
This templates allows easy linking to images from the EVE Online Image Service.
Dependencies
Uses
Image service for EVE Online
Used by
{{ShipBoxLarge}}
{{ShipBoxTooltip}}
Syntax
{{Imageserver|<category>|<id>|<variant>|<size=>}}
Parameters
category
One of alliances, corporations, characters, or types.
id
EVE Online database ID of the thing you want to show. See How to get ID for how to find it.
variant
Aspect of the thing you want to show. logo (for category alliances and corps), portrait (for category characters), icon (for category types), render (for category types that are in space such as ships and structures), bp (for category types that are blueprints), bpc (for category types that are blueprints), relic (for category types that are T3 component blueprints)
size=
Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to image native resolution.

See Image Server esi documentation for more details https://docs.esi.evetech.net/docs/image_server.html

Sample output
{{Imageserver|types|587|render|size=256}}
gives...

?size=256&.png

See also
{{Charimage}}
Devblog: From Image Server to a Whole New Image Service (2021-03-11)
Devblog: Upcoming changes to the Image Export Collection (2019-07-10)