Template:Crewimage: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="position: relative; width: 100px; height: 80px; overflow: hidden">{{ #if: {{{3|}}} |[[File:{{{3}}}|{{{4|}}}|link={{nraw|{{{1}}}|{{{2}}}}}]] |[[File:Ro...")
 
m (Protected "Template:Crewimage" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="position: relative; width: 100px; height: 80px; overflow: hidden">{{
<includeonly><div style="background: black; position: relative; width: 100px; height: 80px; overflow: hidden">{{#if: {{{3|}}}
#if: {{{3|}}}
|<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">[[File:{{{3}}}|{{Imagezoom|100|{{{6|}}}}}px|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]]</div>
|[[File:{{{3}}}|{{{4|}}}|link={{nraw|{{{1}}}|{{{2}}}}}]]
|[[File:Roster-blank.jpg|link={{#if: {{{link|}}}|{{{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]].
}}</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>

Latest revision as of 21:04, 30 April 2016

Returns File:Roster-blank.jpg at height of 80px if no roster image is specified for an officer in Template:Crew.