Difference between revisions of "Template:Geological epoch"
Jump to navigation
Jump to search
imported>Benniboi01 m (changed 'era' to 'epoch') |
imported>Benniboi01 m (technical stuff) |
||
| Line 2: | Line 2: | ||
| colspan=2 style="text-align:center;background-color:{{period color|{{{1|{{PAGENAME}}}}}}}" |'''{{{1|{{PAGENAME}}}}} Epoch'''<br />''{{period start|{{{1|{{PAGENAME}}}}}}}–{{Period end|{{{1|{{PAGENAME}}}}}}} million years ago''<br/>{{Time scale}} | | colspan=2 style="text-align:center;background-color:{{period color|{{{1|{{PAGENAME}}}}}}}" |'''{{{1|{{PAGENAME}}}}} Epoch'''<br />''{{period start|{{{1|{{PAGENAME}}}}}}}–{{Period end|{{{1|{{PAGENAME}}}}}}} million years ago''<br/>{{Time scale}} | ||
|- | |- | ||
| − | | | + | {{#ifeq:{{{timeline}}}|off|| |
| − | |}</includeonly><noinclude>{{template doc}}</noinclude><noinclude>[[Category:Geological period templates]]</noinclude> | + | {{!}}- |
| + | {{!}} colspan=2{{!}} {{{{{timeline|{{{period|{{PAGENAME}}}}}}}} graphical timeline|embedded=yes}}[[Category:Periods with timeline in infobox]]}} | ||
| + | |}</includeonly><noinclude> | ||
| + | {{template doc}} | ||
| + | </noinclude><noinclude>[[Category:Geological period templates]]</noinclude> | ||
Revision as of 17:47, 5 March 2020
This template is used on each of the geological epochs' wiki pages.
Contents
Usage
By default, this template uses the {{PAGENAME}} magic word to detect which period to display. Period can be overridden using parameter |period=.
Different periods use different titles, colors, a start and stop dates, and a special timeline displays. By default, these values are derived from the chosen period, and they can be changed using parameters |color=, |title=, |start=, |stop=, and |timeline=, respectively.
Parameters
|period=- Which geological period to display.
|title=- Customize title.
|color=- Customize color. For available values see documentation of template {{period color}}.
|timeline=Foobar- Choose which of the graphical timeline templates to display. Only templates named
Template:Foobar graphical timelineare supported. For example, use|timeline=Late Devonianto display Template:Late Devonian graphical timeline. To disable the timeline set|timeline=off. |start=and|stop=- Start and end dates. The unit is a million years. By default, templates {{period start}} and {{period end}} are used to show the start and end of the period.
Examples
| Markup | Renders as | |||
|---|---|---|---|---|
{{Geological epoch|timeline=off|title=Example title|period=late devonian}}
|
| |||
{{Geological epoch|timeline=off|title=Example title|color=late devonian|start=382.7|stop=358.9}}
|
| |||
{{Geological epoch
|period=mississippian
|timeline=Mississippian (geology)
}}
|
| |||
See also
| The above documentation is transcluded from Template:Geological epoch/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |