Template:Geological range/marker: Difference between revisions
Template page
More actions
Content deleted Content added
fix tiny pixel issue, turns out my monitor wasn't pixel perfect and this would've led to more display errors |
Compromise at 250px per talk (Template talk:Automatic taxobox#Auto width of images and linked VPR discussion) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#ifexpr:{{{1}}}-{{{2}}}>5| |
<includeonly><onlyinclude>{{#ifexpr:{{{1}}}-{{{2}}}>5| |
||
<div style="position:absolute; height:8px; left:{{#expr:(650-{{{1}}})/650* |
<div style="position:absolute; height:8px; left:{{#expr:(650-{{{1}}})/650*250}}px; width:{{#expr:({{{1}}}-{{{2}}})*250/650}}px; color:inherit; background-color:#360; opacity:{{#if:{{{3|}}}|0.{{{3}}}|1}}; "><!--range-border--></div> |
||
{{#if:{{{3|}}}||<div style="position:absolute; height:6px; top:1px; left:{{#expr:((650-{{{1}}})/650* |
{{#if:{{{3|}}}||<div style="position:absolute; height:6px; top:1px; left:{{#expr:((650-{{{1}}})/650*250)+1}}px; width:{{#expr:(({{{1}}}-{{{2}}})*250/650)-2}}px; color:inherit; background-color:#6c3;"><!--range-marker--></div>}} |
||
|<!--else--> |
|<!--else--> |
||
{{#if:{{{3|}}}||<div style="position:absolute; top:-4px; left:{{#expr:(650-{{{1}}})/650* |
{{#if:{{{3|}}}||<div style="position:absolute; top:-4px; left:{{#expr:(650-{{{1}}})/650*250-4}}px; width:0px; border-top: 8px solid #360; border-left: 4px solid transparent; border-right: 4px solid transparent;";><div style="position:absolute; top:-7px; left:-3px; width:0px; border-top: 6px solid #6c3; border-left: 3px solid transparent; border-right: 3px solid transparent;";></div></div>}} |
||
}}</onlyinclude></includeonly><noinclude> |
}}</onlyinclude></includeonly><noinclude> |
||
{{pp-template|small=yes}} |
{{pp-template|small=yes}} |
||
Latest revision as of 15:00, 11 May 2026
Lua error in Module:Effective_protection_level at line 64: attempt to index field 'TitleBlacklist' (a nil value).