Anonymous user
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)
(Name defaults to pagename if omitted. Birth_date now optional. Add networth, the only parameter from Infobox Celebrity that isn't already here. Show infobox on this page with all parameters displayed.) |
(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)) |
||
Line 9:
{{#if: {{{birth_name<includeonly>|</includeonly>}}} {{{birth_date|}}} {{{birth_place|}}} |
! Born
{{!}} {{#if:{{{birth_name<includeonly>|</includeonly>}}}|{{{birth_name}}}<br/>}} {{#if:{{{birth_date<includeonly>|</includeonly>}}}
}}
|-
{{#if: {{{death_date<includeonly>|</includeonly>}}} {{{death_place|}}} {{{death_cause|}}} |
! Died
{{!}} {{#if:{{{death_date<includeonly>|</includeonly>}}}|{{{death_date}}}<br/>}} {{#if:{{{death_place<includeonly>|</includeonly>}}}|
}}
|-
|