Template:ID Portrait: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}}|{{:{{{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]].
<includeonly>{{#if: {{{switch|}}}
|83={{:{{{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]].
===Example===
===Example===
<pre>{{ID Portrait|Roshanara Rahman}}</pre>
<pre>{{ID Portrait|Roshanara Rahman}}</pre>
Line 5: Line 8:
{{ID Portrait|Roshanara Rahman}}
{{ID Portrait|Roshanara Rahman}}


You can make the portrait the size of a standard crew tile image by adding a second parameter (any second parameter will trigger the larger image).
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).


<pre>{{ID Portrait|Roshanara Rahman|big}}</pre>
<pre>{{ID Portrait|Roshanara Rahman|100}}</pre>


{{ID Portrait|Roshanara Rahman|big}}
{{ID Portrait|Roshanara Rahman|100}}
 
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).
 
<pre>{{ID Portrait|Roshanara Rahman|83}}</pre>
 
{{ID Portrait|Roshanara Rahman|83}}
   
   
[[Category:Wiki Templates]]</noinclude>
[[Category:Wiki Templates]]</noinclude>

Navigation menu