Difference between revisions 3940418 and 4447930 on simplewiki

<noinclude>{{documentation subpage}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
;Usage: <code><nowiki>{{</nowiki>fossil range|'''first appearance''' (required)|''last appearance''|''text to display''|earliest=''earliest putative fossil''|latest=''latest putative fossil''|ref=''References''|PS=''anything to display after the range''}}</code>
:Italic parameters are optional, bold required.
{{taxobox
|name=Example
|fossil_range={{Fossil range|Carboniferous|Early Cretaceous|earliest=Ordovician}}
|genus = Rangea
|regnum=[[incertae sedis]]
|species = ''Rangea examplus''
}}
Illustrates the fossil range of a taxon. Intended for use in {{tn|taxobox}}es. 

You can give a numeric range, or specify the periods involved.  The range will be quoted in text before the timeline, unless you specify a third parameter - leaving it blank will result in no text being provided.

You can also specify "earliest" and "latest" to add a "ghost" bar beyond the accepted fossil range.  You can use these parameters for whatever you like; they may be useful in the case of living fossils such as the [[coelocanth]], where you may wish to specify <code>latest=0</code> to make the bar faintly extend to the present; they bay also be useful where "earliest" fossils are not universally accepted - for instance, the [[octocorals]] only have a good fossil record from the Tertiary, but there are claims of Cambrian representatives.  In this case, you may wish to specify <code>earliest=middle Cambrian</code>.

;Examples:

<pre>{{Fossil range|Permian}}</pre>
{{Fossil range|Permian}}

<pre>{{Fossil range|68|65|earliest=Permian|latest=0|PS= (See article for discussion)}}</pre>
{{Fossil range|68|65|earliest=Permian|latest=0|PS= (See article for discussion)}}

<pre>{{Fossil range|68|65.5|Late Cretaceous}}</pre>
{{Fossil range|68|65.5|Late Cretaceous}}

<pre>{{Fossil range|68|65|}}</pre>
{{Fossil range|68|65|}}


;Using [[Template:All time 250px]]:

<pre>{{All time 250px|Mesoproterozoic}}</pre>
{{All time 250px|Mesoproterozoic}}

<pre>{{All time 250px|1500|300|earliest=Mesoproterozoic|latest=150|PS= (See article for discussion)}}</pre>
{{All time 250px|1500|300|earliest=Mesoproterozoic|latest=150|PS= (See article for discussion)}}

<pre>{{Fossil range|1413|1047.3|Neoproterozoic}}</pre>
{{All time 250px|1413|1047.3|Neoproterozoic}}

<pre>{{Fossil range|1413|1047.3|}}</pre>
{{All time 250px|1413|1047.3|}}

If you receive an error when specifying a period name, check you've spelt it right; if so, it probably isn't yet incorporated into the templates {{tl|next period}} and {{tl|period start}}.  This is really easy to do, so feel free to add the period yourself to make future editors' lives easier!

;Note: The template has not been fully tested on all browsers.  Please note any problems on the talk page as soon as possible!

<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Science templates]]
[[Category:Fossils|τ]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->

</includeonly>