Template:Item: Difference between revisions

74 bytes added ,  23:45, 5 September 2019
m
attempt to fix unnecessary references to File:None
m (default maxpv when none specified)
m (attempt to fix unnecessary references to File:None)
Line 76: Line 76:
-->{{#invoke:infobox|infobox
-->{{#invoke:infobox|infobox
| class = qud-item-infobox
| class = qud-item-infobox
| imagearea = {{#switch: {{{image|none}}} | none = {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} | #default = {{#ifexist: File:{{{image|}}} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} }} }}
| imagearea = {{#switch: {{{image|none}}} | none = {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} | #default = {{#ifexist: File:{{#switch: {{{image|none}}} | none = Caves_of_qud_logo.png | #default = {{{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)-->