Template:Ma/doc
This is a documentation subpage for Template:Ma. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
changeSimply produces the time and a link to a geologic timescale at wikimedia toolserver.
How to use this template
changeDO NOT SUBST THIS TEMPLATE.
Use the format {{Ma|Years_ago|Suffix|error=Error|round=Degree of accuracy}}
Years_ago can take a number (don't include commas, which are added automatically), or a period name (e.g. Cambrian), in which case it will return the date the period started.
Suffix is optional and the normal is "million years ago".
Error is an uncertainty and will be displayed as ± error. If a non-numeric value is entered, it will show the error associated with the period specified in Years_ago.
Degree of accuracy is the point at which to round the figure, as per the #expr: parserfunction. 0 will chop the figure at the decimal point; -1 will round it to the nearest 10; 1 will allow one decimal place.
Examples
change- {{ma|65|million years old}}
- gives
65 million years old
(and the "million years old" will not wrap; it will remain on the same line.)
- {{ma|Cambrian|MA|error=show}}
- gives
538.8± 0.3 MA
- {{Ma|250.9876|error=5|round=2}}
- gives
- To cite a range of years, {{Ma|250|65}}
- gives