Template:VersionCompatibilityVersion/sandbox: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{#var:rev}}||{{#vardefine:rev|{{{1}}}}}}}<div
<includeonly>{{#if:{{#var:rev}}||{{#vardefine:rev|{{{1}}}}}}}<div
title="Rev: {{VersionRevision|{{{1}}}|use=title}} | Rating: {{{2}}} | Notes: {{{3|}}}"  
title="Rev: {{VersionRevision|{{{1}}}|use=title}} {{#ifeq:{{{2}}}|{{#var:last}}||<nowiki>|</nowiki> Status updated: {{#switch:{{{2}}}
|*=Broken
|**=Intro
|***=Starts
|****=Playable
|*****=Perfect
}}}} | What's new: {{{3|}}}"
style="position: absolute; height: 12px; border: 1px solid black; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;
style="position: absolute; height: 12px; border: 1px solid black; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;
}}
}}


background:{{#switch:{{{2}}}
background:{{#ifeq:{{{2}}}|{{#var:last}}|rgba(255, 255, 255, 0.25)|{{#switch:{{{2}}}
  |*=#f83333
  |*=#f83333
  |**=#fa3
  |**=#fa3
Line 10: Line 16:
  |****=#3db
  |****=#3db
  |*****=#00f855
  |*****=#00f855
  |rgba(255, 255, 255, 0.25)
  |rgba(255, 255, 255, 0.25)}}
}};"><div style="position:absolute; bottom:-5px; margin-left: 100%; font-size:14px; color:{{#switch:{{{2}}}
}};"><div style="position:absolute; bottom:-5px; margin-left: 100%; font-size:14px; color:{{#switch:{{{2}}}
  |*=#c62222
  |*=#c62222
Line 17: Line 23:
  |****=#2a8
  |****=#2a8
  |*****=#00b522
  |*****=#00b522
}};"><div style="margin-left:-100px; text-align:right; font-weight: 900;">{{#switch:{{{2}}}
}};">{{#ifeq:{{{2}}}|{{#var:last}}||<div style="margin-left:-100px; text-align:right; font-weight: 900;">{{#switch:{{{2}}}
  |*=BROKEN
  |*=BROKEN
  |**=INTRO
  |**=INTRO
Line 23: Line 29:
  |****=PLAYABLE
  |****=PLAYABLE
  |*****=PERFECT
  |*****=PERFECT
}}</div></div><div style="width: 0px; transform: rotate(-25deg); margin-left: 100%"><span style="position: relative; bottom: 16px; left: 5px; white-space: nowrap; font-size: 10px;">◣<span class="plainlinks" {{#if:{{{4|}}}|style="position: absolute; bottom: 3px; left: 2px;"|}}>{{revision|{{{1}}}}}</span></span></div></div>{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]|}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]</noinclude>
}}</div>}}</div><div style="width: 0px; transform: rotate(-25deg); margin-left: 100%"><span style="position: relative; bottom: 16px; left: 5px; white-space: nowrap; font-size: 10px;">◣<span class="plainlinks" {{#if:{{{4|}}}|style="position: absolute; bottom: 3px; left: 2px;"|}}>{{revision|{{{1}}}}}</span></span></div></div>{{#vardefine:last|{{{2}}}}}{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]|}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]</noinclude>