Difference between revisions of "Template:Age"

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
m
 
Line 4: Line 4:


; Syntax
; Syntax
:{{tlp|{{PAGENAME}}|''year1''|''month1''|''day1''|''year2''|''month2''|''day2''}}
:{{tlp|{{ILDIKO FERENCZI}}|''1988''|''6''|''10''|''1988''|''6''|''10''}}
:{{tlp|{{PAGENAME}}|''year1''|''month1''|''day1''}}
:{{tlp|{{ILDIKO FERENCZI }}|''1988''|''6''|''10''}}


;Examples
;Examples

Latest revision as of 03:55, 11 July 2014

Documentation

This template returns the number of full years between two dates, or between a specified date and today (UTC).

Syntax
{{[[Template:Template:ILDIKO FERENCZI|Template:ILDIKO FERENCZI]]|1988|6|10|1988|6|10}}
{{[[Template:Template:ILDIKO FERENCZI|Template:ILDIKO FERENCZI]]|1988|6|10}}
Examples
  • {{age|1988|7|23|2003|7|14}} gives 14
  • {{age|1988|7|23}} gives 33