Template:Period span/doc: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
m (1 revision)
 
mNo edit summary
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{See also cat|Geological period templates}}
{{See also cat|Year and period templates}}


=== Usage ===
=== Usage ===
Line 35: Line 35:
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Geological period templates|{{PAGENAME}}]]
[[Category:Year and period templates|{{PAGENAME}}]]


</includeonly>
</includeonly>

Latest revision as of 03:52, 14 September 2014

{{#invoke:Message box|mbox}}

Usage

Simply use

{{period span|'''''Period name'''''}}
Example
{{period span|Permian}}
Gives

298.9 million years ago to 252.17 million years ago

In development

The |round= parameter will round off the number to that many decimal places. It doesn't currently round the error margins; to omit these, use {{period span/brief}}.

Errors

If this template generates an expression error, it is 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 must also add the period to {{period start error}}, which contains the errors shown after the ± in the output of this template.

Period templates

This list is incomplete. You may help by expanding it