Difference between revisions of "Template:Charimage/doc"

From EVE University Wiki
Jump to: navigation, search
m (Add info that this template works for both player and NPC chars.)
m (Add link.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Cleanup|Add information about how to obtain the Character ID}}
 
 
 
; Description
 
; Description
: This templates allows easy linking to the character portrait images from EVE Online image Sercice. Both player and NPC.
+
: This templates allows easy linking to the character portrait images from EVE Online image Service. Both player and NPC.
  
 
; Dependencies
 
; Dependencies
Line 13: Line 11:
 
; 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.
Line 22: Line 20:
 
::gives...
 
::gives...
 
{{Charimage|94849044|size=64}}
 
{{Charimage|94849044|size=64}}
 +
 +
; See also
 +
: {{T|Imageserver}}
 +
: 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>

Latest revision as of 09:14, 12 June 2023

Description
This templates allows easy linking to the character portrait images from EVE Online image Service. 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

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