Template:StardateLifespan: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(some ( ) fixes)
(removed testing bit and added warning note.)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<nowiki>{{StardateLifespan|2370|3|2369|8}}</nowiki> with the sequence being date 2 (year, month) and date 1 (year, month).<br>
<nowiki>{{StardateLifespan|2370|3|2369|8}}</nowiki> with the sequence being date 2 (year, month) and date 1 (year, month).<br>
<br>
<br>
This will produce:{{StardateLifespan|2370|3|2369|8}} </noinclude>
This will produce:{{StardateLifespan|2370|3|2369|8}} <br>
'''NOTE:''' This does not error check at all.</noinclude>

Latest revision as of 23:16, 11 February 2015

This calculates the span between two stardates. Used as such:
{{StardateLifespan|2370|3|2369|8}} with the sequence being date 2 (year, month) and date 1 (year, month).

This will produce:0y 7m
NOTE: This does not error check at all.