Template:Rosterimage: Difference between revisions
Jump to navigation
Jump to search
(cropped image functionality) |
mNo 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|}}} | ||
|[[File:{{{3}}}|75px|link={{nraw|{{{1}}}|{{{2}}}}}]] | |[[File:{{{3}}}|75px|link={{nraw|{{{1}}}|{{{2}}}}}]] | ||
|[[File:Roster-blank.jpg|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 00:54, 30 January 2014
Returns File:Roster-blank.jpg at width of 75px if no roster image is specified for an officer in Template:Roster.