Template:Crewimage-rosteradjustment: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|<div style="position: relative; left: {{#if:{{{5|}}}|-{{#expr: 1.2 * {{{5|}}} }}px|0px}}; top: {{#if:{{{4|}}}|-{{#expr: 1.2 * {{{4|}}} }}px|0px}};">[[File:{{{3}}}|{{#if: {{{6|}}}|{{Imagezoom|100|{{#expr: 1.2 * {{{6|}}} }}}}px|100px}}|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]]</div> | |<div style="position: relative; left: {{#if:{{{5|}}}|-{{#expr: 1.2 * {{{5|}}} }}px|0px}}; top: {{#if:{{{4|}}}|-{{#expr: 1.2 * {{{4|}}} }}px|0px}};">[[File:{{{3}}}|{{#if: {{{6|}}}|{{Imagezoom|100|{{#expr: 1.2 * {{{6|}}} }}}}px|100px}}|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]]</div> | ||
|[[File:Roster-blank.jpg|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]] | |[[File:Roster-blank.jpg|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]] | ||
}}</div></includeonly><noinclude>Returns [[:File:Roster-blank.jpg]] at height of 80px if no | }}</div></includeonly><noinclude>Adjusts the images from [[Template:Roster]] to fit [[Template:Crew]] using the numbers specified on a character's ID subpage. Returns [[:File:Roster-blank.jpg]] at height of 80px if no image specified on the ID subpage. | ||
[[Category:Wiki System Templates]] | [[Category:Wiki System Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 05:00, 20 July 2015
Adjusts the images from Template:Roster to fit Template:Crew using the numbers specified on a character's ID subpage. Returns File:Roster-blank.jpg at height of 80px if no image specified on the ID subpage.