Difference between revisions of "Template:Imageserver/doc"
From EVE University Wiki
(category) |
m (Add dependency. Try to make the parameter description better to understand for inexperienced users. Add {{Cleanup}}.) |
||
Line 1: | Line 1: | ||
− | ;Description | + | {{Cleanup|This needs some information about how to obtain the id's}} |
− | :This templates allows easy linking to images from EVE Online Image | + | |
− | ;Syntax | + | ; Description |
− | : | + | : This templates allows easy linking to images from the EVE Online Image Service. |
+ | |||
+ | ; Dependencies | ||
+ | :; Uses | ||
+ | :: Image service for EVE Online | ||
+ | |||
+ | ; Syntax | ||
+ | : {{T|Imageserver|category=|id=|variant=|size=}} | ||
+ | |||
; Parameters | ; Parameters | ||
− | : | + | :; category |
− | :: alliances, corporations, characters, or types. | + | :: One of alliances, corporations, characters, or types. |
− | : | + | :; id |
− | :: ID of the thing you want to show. | + | :: EVE Online database ID of the thing you want to show. |
− | : | + | :; variant |
− | :: Aspect of the thing you want to show. logo ( | + | :: 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. | :: 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|category=types|id=587|variant=render|size=256}}</nowiki></code> | ||
::gives... | ::gives... | ||
{{Imageserver|category=types|id=587|variant=render|size=256}} | {{Imageserver|category=types|id=587|variant=render|size=256}} | ||
− | <includeonly>[[Category:Image templates | + | |
− | <noinclude>[[Category:Template documentation | + | <includeonly>[[Category:Image templates]]<!-- Any categories for the template itself --></includeonly> |
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 10:52, 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|category=types|id=587|variant=render|size=256}}
- gives...