Template:Date of birth: Difference between revisions

From Pornopedia, the sexy encyclopedia
Kenji (talk | contribs)
.
Kenji (talk | contribs)
.
Line 1: Line 1:
<includeonly>{{#ifeq: {{{3|}}} | Day |  | [[{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}. {{MONTHNAME|{{{2}}}}}]] }} {{#ifeq: {{{1|}}} | Year |  | [[{{{1}}}]] }} {{#ifeq: {{{1|}}} | Year |  | <br>(age:&nbsp;{{#ifeq: {{{2}}} | Month | {{#ifeq: {{{1}}} | Year |  | ca.&nbsp;}} |  }}{{#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>
<includeonly>{{#ifeq: {{{3|}}} | Day |  | [[{{MONTHNAME|{{{2}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}]], }} {{#ifeq: {{{1|}}} | Year |  | [[{{{1}}}]] }} {{#ifeq: {{{1|}}} | Year |  | <br>(age:&nbsp;{{#ifeq: {{{2}}} | Month | {{#ifeq: {{{1}}} | Year |  | ca.&nbsp;}} |  }}{{#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:{{MONTHNAME|{{{2}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}]]}}{{#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.



Revision as of 19:47, 6 October 2013

This template shows the age an links the date of birth.

Use it like that:

{{Date of birth|Year|Month|Day}}