Template:Item: Difference between revisions

190 bytes added ,  19:39, 24 August 2019
m
When image=none, render the display char as the image instead (will blow it up with CSS in a few minutes)
m (add qud-item-infobox class)
m (When image=none, render the display char as the image instead (will blow it up with CSS in a few minutes))
Line 42: Line 42:
Tier={{{tier|}}} }}{{#vardefine:name|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }}{{#invoke:infobox|infobox
Tier={{{tier|}}} }}{{#vardefine:name|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }}{{#invoke:infobox|infobox
| class = qud-item-infobox
| class = qud-item-infobox
| imagearea = {{#ifeq: {{{image|none}}}|none| {{#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)-->