Template:Ferret mugshot/imagedisplay: Difference between revisions
(added second check for else, Valhalla Date will now be displayed even if no image is available.) |
(Should now standardize the Mugshot size.) |
||
Line 1: | Line 1: | ||
<li | <includeonly><templatestyles src="Template:Ferret mugshot/imagedisplay/styles.css"/> | ||
<li class="ferret-grid-item">{{#ifexist:File:{{{name}}}_Mugshot.png | [[File:{{{name}}}_Mugshot.png|200x200px|class=mugshot-image|link=Ferrets/{{#invoke:RemoveSpace|removeSpaces|{{{name}}}}}|thumb|{{#if: {{{valhalla|}}} | {{{valhalla}}} [[File:Rainbow Emoji.png|30px|class=valhalla-emoji]] | }}]] | [[File:Unknown_Mugshot.png|200x200px|class=mugshot-image|link=Ferrets/{{#invoke:RemoveSpace|removeSpaces|{{{name}}}}}|thumb|{{#if: {{{valhalla|}}} | {{{valhalla}}} [[File:Rainbow Emoji.png|30px|class=valhalla-emoji]] | }}]]}}</li></includeonly> |