Template:ID Portrait: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{switch|}}}
<includeonly>{{#switch: {{{2|}}}
|83={{:{{{1}}}/ID|TEMPLATE=Member Portrait-100}}
|83={{:{{{1}}}/ID|TEMPLATE=Member Portrait-83}}
|100={{:{{{1}}}/ID|TEMPLATE=Member Portrait-100}}
|100={{:{{{1}}}/ID|TEMPLATE=Member Portrait-100}}
|{{:{{{1}}}/ID|TEMPLATE=Member Portrait}}}}</includeonly><noinclude>Creates portrait as specified from a character's [[:Category:ID subpages|ID subpage]].
|{{:{{{1}}}/ID|TEMPLATE=Member Portrait}}}}</includeonly><noinclude>Creates portrait as specified from a character's [[:Category:ID subpages|ID subpage]].

Latest revision as of 05:43, 8 May 2019

Creates portrait as specified from a character's ID subpage.

Example

{{ID Portrait|Roshanara Rahman}}
Rahman-Official-Portrait-2397.png

You can make the portrait the size of a standard crew tile image by adding "100" as a second parameter (returning an image of 100px width).

{{ID Portrait|Roshanara Rahman|100}}
Rahman-Official-Portrait-2397.png

You can make the portrait the size of a standard manifest image by adding "83" as a second parameter (returning an image of 83px width).

{{ID Portrait|Roshanara Rahman|83}}
Rahman-Official-Portrait-2397.png