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:...") |
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: -{{#expr: 1.2 * {{{5}}} }}px; top: -{{#expr: 1.2 * {{{4}}} }}px;">[[File:{{{3}}}|{{Imagezoom|100|{{#expr: 1.2 * {{{6|}}} }}}}px|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]]</div> | |<div style="position: relative; left: -{{#expr: 1.2 * {{{5}}} }}px; top: -{{#expr: 1.2 * {{{4}}} }}px;">[[File:{{{3}}}|{{Imagezoom|100|{{#if: {{{6|}}}|{{#expr: 1.2 * {{{6|}}} }}|}}}}px|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 [[:Category:Roster images|roster image]] is specified for an officer in [[Template:Crew]]. | }}</div></includeonly><noinclude>Returns [[:File:Roster-blank.jpg]] at height of 80px if no [[:Category:Roster images|roster image]] is specified for an officer in [[Template:Crew]]. | ||
[[Category:Wiki System Templates]] | [[Category:Wiki System Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 04:45, 20 July 2015
Returns File:Roster-blank.jpg at height of 80px if no roster image is specified for an officer in Template:Crew.