Difference between revisions of "Template:Imageserver/doc"

From EVE University Wiki
Jump to: navigation, search
(category)
Line 17: Line 17:
 
::gives...
 
::gives...
 
{{Imageserver|category=types|id=587|variant=render|size=256}}
 
{{Imageserver|category=types|id=587|variant=render|size=256}}
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Image templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 06:28, 27 July 2022

Description
This templates allows easy linking to images from EVE Online Image Server.
Syntax
Type {{Imageserver|<category=>|<id=>|<variant=>|<size=>}} somewhere.
Parameters
category
alliances, corporations, characters, or types.
id
ID of the thing you want to show.
variant
Aspect of the thing you want to show. logo (alliance/corp), portrait (character), icon (types), render (types that are in space such as ships and structures), bp (types blueprint), bpc (types blueprint), relic (T3 component bpc)
size
Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to image native resolution.

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

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

?size=256&.jpg