Jump to content

Template:Ferret mugshot/imagedisplay: Difference between revisions

Should now standardize the Mugshot size.
(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 style="display: inline-block;">{{#ifexist:File:{{{name}}}_Mugshot.png | [[File:{{{name}}}_Mugshot.png|link=Ferrets/{{#invoke:RemoveSpace|removeSpaces|{{{name}}}}}|200x236px|thumb|{{#if: {{{valhalla|}}} | {{{valhalla}}} [[File:Rainbow Emoji.png|30px]] | }}]] | [[File:Unknown_Mugshot.png|link=Ferrets/{{#invoke:RemoveSpace|removeSpaces|{{{name}}}}}|200x236px|thumb|{{#if: {{{valhalla|}}} | {{{valhalla}}} [[File:Rainbow Emoji.png|30px]] | }}]]}}</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>