Template:Crewimage-rosteradjustment: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="background: black; position: relative; width: 100px; height: 80px; overflow: hidden">{{#if: {{{3|}}} | <includeonly><div style="background: black; position: relative; width: 100px; height: 80px; overflow: hidden">{{#if: {{{3|}}} | ||
|<div style="position: relative; left: {{#if:{{{5|}}}|-{{#expr: 1.2 * {{{5|}}} | |<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|{{{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>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. | }}</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 00:05, 21 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.