Template:EasyInfobox officeholder: Difference between revisions
Jump to navigation
Jump to search
Support for 4 more offices |
m Only show the image if it exists |
||
Line 9: | Line 9: | ||
| death_place = {{{death_place|}}} | | death_place = {{{death_place|}}} | ||
| image = {{#if: {{{portrait_file|}}} | [[File:{{{portrait_file}}}|200px]] | [[File:Portrait of {{{name|{{PAGENAMEBASE}}}}}.png|200px]] }} | | image = {{#if: {{{portrait_file|}}} | [[File:{{{portrait_file}}}|200px]] | {{#ifexist: File:Portrait of {{{name|{{PAGENAMEBASE}}}}}.png | [[File:Portrait of {{{name|{{PAGENAMEBASE}}}}}.png|200px]] }} }} | ||
| caption = {{#if: {{{portrait_caption|}}} | {{{portrait_caption|}}} | Portrait of {{{name|{{PAGENAMEBASE}}}}}. }} | | caption = {{#if: {{{portrait_caption|}}} | {{{portrait_caption|}}} | Portrait of {{{name|{{PAGENAMEBASE}}}}}. }} | ||