Template:Rosterimage: Difference between revisions
Jump to navigation
Jump to search
(added user defined positioning) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative; width: 75px; height: 60px; overflow: hidden">{{#if: {{{3|}}} | <includeonly><div style="position: relative; width: 75px; height: 60px; overflow: hidden">{{#if: {{{3|}}} | ||
|<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">[[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}}}}}]] | ||
}}</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:Roster]]. | }}</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:Roster]]. | ||
[[Category:Wiki System Templates]] | [[Category:Wiki System Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 01:12, 1 February 2014
Returns File:Roster-blank.jpg at width of 75px if no roster image is specified for an officer in Template:Roster.