Difference between revisions of "Template:Ma/doc"

From blackwiki
Jump to navigation Jump to search
imported>Smith609
m
imported>Smith609
m (→‎Usage: rm autolinking - better simply to spell abbrev. out in full first time used.)
Line 9: Line 9:
 
''Years_ago'' can take a number, or a period name, in which case it will return the date the period started
 
''Years_ago'' can take a number, or a period name, in which case it will return the date the period started
  
''Suffix'' is optional and defaults to "million years ago". If a suffix is provided, it will be linked to [[mya (unit)]]
+
''Suffix'' is optional and defaults to "million years ago".
  
 
===Examples===
 
===Examples===

Revision as of 08:36, 4 May 2008

Geological timescale template

Usage

Use the format {{Ma|Years_ago|Suffix}} or {{mya|Years_ago|Suffix}}.

Years_ago can take a number, or a period name, in which case it will return the date the period started

Suffix is optional and defaults to "million years ago".

Examples

  • {{mya|65|mya}}
gives

65 mya

  • {{mya|Cambrian|MA}}
gives

Template:Mya

  • {{Ma|250}}
gives

250 million years ago

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.