420
edits
(Version compatibility graphs should finally fit next to righthand sidebars correctly) |
(Escape quotes in notes (affected e.g. Metroid: Other M)) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><!-- Tooltip --><div title="Rev: {{VersionRevision|{{{1}}}|use=title}} | Rating: {{{2}}} | Notes: {{#regex:{{{3|}}}|/"/|"}}"> | ||
title="Rev: {{VersionRevision|{{{1}}}|use=title}} | Rating: {{{2}}} | Notes: {{{3|}}}" | |||
style="position:absolute; | <!-- Bar and revision label --> | ||
<div class="plainlinks" style="position: absolute; overflow: hidden; height:12px; border: 1px solid black; width:{{#if:{{#var:tl_vc_startrev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:tl_vc_startrev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:tl_vc_startrev}}|use=link}})*100)}}|100}}%; | |||
height: | |||
border | |||
{{# | |||
background:{{#switch:{{{2}}} | background:{{#switch:{{{2}}} | ||
|*=#f83333 | |||
|*=# | |**=#fa3 | ||
|**=# | |***=#fe3 | ||
|***=# | |****=#3db | ||
|****=# | |*****=#00f855}}; text-align:right; font-size:10px;"><div style="position:relative; bottom:2px; right:2px;">{{revision|{{{1}}}}}</div></div></div>{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}</includeonly><noinclude>{{documentation|Template:VersionCompatibility/doc}}</noinclude> | ||
|*****=# | |||
}};">< | |||
}} |