قالب:Ma
Geological timescale template
Usage
Use the format {{Ma|Years_ago|Suffix|error=Error}}
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 defaults to "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.
Examples
- {{mya|65|million years old}}
- gives
(and the "million years old" will not wrap; it will remain on the same line.)
- {{mya|Cambrian|MA|error=show}}
- gives
- {{Ma|250|error=5}}
- gives
- To cite a range of years, {{Ma|250|65}}
- gives
Rationale
With geological time, it is often genuinely useful for the lay reader, with little grasp of how long ago 500 million years really is, to be able to quickly flick to a timescale.
Hence, this template allows an easy way to implement such links.
Comments
Please address comments about the functioning of this template to Template talk:Ma, and about the design or content of the destination page at User_talk:Smith609/Timeline.
The above documentation is transcluded from قالب:Ma/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |