Difference between revisions of "Template:Days elapsed times factor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Random832
(test)
imported>Random832
(+)
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
 +
<nowiki>{{days elapsed times factor|year|month|day|factor|decimal_places}}</nowiki>
  
 
===Example [[Moon]]===
 
===Example [[Moon]]===
 
This:
 
This:
:<nowiki>Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. -->&nbsp;years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046}}&nbsp;metres farther away.</nowiki>
+
:<nowiki>Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. -->&nbsp;years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046|2}}&nbsp;metres farther away.</nowiki>
 
Becomes:
 
Becomes:
 
:Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. -->&nbsp;years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046|2}}&nbsp;metres farther away.
 
:Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. -->&nbsp;years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046|2}}&nbsp;metres farther away.

Revision as of 00:58, 4 March 2008

Is not ready yet, significant figures not implemented yet.

Usage

{{days elapsed times factor|year|month|day|factor|decimal_places}}

Example Moon

This:

Cumulatively, this effect becomes ever more significant over time; since when [[Apollo 11|astronauts first landed on the Moon]] approximately {{age|1969|1|19}}<!-- NOTE TO EDITORS: This date, which is 182 days before the landing, rounds the elapsed time to the nearest year. --> years ago, it is now {{days elapsed times factor|1969|7|20|0.0001046|2}} metres farther away.

Becomes:

Cumulatively, this effect becomes ever more significant over time; since when astronauts first landed on the Moon approximately 57 years ago, it is now 2.17 metres farther away.

See also