Template:VersionCompatibilityVersion: Difference between revisions

Jump to navigation Jump to search
Escape quotes in notes (affected e.g. Metroid: Other M)
(Escape quotes in notes (affected e.g. Metroid: Other M))
 
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div title="{{VersionRevision|{{{1}}}|use=title}} {{{2}}} {{{3|}}}" style="position:absolute; text-align:right; height:13px; border-right:1px solid #000; margin-right:-1px; margin-top:12px; overflow:hidden; width:{{#expr:100-({{VersionRevision|{{{1}}}|use=link}}/{{CurrentRevision}}*100)}}%; background:{{#switch:{{{2}}}
<includeonly><!-- Tooltip --><div title="Rev: {{VersionRevision|{{{1}}}|use=title}} | Rating: {{{2}}} | Notes: {{#regex:{{{3|}}}|/"/|&quot;}}">
|?=#000
 
  |*=#f00
<!-- Bar and revision label -->
  |**=#f80
<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}}%;
  |***=#ff0
 
  |****=#8f0
background:{{#switch:{{{2}}}
  |*****=#0f0
  |*=#f83333
}};"><span style="font-size:9px; font-weight:bold; padding-right:1px">{{VersionRevision|{{{1}}}|use=title}}</span></div></includeonly><noinclude>
  |**=#fa3
{{documentation|Template:VersionCompatibility/doc}}
  |***=#fe3
</noinclude>
  |****=#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>

Navigation menu