Difference between revisions of "Template:LifeData"
Jump to navigation
Jump to search
m |
m (new parameter <birthname>) |
||
Line 1: | Line 1: | ||
− | {{#if:{{{death|}}}|{{#if:{{{birth|}}}|{{Date|{{{birth}}} }}{{#if:{{{birthplace|}}}| in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|, {{{birthcountry}}} }} – {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}| in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }}|died {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}| in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }} }}|{{#if:{{{birth|}}}|born {{Date|{{{birth}}} }} }}{{#if:{{{birthplace|}}}| in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|, {{{birthcountry}}}|{{#if:{{{2|}}}|{{#if:{{{1|}}}|{{Date|{{{1}}}}} – {{Date|{{{2}}}}}|died {{Date|{{{2}}}}} }}|{{#if:{{{1|}}}|born {{Date|{{{1}}}}} }} }} }}}}<noinclude> | + | {{#if:{{{death|}}}|{{#if:{{{birth|}}}|{{Date|{{{birth}}}}}{{#if:{{{birthname|}}}|  as ''{{{birthname}}}''}}{{#if:{{{birthplace|}}}| in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|, {{{birthcountry}}} }} – {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}| in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }}|died {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}| in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }} }}|{{#if:{{{birth|}}}|born {{Date|{{{birth}}} }}}}{{#if:{{{birthname|}}}|  as ''{{{birthname}}}''}}{{#if:{{{birthplace|}}}| in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|, {{{birthcountry}}}|{{#if:{{{2|}}}|{{#if:{{{1|}}}|{{Date|{{{1}}}}} – {{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 named parameters as follows: | ||
Line 7: | Line 7: | ||
|birthplace= | |birthplace= | ||
|birthcountry= | |birthcountry= | ||
+ | |birthname= | ||
|deathplace= | |deathplace= | ||
|deathcountry= | |deathcountry= | ||
Line 32: | Line 33: | ||
<pre>* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis |deathcountry=Europe}}</pre> | <pre>* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis |deathcountry=Europe}}</pre> | ||
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis |deathcountry=Europe}} | * {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis |deathcountry=Europe}} | ||
+ | <pre>* {{LifeData|birth=1947-10-22|birthplace=Miami, California|birthcountry=USA|birthname=Kenneth Hopkins}}</pre> | ||
+ | * {{LifeData|birth=1947-10-22|birthplace=Miami, California|birthcountry=USA|birthname=Kenneth Hopkins}} | ||
[[de:Vorlage:LifeData]]</noinclude> | [[de:Vorlage:LifeData]]</noinclude> |
Revision as of 12:49, 28 March 2020
Usage
Use this template with anonymous parameters (1 = birth, 2 = death) or with named parameters as follows:
{{LifeData |birth= |death= |birthplace= |birthcountry= |birthname= |deathplace= |deathcountry= }}
Examples
* {{LifeData|1962-08-27}}
- born 27 August 1962
* {{LifeData||2099-12-31}}
- died 31 December 2099
* {{LifeData|1962-08-27|2099-12-31}}
- 27 August 1962 – 31 December 2099
* {{LifeData |birth=1962-08-27}}
- born 27 August 1962
* {{LifeData |birth= |death=2099-12-31}}
- died 31 December 2099
* {{LifeData |birth=1962-08-27 |death=2099-12-31}}
- 27 August 1962 – 31 December 2099
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |death=2099-12-31}}
- 27 August 1962 in Löningen – 31 December 2099
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31}}
- 27 August 1962 in Löningen, Germany – 31 December 2099
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis}}
- 27 August 1962 in Löningen, Germany – 31 December 2099 in Atlantis
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis |deathcountry=Europe}}
- 27 August 1962 in Löningen, Germany – 31 December 2099 in Atlantis, Europe
* {{LifeData|birth=1947-10-22|birthplace=Miami, California|birthcountry=USA|birthname=Kenneth Hopkins}}
- born 22 October 1947 as Kenneth Hopkins in Miami, California, USA