Difference between revisions of "Template:Birth date and age"

From Surfing Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> <span style="display:none"> <span class="bday"> {{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}} </span> </span> <span class="noprint F...")
 
Line 1: Line 1:
<includeonly>
<includeonly>


<span style="display:none">
{{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}}
    <span class="bday">
        {{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}}
    </span>
</span>


<span class="noprint ForceAgeToShow">
<span>
     age&nbsp;{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}}
     age&nbsp;{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}}
</span>
</span>

Revision as of 19:10, 3 February 2015


xxx