Difference between revisions of "Template:Imageserver/doc"

From EVE University Wiki
Jump to: navigation, search
m (Update dependencies. Add link.)
m (Clarify different blueprints variants.)
 
Line 19: Line 19:
 
:: EVE Online database ID of the thing you want to  show. See [[How to get ID]] for how to find it.
 
:: EVE Online database ID of the thing you want to  show. See [[How to get ID]] for how to find it.
 
:; variant
 
:; 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)
+
:: 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 blueprint originals), bpc (for category types that are blueprint copies), relic (for category types that are T3 component blueprints)
 
:; size=
 
:; size=
 
:: Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to image native resolution.
 
:: Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to image native resolution.

Latest revision as of 11:14, 7 April 2024

Description
This templates allows easy linking to images from the EVE Online Image Service.
Dependencies
Uses
Image service for EVE Online
Used by
{{ShipArticle}}
{{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 blueprint originals), bpc (for category types that are blueprint copies), 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}}
{{Renderimage}}
Devblog: From Image Server to a Whole New Image Service (2021-03-11)
Devblog: Upcoming changes to the Image Export Collection (2019-07-10)