Template:Crewimage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(change to crop and resize by width instead) |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative; width: 100px; height: 80px; overflow: hidden">{{#if: {{{3|}}} | <includeonly><div style="position: relative; width: 100px; height: 80px; overflow: hidden">{{#if: {{{3|}}} | ||
|[[File:{{{3}}}| | |[[File:{{{3}}}|100px|link={{nraw|{{{1}}}|{{{2}}}}}]] | ||
|[[File:Roster-blank.jpg|link={{nraw|{{{1}}}|{{{2}}}}}]] | |[[File:Roster-blank.jpg|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 23:33, 29 January 2014
Returns File:Roster-blank.jpg at height of 80px if no roster image is specified for an officer in Template:Crew.