Difference between revisions of "Template:Imageserver/doc"

From EVE University Wiki
Jump to: navigation, search
m (Clarify different blueprints variants.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Description
+
; Description
:This templates allows easy linking to images from EVE Online Image Server.
+
: This templates allows easy linking to images from the EVE Online Image Service.
;Syntax
+
 
:Type <code>{{t|Imageserver|category&#61;|id&#61;|variant&#61;|size&#61;}}</code> somewhere.
+
; Dependencies
 +
:; Uses
 +
:: Image service for EVE Online
 +
:; Used by
 +
:: {{T|ShipArticle}}
 +
:: {{T|ShipBoxLarge}}
 +
:: {{T|ShipBoxTooltip}}
 +
 
 +
; Syntax
 +
: {{T|Imageserver|category|id|variant|size&#61;}}
 +
 
 
; Parameters
 
; Parameters
: <code>category</code>
+
:; category
:: alliances, corporations, characters, or types.
+
:: One of alliances, corporations, characters, or types.
: <code>id</code>
+
:; id
:: 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.
: <code>variant</code>
+
:; 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)
+
:: 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)
: <code>size</code>
+
:; 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 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}}
<includeonly>[[Category:Template|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
; 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>
 +
<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)