Mall:Age in years and months: Skillnad mellan sidversioner

Från Järnvägsdata
jarnvagsdata>Johnuniq
m (Protected "Template:Age in years and months": moderately visible template ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
 
m (1 version importerades)
 
(Ingen skillnad)

Nuvarande version från 5 januari 2021 kl. 08.11

[visa] [redigera] [rensa sidcachen]

Test Template Info-Icon.svg Dokumentation


This template returns the duration between two specified dates as a number of full years and remaining months. If the second set of parameters is not included, the duration is between the specified date and today's date.

Syntax

{{age in years and months |year1|month1|day1 |year2|month2|day2}}
{{age in years and months |year1|month1|day1}}  (causing the current date to be used as the second date)

Examples

Markup Renders as
[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]