Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Charimage/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
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>