Difference between revisions of "Template:LifeData"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{ | + | {{#if:{{{birth|}}}| {{Date|{{{birth}}} }} }}{{#if:{{{birthplace|}}}| in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|, {{{birthcountry}}} }}{{#if:{{{death|}}}| – {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}| in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }} | {{#if: {{{2|}}} | {{#if: {{{1|}}} | {{{1}}} – {{{2}}} | died {{{2}}} }}| {{#if: {{{1|}}} | born {{{1}}} }} }} |
| + | }}<noinclude> | ||
| + | == Usage == | ||
| + | Use this template with anonymous parameters (1, 2) or with named parameters as follows: | ||
| + | * birth | ||
| + | * birthplace | ||
| + | * birthcountry | ||
| + | * death | ||
| + | * deathplace | ||
| + | * deathcountry | ||
| + | |||
| + | == Examples == | ||
| + | <pre>* {{LifeData|1962-08-27}}</pre> | ||
* {{LifeData|1962-08-27}} | * {{LifeData|1962-08-27}} | ||
| − | * {{LifeData|1962-08-27| | + | <pre>* {{LifeData||2099-12-31}}</pre> |
| + | * {{LifeData||2099-12-31}} | ||
| + | <pre>* {{LifeData|1962-08-27|2099-12-31}}</pre> | ||
| + | * {{LifeData|1962-08-27|2099-12-31}} | ||
| + | <pre>* {{LifeData |birth=1962-08-27 |death=2099-12-31}}</pre> | ||
| + | * {{LifeData |birth=1962-08-27 |death=2099-12-31}} | ||
| + | <pre>* {{LifeData |birth= |death=2099-12-31}}</pre> | ||
| + | * {{LifeData |birth= |death=2099-12-31}} | ||
| + | <pre>* {{LifeData |birth=1962-08-27 |birthplace=Löningen |death=2099-12-31}}</pre> | ||
| + | * {{LifeData |birth=1962-08-27 |birthplace=Löningen |death=2099-12-31}} | ||
| + | <pre>* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31}}</pre> | ||
| + | * {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31}} | ||
| + | <pre>* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis}}</pre> | ||
| + | * {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31 |deathplace=Atlantis}} | ||
| + | <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}} | ||
[[de:Vorlage:LifeData]]</noinclude> | [[de:Vorlage:LifeData]]</noinclude> | ||
Revision as of 17:01, 28 October 2019
Usage
Use this template with anonymous parameters (1, 2) or with named parameters as follows:
- birth
- birthplace
- birthcountry
- death
- deathplace
- deathcountry
Examples
* {{LifeData|1962-08-27}}
- born 1962-08-27
* {{LifeData||2099-12-31}}
- died 2099-12-31
* {{LifeData|1962-08-27|2099-12-31}}
- 1962-08-27 – 2099-12-31
* {{LifeData |birth=1962-08-27 |death=2099-12-31}}
- 27 August 1962 – 31 December 2099
* {{LifeData |birth= |death=2099-12-31}}
- – 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