858
edits
(Undo revision 343975 by Noa T'Nessa Levinson (talk) Trimming doesn't work here, trying it on the other template) Tag: Undo |
(Replacing default width to 65px to match the original Template:ID Portrait) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{IMAGE|}}}|{{Crop|{{{IMAGE|}}}|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}| | <includeonly>{{#if: {{{IMAGE|}}}|{{Crop|{{{IMAGE|}}}|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|65}}|{{#expr: {{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|65}} * 0.8 round 0}}|{{#if: {{{MOVE UP|}}}|{{#expr: ({{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|65}} / 83) * {{{MOVE UP|}}} round 0}}|0}}|{{#if: {{{MOVE LEFT|}}}|{{#expr: ({{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|65}} / 83) * {{{MOVE LEFT|}}} round 0}}|0}}|{{{ZOOM|}}}|link={{{NAME|}}}}}|[[File:Roster-blank.jpg|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|65}}px|link={{{NAME|}}}]]}}</includeonly><noinclude>Displays just the portrait from a [[:Category:ID subpages|character's ID subpage]], with custom image sizes. | ||
[[Category:Wiki System Templates]]</noinclude> | [[Category:Wiki System Templates]]</noinclude> |
edits