More actions
m Add dependency. Try to make the parameter description better to understand for inexperienced users. |
m Add info that this template works for both player and NPC chars. |
||
| Line 2: | Line 2: | ||
; Description | ; Description | ||
: This templates allows easy linking to character portrait images from EVE Online | : This templates allows easy linking to the character portrait images from EVE Online image Sercice. Both player and NPC. | ||
; Dependencies | ; Dependencies | ||
| Line 13: | Line 13: | ||
; Parameters | ; Parameters | ||
:; character id | :; character id | ||
:: EVE Online databaseID of the character you want to show. | :: EVE Online databaseID of the character (Player or NPC) you want to show. | ||
:; 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 22: | ||
::gives... | ::gives... | ||
{{Charimage|94849044|size=64}} | {{Charimage|94849044|size=64}} | ||
<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 12:39, 27 July 2022
This article should be cleaned up or improved.
The reason is: Add information about how to obtain the Character ID
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.
- 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...