Difference between revisions of "Template:Charimage/doc"

From EVE University Wiki
Jump to: navigation, search
(Additional explanation needed)
m (Add dependency. Try to make the parameter description better to understand for inexperienced users.)
Line 1: Line 1:
 
{{Cleanup|Add information about how to obtain the Character ID}}
 
{{Cleanup|Add information about how to obtain the Character ID}}
  
;Description
+
; Description
:This templates allows easy linking to character portrait images from EVE Online Image Server.
+
: This templates allows easy linking to character portrait images from EVE Online Image Server.
;Syntax
+
 
:Type <code>{{t|Charimage|character id|size&#61;}}</code> somewhere.
+
; Dependencies
 +
:; Uses
 +
:: Image service for EVE Online
 +
 
 +
; Syntax
 +
: {{T|Charimage|character id|size&#61;}}
 +
 
 
; Parameters
 
; Parameters
: <code>character id</code>
+
:; character id
:: ID of the character you want to show.
+
:: EVE Online databaseID of the character you want to show.
: <code>size</code>
+
:; size
 
:: Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to 256.
 
:: Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to 256.
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
 
:<code><nowiki>{{Charimage|94849044|size=64}}</nowiki></code>
 
:<code><nowiki>{{Charimage|94849044|size=64}}</nowiki></code>
 
::gives...
 
::gives...
 
{{Charimage|94849044|size=64}}
 
{{Charimage|94849044|size=64}}
<includeonly>[[Category:Image templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Image templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:17, 27 July 2022

This article should be cleaned up or improved.
The reason is: Add information about how to obtain the Character ID
Description
This templates allows easy linking to character portrait images from EVE Online Image Server.
Dependencies
Uses
Image service for EVE Online
Syntax
{{Charimage|<character id>|<size=>}}
Parameters
character id
EVE Online databaseID of the character you want to show.
size
Optional image size in pixels. Valid sizes are 32, 64, 128, 256, 512, and 1024. Defaults to 256.

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

Sample
{{Charimage|94849044|size=64}}
gives...

?size=64&.jpg