Difference between revisions of "Template:Age"
From Crystal Path
Jump to navigationJump to search (Created page with '<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</incl…') |
|||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#expr:({{{ | + | <includeonly> |
| + | {{#expr:({{{CYear|}}})-({{{BYear}}})-(({{{CMonth|}}})<({{{BMonth}}})or({{{CMonth|}}})=({{{BMonth}}})and({{{CDay|}}})<({{{BDay}}}))}} | ||
| + | </includeonly> | ||
| + | <noinclude> | ||
| + | ==Usage== | ||
| + | <pre> | ||
| + | {{Age|BYear=2134|BMonth=7|BDay=26|CYear=2151|CMonth=1|CDay=1}} | ||
| + | </pre> | ||
| + | {{Age|BYear=2134|BMonth=7|BDay=26|CYear=2151|CMonth=1|CDay=1}} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:35, 16 March 2011
Usage
{{Age|BYear=2134|BMonth=7|BDay=26|CYear=2151|CMonth=1|CDay=1}}
16