Vorlage:LifeData: Unterschied zwischen den Versionen

Aus IntactiWiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „{{#if:{{{2|}}}|(* {{Date|{{{1}}}}}, † {{Date|{{{2}}}}})|(* {{Date|{{{1}}}}})}}<noinclude> * {{LifeData|1962-08-27}} * {{LifeData|1962-08-27|2019-10-28}} e…“)
 
K
Zeile 1: Zeile 1:
{{#if:{{{2|}}}|(* {{Date|{{{1}}}}}, † {{Date|{{{2}}}}})|(* {{Date|{{{1}}}}})}}<noinclude>
+
{{#if:{{{birth|}}}| {{Date|{{{birth}}} }} }}{{#if:{{{birthplace|}}}|&#32;in {{{birthplace}}} }}{{#if:{{{birthcountry|}}}|,&#32;{{{birthcountry}}} }}{{#if:{{{death|}}}|&#32;&ndash; {{Date|{{{death}}} }}{{#if:{{{deathplace|}}}|&#32;in {{{deathplace}}} }}{{#if:{{{deathcountry|}}}|, {{{deathcountry}}} }} | {{#if: {{{2|}}} | {{#if: {{{1|}}} | {{Date|{{{1}}}}}&#32;&ndash; {{Date|{{{2}}}}} | died {{Date|{{{2}}}}} }}| {{#if: {{{1|}}} | born {{Date|{{{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|2019-10-28}}
+
<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}}
  
 
[[en:Template:LifeData]]</noinclude>
 
[[en:Template:LifeData]]</noinclude>

Version vom 28. Oktober 2019, 18:04 Uhr

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 27. August 1962
* {{LifeData||2099-12-31}}
  • died 31. Dezember 2099
* {{LifeData|1962-08-27|2099-12-31}}
  • 27. August 1962 – 31. Dezember 2099
* {{LifeData |birth=1962-08-27 |death=2099-12-31}}
  • 27. August 1962 – 31. Dezember 2099
* {{LifeData |birth= |death=2099-12-31}}
  • – 31. Dezember 2099
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |death=2099-12-31}}
  • 27. August 1962 in Löningen – 31. Dezember 2099
* {{LifeData |birth=1962-08-27 |birthplace=Löningen |birthcountry=Germany |death=2099-12-31}}
  • 27. August 1962 in Löningen, Germany – 31. Dezember 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. Dezember 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. Dezember 2099 in Atlantis, Europe