Jump to content

Template:Ferret mugshot/imagedisplay: Difference between revisions

added second check for else, Valhalla Date will now be displayed even if no image is available.
m (Remove the alive text)
(added second check for else, Valhalla Date will now be displayed even if no image is available.)
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|Unknown]]}}</li>
<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>