Template:CardImage: Difference between revisions

From LOTR-TCG Wiki
(Fixing short circuit typo)
(Updating to only use local wiki images, and to default to the not found image if needed. Migrated from CardImage2.)
Line 1: Line 1:
 
[[File:{{#ifexist:File:{{{1|}}}|{{{1}}}|Card_Not_Found.jpg}}|link={{{2|}}}]]
<div {{#if: {{{3|}}} | title="{{{3}}}"}}>{{#if: {{{1|}}} | [https://lotrtcgwiki.com/images/{{{1}}}.jpg https://lotrtcgwiki.com/images/{{{1}}}.jpg] | [[File:{{{2}}}.jpg]] }}</div>

Revision as of 05:15, 11 October 2021