Template:AgeDays: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created template.)
 
m (Text replace - "NoWikiTemp" to "Desc")
Line 5: Line 5:
==Usage==
==Usage==
To use this template for a past date and today's date, type:<br>
To use this template for a past date and today's date, type:<br>
{{NoWikiTemp|Normal|Month|Day|Year}}
{{Desc|Normal|Month|Day|Year}}


The parameters are self-explanatory.
The parameters are self-explanatory.


To use this template to calculate the time between to specific dates, type:<br>
To use this template to calculate the time between to specific dates, type:<br>
{{NoWikiTemp|Normal|Month A|Day A|Year A|Month B|Day B|Year B}}
{{Desc|Normal|Month A|Day A|Year A|Month B|Day B|Year B}}


Again, the parameters are self-explanatory.
Again, the parameters are self-explanatory.


{{Cat|Formatting Templates}}</noinclude>
{{Cat|Formatting Templates}}</noinclude>

Revision as of 03:27, October 23, 2011

Purpose

This template automatically calculates the time between two dates, in days. Either a two specific dates, or a past date and today's date.

Usage

To use this template for a past date and today's date, type:
    {{AgeDays| Month | Day | Year }}

The parameters are self-explanatory.

To use this template to calculate the time between to specific dates, type:
    {{AgeDays| Month A | Day A | Year A | Month B | Day B | Year B }}

Again, the parameters are self-explanatory.