8,290
edits
(Add chairlevel) |
(add support for overrideimages field) |
||
Line 97: | Line 97: | ||
-->{{#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|&y}}}|{{{renderstr}}}}}</div> | }} | #default = {{#ifexist: File:{{#switch: {{{image|none}}} | none = Caves_of_qud_logo.png | #default = {{{image}}} }} |{{#if:{{{gif|}}}|{{infobox image and gif|{{{image}}}|{{{gif}}}|{{PAGENAME}}}}}}| {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} }} }} | | imagearea = | ||
{{#if: {{{overrideimages|}}} | {{{overrideimages}}} | | |||
{{#switch: {{{image|none}}} | |||
| none = {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} | |||
| #default = {{#ifexist: File:{{#switch: {{{image|none}}} | none = Caves_of_qud_logo.png | #default = {{{image}}} }} |{{#if:{{{gif|}}}|{{infobox image and gif|{{{image}}}|{{{gif}}}|{{PAGENAME}}}}}}| {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} }} | |||
}} | |||
}} | |||
| rows = | | rows = | ||
{{#if: {{{pv|}}}{{{maxpv|}}}{{{vibro|}}}{{{damage|}}}{{{av|}}}{{{dv|}}}{{{weight|}}}{{{commerce|}}} | | {{#if: {{{pv|}}}{{{maxpv|}}}{{{vibro|}}}{{{damage|}}}{{{av|}}}{{{dv|}}}{{{weight|}}}{{{commerce|}}} | |