Difference between revisions of "Template:Geological period"

From blackwiki
Jump to navigation Jump to search
imported>Smith609
(missing:)
imported>FT2
(try adding a parameter "Period" for the period name, to allow template to be used on pages other than the main article for a period)
Line 1: Line 1:
 
<includeonly>{| class="prettytable" align="right" style="margin-left:1em; width:{{{width|20}}}em"
 
<includeonly>{| class="prettytable" align="right" style="margin-left:1em; width:{{{width|20}}}em"
| align="center" colspan=2 style="background-color:{{period color|{{PAGENAME}}}}" |'''{{PAGENAME}} period'''<br />''{{period start}}&nbsp;-&nbsp;{{Period end}}&nbsp;million years ago''<br /><span style="text-align:center">{{infobox time scale}}</span>
+
| align="center" colspan=2 style="background-color:{{period color|{{{period|{{PAGENAME}}}}}}}" |'''{{{period|{{PAGENAME}}}}} period'''<br />''{{period start|{{{period|{{PAGENAME}}}}}}}&nbsp;-&nbsp;{{Period end|{{{period|{{PAGENAME}}}}}}}&nbsp;million years ago''<br /><span style="text-align:center">{{infobox time scale}}</span>
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
 
{{!-}}
 
{{!-}}
Line 25: Line 25:
 
{{#ifeq:{{{timeline}}}|off||
 
{{#ifeq:{{{timeline}}}|off||
 
{{!-}}
 
{{!-}}
{{!}} align="center" colspan=2{{!}} {{{{{timeline|{{PAGENAME}}}}} graphical timeline|embedded=yes}}[[Category:Periods with timeline in infobox]]}}
+
{{!}} align="center" colspan=2{{!}} {{{{{timeline|{{{period|{{PAGENAME}}}}}}}} graphical timeline|embedded=yes}}[[Category:Periods with timeline in infobox]]}}
 
|}</includeonly><noinclude>{{template doc}}
 
|}</includeonly><noinclude>{{template doc}}
  
 
[[sk:Šablóna:Infobox geochronologická jednotka]]
 
[[sk:Šablóna:Infobox geochronologická jednotka]]
 
</noinclude>
 
</noinclude>

Revision as of 00:50, 7 September 2009

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

sk:Šablóna:Infobox geochronologická jednotka