Vorlage:Geburtsdatum: Unterschied zwischen den Versionen
Kenji (Diskussion | Beiträge) . |
Kenji (Diskussion | Beiträge) . |
||
Zeile 1: | Zeile 1: | ||
<includeonly>{{#ifeq: {{{3|}}} | Tag | | [[{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}. {{MONATSNAME|{{{2}}}}}]] }} {{#ifeq: {{{1|}}} | Jahr | | [[{{{1}}}]] }} {{#ifeq: {{{1|}}} | Jahr | | <br>(Alter: {{#ifeq: {{{2}}} | Monat | {{#ifeq: {{{1}}} | Jahr | | ca. }} | }}{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{#ifeq: {{{2|}}} | Monat | 7 | {{{2}}} }})or({{{5|{{CURRENTMONTH}}}}})=({{#ifeq: {{{2|}}} | Monat | 7 | {{{2}}} }})and({{{6|{{CURRENTDAY}}}}})<({{#ifeq: {{{3|}}} | Tag | 1 | {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} }}))}})}} | <includeonly>{{#ifeq: {{{3|}}} | Tag | | [[{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}. {{MONATSNAME|{{{2}}}}}]] }} {{#ifeq: {{{1|}}} | Jahr | | [[{{{1}}}]] }} {{#ifeq: {{{1|}}} | Jahr | | <br>(Alter: {{#ifeq: {{{2}}} | Monat | {{#ifeq: {{{1}}} | Jahr | | ca. }} | }}{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{#ifeq: {{{2|}}} | Monat | 7 | {{{2}}} }})or({{{5|{{CURRENTMONTH}}}}})=({{#ifeq: {{{2|}}} | Monat | 7 | {{{2}}} }})and({{{6|{{CURRENTDAY}}}}})<({{#ifeq: {{{3|}}} | Tag | 1 | {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} }}))}})}} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 3 | {{#ifeq: {{{3}}} | {{#expr: >=1 }} | (Widder) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 4 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=20 }} | (Widder) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 4 | {{#ifeq: {{{3}}} | {{#expr: >=21 and <=30 }} | (Stier) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 5 | {{#ifeq: {{{3}}} | 21 | (Stier) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 5 | {{#ifeq: {{{3}}} | {{#expr: >=21 and <=31 }} | (Zwillinge) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 6 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=21 }} | (Zwillinge) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 6 | {{#ifeq: {{{3}}} | {{#expr: >=22 and <=30 }} | (Krebs) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 7 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=22 }} | (Krebs) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 7 | {{#ifeq: {{{3}}} | {{#expr: >=23 and <=31 }} | (Löwe) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 8 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=22 }} | (Löwe) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 8 | {{#ifeq: {{{3}}} | {{#expr: >=23 and <=31 }} | (Jungfrau) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 9 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=23 }} | (Jungfrau) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 9 | {{#ifeq: {{{3}}} | {{#expr: >=24 and <=30 }} | (Waage) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 10 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=23 }} | (Waage) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 10 | {{#ifeq: {{{3}}} | {{#expr: >=24 and <=31 }} | (Skorpion) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 11 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=22 }} | (Skorpion) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 11 | {{#ifeq: {{{3}}} | {{#expr: >=23 and <=30 }} | (Schütze) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 12 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=21 }} | (Schütze) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 12 | {{#ifeq: {{{3}}} | {{#expr: >=22 and <=31 }} | (Steinbock) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 1 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=20 }} | (Steinbock) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 1 | {{#ifeq: {{{3}}} | {{#expr: >=21 and <=31 }} | (Wassermann) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 2 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=18 }} | (Wassermann) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 2 | {{#ifeq: {{{3}}} | {{#expr: >=19 and <=29 }} | (Fische) | }} | }} | ||
{{#ifeq: {{{ | {{#ifeq: {{{2}}} | 3 | {{#ifeq: {{{3}}} | {{#expr: >=1 and <=20 }} | (Fische) | }} | }} {{#ifeq: {{{3|}}} | Tag | [[Kategorie:Geboren unbekannt]] | [[Kategorie:Geboren {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}. {{MONATSNAME|{{{2}}}}}]]}}{{#ifeq: {{{1|}}} | Jahr | [[Kategorie:Geboren unbekannt]] | [[Kategorie:Geboren {{{1}}}]] }}</includeonly><noinclude> | ||
Diese Vorlage berechnet das Alter und verlinkt das Geburtsdatum. | Diese Vorlage berechnet das Alter und verlinkt das Geburtsdatum. |