Template:Character: Difference between revisions

Jump to navigation Jump to search
179 bytes added ,  20:13, 5 September 2019
renderstr fallback logic: don't check for File:None when image is set to 'none'
m (corpses don't link to the corpse main page now and rather their individual pages)
(renderstr fallback logic: don't check for File:None when image is set to 'none')
Line 69: Line 69:
-->{{#invoke:infobox|infobox
-->{{#invoke:infobox|infobox
| class = qud-character-infobox
| class = qud-character-infobox
| imagearea = {{#ifexist: File:{{{image|}}} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} }}
| imagearea = {{#ifeq: {{{image|none}}} | none | {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} | {{#ifexist: File:{{{image|}}} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} }} }}
| rows =
| rows =
<!----------------------------------------
<!----------------------------------------

Navigation menu