Template:Crewimage-rosteradjustment: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div style="background: black; position: relative; width: 100px; height: 80px; overflow: hidden">{{#if: {{{3|}}} |<div style="position: relative; left: -{{#expr:...") |
m (Protected "Template:Crewimage-rosteradjustment" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(9 intermediate revisions by the same user not shown) | |||
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: -{{#expr: 1.2 * {{{5}}} }}px; top: -{{#expr: 1.2 * {{{4}}} }}px;">[[File:{{{3}}}|{{Imagezoom|100| | |<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>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> |
Latest revision as of 21:04, 30 April 2016
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.