Teamplaid:Period span/brief/documentation
This is a documentation subpage for Teamplaid:Period span/brief. It contains usage information, categories and other content that is not part of the original teamplaid page. |
Adhbhar - Purpose
[deasaich]To provide a time span (from start to end) in millions of years for a geological period or pair of geological periods. The time span will automatically update when new information is available. The numerical part of the time span is linked to a graphical display.
Ùsaid - Usage
[deasaich]There are two ways of using the template:
{{Period span/brief|period name|rounding (optional)}}
{{Period span/brief|first period name|second period name|rounding (optional)}}
.
Eisimpleirean - Examples
[deasaich]{{Period span/brief|Pragian}}
produces "411 to 408 million years ago" (without the quotes), i.e. the time from the start of the Pragian to the end of the Pragian{{Period span/brief|Silurian|Carboniferous}}
produces "444 to 299 million years ago", i.e. the time from the start of the Silurian to the end of the Carboniferous.
The last optional parameter can be set to 1, 2, etc. to display that number of decimal places, or to -1, -2, etc. to round to the nearest 10, 100, etc. years. The default is 0, i.e. no decimal places are shown. If you do want to display decimal places then, except for very recent times, you should probably instead use the template {{Period span}}, which avoids an impression of spurious accuracy by including error bounds. Note that decimal places will not be shown if they are not present in the source data.
Eisimpleirean - Examples
[deasaich]{{Period span/brief|Pragian|1}}
produces "410.8 to 407.6 million years ago"{{Period span/brief|Pragian|-1}}
produces "410 million years ago"; because the start and end round to the same number, only one is shown{{Period span/brief|Silurian|Carboniferous|-1}}
produces "440 to 300 million years ago".
Mearachdan - Errors
[deasaich]If this template generates an error, it is likely to be because the period is missing from {{Next period}} or {{Period start}}. Please go ahead and add it in the appropriate place (once you've checked your spelling!).
You also need to add the period to {{Period start error}} so that other templates which display geological dates, such as {{Period span}}, which shows more details, will work properly.
Tùsan - Sources
[deasaich]For documentation on the sources of the dates and other information, see Teamplaid:Period start.
Teamplaidean faid-ùine - Period templates
[deasaich]This list is incomplete. You may help by expanding it.
- Teamplaid:Next period
- Teamplaid:Period color
- Teamplaid:Period end
- Teamplaid:Period end error
- Teamplaid:Period id
- Teamplaid:Period infoboxes
- Teamplaid:Period span
- Teamplaid:Period span/aux
- Teamplaid:Period span/brief
- Teamplaid:Period start
- Teamplaid:Period start error
- Teamplaid:Period start ref