8,290
edits
(renderstr fallback logic: don't check for File:None when image is set to 'none') |
|||
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|&y}}}|{{{renderstr}}}}}</div> | }} }} | | imagearea = {{#if: {{{image|none}}} | none | {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} | {{#ifexist: File:{{{image|}}} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&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)--> |