Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Geological range: Difference between revisions

Template page
Content deleted Content added
use span tag instead of div to avoid Linter errors when this template is wrapped in span tags.
 
Compromise at 250px per talk (Template talk:Automatic taxobox#Auto width of images and linked VPR discussion)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><span class="noprint"><span style="display:inline-block;">{{{prefix|}}}</span><span style="display:inline-block;">{{{3|{{{text|{{{1}}}{{#if:{{{2|}}}|–{{{2|}}}}}{{#iferror:{{#expr:{{{1}}}}}||&nbsp;[[Megaannum|Ma]]}}}}}}}}</span>{{{ref|{{{reference|{{{refs|{{{references|}}}}}}}}}}}} <span style="display:inline-block;">{{{PS|{{{ps|}}}}}}</span>{{Phanerozoic 220px}}<!--
<includeonly><span class="noprint"><span style="display:inline-block;">{{{prefix|}}}</span><span style="display:inline-block;">{{{3|{{{text|{{{1}}}{{#if:{{{2|}}}|–{{{2|}}}}}{{#iferror:{{#expr:{{{1}}}}}||&nbsp;[[Megaannum|Ma]]}}}}}}}}</span>{{{ref|{{{reference|{{{refs|{{{references|}}}}}}}}}}}} <span style="display:inline-block;">{{{PS|{{{ps|}}}}}}</span>{{Phanerozoic 250px}}<!--


Fossil range marker
Fossil range marker


--><div name=Range style="margin:0 auto; line-height:0; clear:both; width:220px; padding:0px; height:8px; overflow:visible; background-color:transparent; position:relative; top:-4px; z-index:100;">{{fossil range/marker|{{#if:{{{earliest|}}}|{{#iferror:{{#expr:{{{earliest}}}}}|{{period start|{{{earliest}}}}}|{{{earliest}}}}}|{{#iferror:{{#expr:{{{1}}}}}|{{period start|{{{1}}}}}|{{{1}}}}}}}|{{#if:{{{latest|}}}|{{#iferror:{{#expr:{{{latest}}}}}|{{period end|{{{latest}}}}}|{{{latest}}}}}|{{#iferror:{{#expr:{{{2|{{{1}}}}}}}}|{{period end|{{{2|{{{1}}}}}}}}|{{{2|{{{1}}}}}}}}}}|42<!-- This determines the opacity of the bar-->}}
--><div name=Range style="margin:0 auto; line-height:0; clear:both; width:250px; padding:0px; height:8px; overflow:visible; color:inherit; background-color:transparent; position:relative; top:-4px; z-index:100;">{{Geological range/marker|{{#if:{{{earliest|}}}|{{#iferror:{{#expr:{{{earliest}}}}}|{{period start|{{{earliest}}}}}|{{{earliest}}}}}|{{#iferror:{{#expr:{{{1}}}}}|{{period start|{{{1}}}}}|{{{1}}}}}}}|{{#if:{{{latest|}}}|{{#iferror:{{#expr:{{{latest}}}}}|{{period end|{{{latest}}}}}|{{{latest}}}}}|{{#iferror:{{#expr:{{{2|{{{1}}}}}}}}|{{period end|{{{2|{{{1}}}}}}}}|{{{2|{{{1}}}}}}}}}}|42<!-- This determines the opacity of the bar-->}}
{{fossil range/marker|{{#iferror:{{#expr:{{{1}}}}}|{{period start|{{{1}}}}}|{{{1}}}}}|{{#iferror:{{#expr:{{{2|{{{1}}}}}}}}|{{period end|{{{2|{{{1}}}}}}}}|{{{2|{{{1}}}}}}}}}}
{{Geological range/marker|{{#iferror:{{#expr:{{{1}}}}}|{{period start|{{{1}}}}}|{{{1}}}}}|{{#iferror:{{#expr:{{{2|{{{1}}}}}}}}|{{period end|{{{2|{{{1}}}}}}}}|{{{2|{{{1}}}}}}}}}}
</div>
</div>
</div></span></includeonly><noinclude>{{documentation}}</noinclude>
</div></span></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 15:59, 11 May 2026