Template:Rosterimage: Difference between revisions
Jump to navigation
Jump to search
(change to crop and resize by width instead) |
m (Protected "Template:Rosterimage" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{3|}}} | <includeonly><div style="position: relative; width: 75px; height: 60px; overflow: hidden">{{#if: {{{3|}}} | ||
|[[File:{{{3}}}| | |<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">[[File:{{{3}}}|{{Imagezoom|75|{{{6|}}}}}px|link={{nraw|{{{1}}}|{{{2}}}}}]]</div> | ||
|[[File:Roster-blank.jpg|75px|link={{nraw|{{{1}}}|{{{2}}}}}]] | |[[File:Roster-blank.jpg|75px|link={{nraw|{{{1}}}|{{{2}}}}}]] | ||
}}</includeonly><noinclude>Returns [[:File:Roster-blank.jpg]] at | }}</div></includeonly><noinclude>Returns [[:File:Roster-blank.jpg]] at width of 75px if no [[:Category:Roster images|roster image]] is specified for an officer in [[Template:CrewHistory]]. | ||
[[Category:Wiki System Templates]] | [[Category:Wiki System Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:48, 30 April 2016
Returns File:Roster-blank.jpg at width of 75px if no roster image is specified for an officer in Template:CrewHistory.