Template:Infobox person: Difference between revisions

allow birthplace & deathplace/deathcause to display properly if birthdate or deathdate parameters are omitted (trailing <br/> doesn't display if no text after it, but leading <br/> does display)
Add signature parameter, as found at Infobox Writer, Officeholder, Philosopher, etc.
Line 1: Line 1:
{| class="infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left; align:right; vertical-align:top;" cellspacing="2"
{| class="infobox biography vcard" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left; align:right; vertical-align:top;" cellspacing="2"
|-
|-
| colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{#if: {{{name<includeonly>|</includeonly>}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}}
| colspan="2" style="text-align:center; font-size:larger;" class="fn" | {{#if: {{{name<includeonly>|</includeonly>}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}}
Line 120: Line 120:
! Relations
! Relations
{{!}} {{{relations}}}
{{!}} {{{relations}}}
}}
|-
{{#if: {{{signature<includeonly>|</includeonly>}}} |
! Signature
{{!}} [[Image:{{{signature}}}|128px]]
}}
}}
|-  
|-