Template:ArabinRaceRating: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
style="background:#{{#ifeq:{{{1}}}|Tossup|fff
style="background:#{{#ifeq:{{{1}}}|Tossup|fff
| {{#ifeq:{{{2}}}|R|f|}}{{#switch:{{{1}}}
| {{#ifeq:{{{2}}}|R|ff|}}{{#switch:{{{1}}}
  | Certain = 88
   | Safe = 68
  | Solid = 88
   | Likely | Favored = ab
   | Safe = 88
   | Lean | Leans = bc
   | Likely | Favored = aa
   | Tilt | Tilts = de
   | Lean | Leans = cc
   | Tilt | Tilts = dd
   | ff}}{{#switch:{{{2}}}
   | ff}}{{#switch:{{{2}}}
   | D
   | D
   | D/I=f
   | D=ff
   | }}
   | }}
}}" data-sort-value={{#expr:
}}" data-sort-value={{#expr:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
| Certain = 6
| Solid = 5
  | Safe = 4
  | Safe = 4
  | Likely | Favored = 3
  | Likely | Favored = 3
Line 23: Line 19:
*{{#switch:{{{2}}}
*{{#switch:{{{2}}}
  | D
  | D
  | D/I=-1
  | D=-1
  | 1}}
  | 1}}
+{{#if:{{{3|}}}
+{{#if:{{{3|}}}
  | {{#switch:{{{2}}}
  | {{#switch:{{{2}}}
   | D  
   | D  
   | D/I= 0.1
   | D= 0.1
   | R = -0.1
   | R = -0.1
   | 0}}
   | 0}}
  |0}}
  |0}}
}}|{{{1}}} {{#if:{{{2|}}}|{{{2}}}|}} {{#if:{{{3|}}}| {{Small|(flip)}}|}}<noinclude>
}}|{{{1}}} {{#if:{{{2|}}}|{{{2}}}|}} {{#if:{{{3|}}}| {{Small|(flip)}}|}}<noinclude>
{{doc}}
== Standards ==
* style="background:#f66" data-sort-value=4 | Safe R
* style="background:#f66" data-sort-value=3.9 | Safe R {{Small|(flip)}}
* style="background:#f99" data-sort-value=3 | Likely R
* style="background:#f99" data-sort-value=3 | Favored R
* style="background:#f99" data-sort-value=2.9 | Likely R {{Small|(flip)}}
* style="background:#f99" data-sort-value=2.9 | Favored R {{Small|(flip)}}
* style="background:#fcc" data-sort-value=2 | Lean R
* style="background:#fcc" data-sort-value=1.9 | Lean R {{Small|(flip)}}
* style="background:#fdd" data-sort-value=1 | Tilt R
* style="background:#fdd" data-sort-value=0.9 | Tilt R {{Small|(flip)}}
* style="background:#fff" data-sort-value=0 | Tossup
* style="background:#ddf" data-sort-value=-0.9 | Tilt D {{Small|(flip)}}
* style="background:#ddf" data-sort-value=-1 | Tilt D
* style="background:#ccf" data-sort-value=-1.9 | Lean D {{Small|(flip)}}
* style="background:#ccf" data-sort-value=-2 | Lean D
* style="background:#aaf" data-sort-value=-2.9 | Likely D {{Small|(flip)}}
* style="background:#aaf" data-sort-value=-2.9 | Favored D {{Small|(flip)}}
* style="background:#aaf" data-sort-value=-3 | Favored D
* style="background:#aaf" data-sort-value=-3 | Likely D
* style="background:#88f" data-sort-value=-3.9 | Safe D {{Small|(flip)}}
* style="background:#88f" data-sort-value=-4 | Safe D
 
== Example ==
{| class="wikitable sortable" style="text-align:center"
! Ranking !! Col two !! Col three
|-
| {{ArabinRaceRating | Safe | D }} || 9 || 999
|-
| {{ArabinRaceRating | Safe | D | Flip}} || 23 || -1
|-
| {{ArabinRaceRating | Likely | D }} || 1 || 103
|-
| {{ArabinRaceRating | Likely | D | Flip}} || -5 || 5
|-
| {{ArabinRaceRating | Lean | D }} || 0 || 104
|-
| {{ArabinRaceRating | Lean | D | Flip}} || 8 || -5
|-
| {{ArabinRaceRating | Tilt | D }} || 1003 || 12
|-
| {{ArabinRaceRating | Tilt | D | Flip}} || 32 || 5
|-
| {{ArabinRaceRating | Tossup}} || -123 || -234
|-
| {{ArabinRaceRating | Tilt | R | Flip}} || 132 || 999
|-
| {{ArabinRaceRating | Tilt | R }} || -8 || -103
|-
| {{ArabinRaceRating | Lean | R | Flip}} || 3.14 || 103
|-
| {{ArabinRaceRating | Lean | R }} || -123 || 4
|-
| {{ArabinRaceRating | Likely | R | Flip}} || 8 || 2
|-
| {{ArabinRaceRating | Likely | R }} || -5 || 8
|-
| {{ArabinRaceRating | Safe | R | Flip}} || 1 || 9
|-
| {{ArabinRaceRating | Safe | R}} || 23 || -6
|}
</noinclude>
</noinclude>

Revision as of 03:43, 1 January 2023

style="background:#ff" data-sort-value=0|{{{1}}}

Standards

  • style="background:#f66" data-sort-value=4 | Safe R
  • style="background:#f66" data-sort-value=3.9 | Safe R (flip)
  • style="background:#f99" data-sort-value=3 | Likely R
  • style="background:#f99" data-sort-value=3 | Favored R
  • style="background:#f99" data-sort-value=2.9 | Likely R (flip)
  • style="background:#f99" data-sort-value=2.9 | Favored R (flip)
  • style="background:#fcc" data-sort-value=2 | Lean R
  • style="background:#fcc" data-sort-value=1.9 | Lean R (flip)
  • style="background:#fdd" data-sort-value=1 | Tilt R
  • style="background:#fdd" data-sort-value=0.9 | Tilt R (flip)
  • style="background:#fff" data-sort-value=0 | Tossup
  • style="background:#ddf" data-sort-value=-0.9 | Tilt D (flip)
  • style="background:#ddf" data-sort-value=-1 | Tilt D
  • style="background:#ccf" data-sort-value=-1.9 | Lean D (flip)
  • style="background:#ccf" data-sort-value=-2 | Lean D
  • style="background:#aaf" data-sort-value=-2.9 | Likely D (flip)
  • style="background:#aaf" data-sort-value=-2.9 | Favored D (flip)
  • style="background:#aaf" data-sort-value=-3 | Favored D
  • style="background:#aaf" data-sort-value=-3 | Likely D
  • style="background:#88f" data-sort-value=-3.9 | Safe D (flip)
  • style="background:#88f" data-sort-value=-4 | Safe D

Example

Ranking Col two Col three
Safe D 9 999
Safe D (flip) 23 -1
Likely D 1 103
Likely D (flip) -5 5
Lean D 0 104
Lean D (flip) 8 -5
Tilt D 1003 12
Tilt D (flip) 32 5
Tossup -123 -234
Tilt R (flip) 132 999
Tilt R -8 -103
Lean R (flip) 3.14 103
Lean R -123 4
Likely R (flip) 8 2
Likely R -5 8
Safe R (flip) 1 9
Safe R 23 -6