Difference between revisions of "Template:Imageserver/doc"
From EVE University Wiki
m (Add dependency. Try to make the parameter description better to understand for inexperienced users. Add {{Cleanup}}.) |
m (Update doc for the use of "anonymous" parameters for the required data.) |
||
Line 9: | Line 9: | ||
; Syntax | ; Syntax | ||
− | : {{T|Imageserver|category | + | : {{T|Imageserver|category|id|variant|size=}} |
; Parameters | ; Parameters | ||
Line 18: | Line 18: | ||
:; 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 blueprints), bpc (for category types that are blueprints), 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| | + | :<code><nowiki>{{Imageserver|types|587|render|size=256}}</nowiki></code> |
::gives... | ::gives... | ||
− | {{Imageserver| | + | {{Imageserver|types|587|render|size=256}} |
<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 11:31, 27 July 2022
This article should be cleaned up or improved.
The reason is: This needs some information about how to obtain the id's
The reason is: This needs some information about how to obtain the id's
- Description
- This templates allows easy linking to images from the EVE Online Image Service.
- Dependencies
-
- Uses
- Image service for EVE Online
- 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.
- 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)
- 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...