858
edits
(Creation of template page, code moved from my sandbox3.) |
(Adding trimming) Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{IMAGE|}}}|{{Crop|{{{IMAGE|}}}|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}}|{{#expr: {{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}} * 0.8 round 0}}|{{#if: {{{MOVE UP|}}}|{{#expr: ({{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}} / 83) * {{{MOVE UP|}}} round 0}}|0}}|{{#if: {{{MOVE LEFT|}}}|{{#expr: ({{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}} / 83) * {{{MOVE LEFT|}}} round 0}}|0}}|{{{ZOOM|}}}|link={{{NAME|}}}}}|[[File:Roster-blank.jpg|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}}px|link={{{NAME|}}}]]}}</includeonly><noinclude>Displays just the portrait from a [[:Category:ID subpages|character's ID subpage]], with custom image sizes. | <includeonly>{{Trim|{{#if: {{{IMAGE|}}}|{{Crop|{{{IMAGE|}}}|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}}|{{#expr: {{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}} * 0.8 round 0}}|{{#if: {{{MOVE UP|}}}|{{#expr: ({{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}} / 83) * {{{MOVE UP|}}} round 0}}|0}}|{{#if: {{{MOVE LEFT|}}}|{{#expr: ({{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}} / 83) * {{{MOVE LEFT|}}} round 0}}|0}}|{{{ZOOM|}}}|link={{{NAME|}}}}}|[[File:Roster-blank.jpg|{{#if: {{ifnumber|{{{COLOR|}}}|a}}|{{{COLOR|}}}|100}}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