Template:LifeData: Difference between revisions

WikiAdmin (talk | contribs)
m new parameter <birthname>
WikiAdmin (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#if:{{{death|}}}|{{#if:{{{birth|}}}|{{Date|{{{birth}}}}}{{#if:{{{birthname|}}}|&#32; as ''{{{birthname}}}''}}{{#if:{{{birthplace|}}}|&#32;in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|,&#32;{{{birthcountry}}} }}&#32;&ndash; {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}|&#32;in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }}|died {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}|&#32;in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }} }}|{{#if:{{{birth|}}}|born {{Date|{{{birth}}} }}}}{{#if:{{{birthname|}}}|&#32; as ''{{{birthname}}}''}}{{#if:{{{birthplace|}}}|&#32;in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|,&#32;{{{birthcountry}}}|{{#if:{{{2|}}}|{{#if:{{{1|}}}|{{Date|{{{1}}}}}&#32;&ndash; {{Date|{{{2}}}}}|died {{Date|{{{2}}}}} }}|{{#if:{{{1|}}}|born {{Date|{{{1}}}}} }} }} }}}}<noinclude>
{{#if:{{{death|}}}|{{#if:{{{birth|}}}|{{Date|{{{birth}}}}}{{#if:{{{birthname|}}}|&#32; as ''{{{birthname}}}''}}{{#if:{{{birthplace|}}}|&#32;in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|,&#32;{{{birthcountry}}} }}&#32;&ndash; {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}|&#32;in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }}|died {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}|&#32;in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }} }}|{{#if:{{{birth|}}}|born {{Date|{{{birth}}} }}}}{{#if:{{{birthname|}}}|&#32; as ''{{{birthname}}}''}}{{#if:{{{birthplace|}}}|&#32;in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|,&#32;{{{birthcountry}}}|{{#if:{{{2|}}}|{{#if:{{{1|}}}|{{Date|{{{1}}}}}&#32;&ndash; {{Date|{{{2}}}}}|died {{Date|{{{2}}}}} }}|{{#if:{{{1|}}}|born {{Date|{{{1}}}}} }} }} }}}}<noinclude>
== Usage ==
== Usage ==
Use this template with anonymous parameters (1 = birth, 2 = death) or with named parameters as follows:
Use this template with anonymous parameters (1 = birth, 2 = death) or with (optional) named parameters as follows:
<pre>{{LifeData
<pre>{{LifeData
  |birth=
  |birth=