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

Template:Charimage/doc: Difference between revisions

Template page
m Add info that this template works for both player and NPC chars.
Hirmuolio Pine (talk | contribs)
Link How to get ID
Line 13: Line 13:
; Parameters
; Parameters
:; character id
:; character id
:: EVE Online databaseID of the character (Player or NPC) you want to show.
:: EVE Online databaseID of the character (Player or NPC) you want to show. See [[How to get ID]] for how to find it.
:; size
:; size
:: Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to 256.
:: Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to 256.

Revision as of 20:34, 27 July 2022

This article should be cleaned up or improved.
The reason is: Add information about how to obtain the Character ID
Description
This templates allows easy linking to the character portrait images from EVE Online image Sercice. Both player and NPC.
Dependencies
Uses
Image service for EVE Online
Syntax
{{Charimage|<character id>|<size=>}}
Parameters
character id
EVE Online databaseID of the character (Player or NPC) you want to show. See How to get ID for how to find it.
size
Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to 256.

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

Sample
{{Charimage|94849044|size=64}}
gives...

?size=64&.jpg