Template:Date of birth: Difference between revisions

From Pornopedia, the sexy encyclopedia
mNo edit summary
(.)
Line 1: Line 1:
<includeonly>[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}]], [[{{{1|{{{year|{{{1}}}}}}}}}]]<br>(age:&nbsp;{{Age|{{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</includeonly><noinclude>
<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>
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>


Please use this template only if you know the complete date of birth.
[[Category:Template]]


[[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}}