Template:Item: Difference between revisions

4 bytes removed ,  19:40, 5 September 2019
no edit summary
m (update renderstring fallback to also detect when image doesn't exist (not just when it's set to "none"))
No edit summary
Line 76: Line 76:
-->{{#invoke:infobox|infobox
-->{{#invoke:infobox|infobox
| class = qud-item-infobox
| class = qud-item-infobox
| imagearea = {{#ifexist: File:{{{image|}}} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} }}
| image = {{#ifexist: File:{{{image|}}} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} }}
| rows =  
| rows =  
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)-->
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)-->