Template:Date of birth: Difference between revisions
Till Kraemer (talk | contribs) mNo edit summary |
. |
||
Line 1: | Line 1: | ||
<includeonly>[[{{ | <includeonly>{{#ifeq: {{{3|}}} | Day | | [[{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}. {{MONTHNAME|{{{2}}}}}]] }} {{#ifeq: {{{1|}}} | Year | | [[{{{1}}}]] }} {{#ifeq: {{{1|}}} | Year | | <br>(age: {{#ifeq: {{{2}}} | Month | {{#ifeq: {{{1}}} | Year | | ca. }} | }}{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{#ifeq: {{{2|}}} | Month | 7 | {{{2}}} }})or({{{5|{{CURRENTMONTH}}}}})=({{#ifeq: {{{2|}}} | Month | 7 | {{{2}}} }})and({{{6|{{CURRENTDAY}}}}})<({{#ifeq: {{{3|}}} | Day | 1 | {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} }}))}})}} {{#ifeq: {{{3|}}} | Day | [[Category:Born unknown]] | [[Category:Born {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}. {{MONTHNAME|{{{2}}}}}]]}}{{#ifeq: {{{1|}}} | Year | [[Category:Born unknown]] | [[Category:Born {{{1}}}]] }}</includeonly><noinclude> | ||
This template shows the age an links the date of birth. | This template shows the age an links the date of birth. | ||
Line 6: | Line 6: | ||
<code><nowiki>{{Date of birth|Year|Month|Day}}</nowiki></code> | <code><nowiki>{{Date of birth|Year|Month|Day}}</nowiki></code> | ||
[[Category:Template]] | |||
[[ | [[de:Vorlage:Geburtsdatum]] | ||
</noinclude> | </noinclude> |
Revision as of 19:31, 6 October 2013
This template shows the age an links the date of birth.
Use it like that:
{{Date of birth|Year|Month|Day}}