Difference between revisions of "Template:Imageserver/doc"

From EVE University Wiki
Jump to: navigation, search
m (Add dependency. Try to make the parameter description better to understand for inexperienced users. Add {{Cleanup}}.)
m (Clarify different blueprints variants.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Cleanup|This needs some information about how to obtain the id's}}
 
 
 
; Description
 
; Description
 
: This templates allows easy linking to images from the EVE Online Image Service.
 
: This templates allows easy linking to images from the EVE Online Image Service.
Line 7: Line 5:
 
:; Uses
 
:; Uses
 
:: Image service for EVE Online
 
:: Image service for EVE Online
 +
:; Used by
 +
:: {{T|ShipArticle}}
 +
:: {{T|ShipBoxLarge}}
 +
:: {{T|ShipBoxTooltip}}
  
 
; Syntax
 
; Syntax
: {{T|Imageserver|category=|id=|variant=|size=}}
+
: {{T|Imageserver|category|id|variant|size=}}
  
 
; Parameters
 
; Parameters
Line 15: Line 17:
 
:: One of alliances, corporations, characters, or types.
 
:: One of alliances, corporations, characters, or types.
 
:; id
 
:; id
:: EVE Online database ID of the thing you want to  show.
+
:: 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.
 
See Image Server esi documentation for more details https://docs.esi.evetech.net/docs/image_server.html
 
See Image Server esi documentation for more details https://docs.esi.evetech.net/docs/image_server.html
  
 
;Sample output
 
;Sample output
:<code><nowiki>{{Imageserver|category=types|id=587|variant=render|size=256}}</nowiki></code>
+
:<code><nowiki>{{Imageserver|types|587|render|size=256}}</nowiki></code>
 
::gives...
 
::gives...
{{Imageserver|category=types|id=587|variant=render|size=256}}
+
{{Imageserver|types|587|render|size=256}}
 +
 
 +
; See also
 +
: {{T|Charimage}}
 +
: {{T|Renderimage}}
 +
: 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 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)