Difference between revisions of "Template:Geological period"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(tidy)
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 1: Line 1:
<includeonly>{| class="wikitable" align="right" style="margin-left:1em; width:{{{width|20}}}em"
+
<includeonly>{| class="wikitable" style="float:right;margin-left:1em; width:{{{width|20}}}em"
| align="center" colspan=2 style="background-color:{{period color|{{{period|{{PAGENAME}}}}}}}" |'''{{{period|{{PAGENAME}}}}} Period'''<br />''{{period start|{{{period|{{PAGENAME}}}}}}}–{{Period end|{{{period|{{PAGENAME}}}}}}}&nbsp;million years ago''<br /><span style="text-align:center">{{Time scale}}</span>
+
| colspan=2 style="text-align:center;background-color:{{period color|{{{period|{{PAGENAME}}}}}}}" |'''{{{period|{{PAGENAME}}}}} Period'''<br />''{{period start|{{{period|{{PAGENAME}}}}}}}–{{Period end|{{{period|{{PAGENAME}}}}}}}&nbsp;million years ago''<br /><span style="text-align:center">{{Time scale}}</span>
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
 
{{!}}-
 
{{!}}-
{{!}} align="center" colspan=2 {{!}} [[Image:{{{image}}}|{{#expr:{{{width|20}}}*12}}px]]
+
{{!}} style="text-align:center;" colspan=2 {{!}} [[Image:{{{image}}}|{{#expr:{{{width|20}}}*12}}px]]
 
}}
 
}}
 
{{#if:{{{o2|}}}|
 
{{#if:{{{o2|}}}|
Line 25: Line 25:
 
{{#ifeq:{{{timeline}}}|off||
 
{{#ifeq:{{{timeline}}}|off||
 
{{!}}-
 
{{!}}-
{{!}} align="center" colspan=2{{!}} {{{{{timeline|{{{period|{{PAGENAME}}}}}}}} graphical timeline|embedded=yes}}[[Category:Periods with timeline in infobox]]}}
+
{{!}} style="text-align:center;" colspan=2{{!}} {{{{{timeline|{{{period|{{PAGENAME}}}}}}}} graphical timeline|embedded=yes}}[[Category:Periods with timeline in infobox]]}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:02, 3 December 2015

50px Template documentation[view] [edit] [history] [purge]

Usage

Used on each of the Geological periods' pages.

To disable the timeline (and use it elsewhere on the page) set |timeline=off.

See also

Template:Period infoboxes