Template:Manifestimage: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="position: relative; width: 75px; height: 66px; overflow: hidden">{{#if: {{{3|}}} |<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">...")
 
m (Protected "Template:Manifestimage" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="position: relative; width: 75px; height: 66px; overflow: hidden">{{#if: {{{3|}}}
<includeonly><div style="background: black; position: relative; width: 83px; height: 66px; overflow: hidden">{{#if: {{{3|}}}
|<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">[[File:{{{3}}}|{{Imagezoom|75|{{{6|}}}}}px|link={{nraw|{{{1}}}|{{{2}}}}}]]</div>
|<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">[[File:{{{3}}}|{{Imagezoom|83|{{{6|}}}}}px|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]]</div>
|[[File:Roster-blank.jpg|75px|link={{nraw|{{{1}}}|{{{2}}}}}]]
|[[File:Roster-blank.jpg|83px|link={{#if: {{{link|}}}|{{{link}}}|{{nraw|{{{1}}}|{{{2}}}}}}}]]
}}</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:Manifest]] and [[Template:Face List]].
}}</div></includeonly><noinclude>Returns [[:File:Roster-blank.jpg]] at width of 83px if no [[:Category:Roster images|roster image]] is specified for an officer in [[Template:Roster]] and [[Template:Face List]].
[[Category:Wiki System Templates]]
[[Category:Wiki System Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:39, 30 April 2016

Returns File:Roster-blank.jpg at width of 83px if no roster image is specified for an officer in Template:Roster and Template:Face List.