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}}}|CS|fa|}}{{#switch:{{{1}}}
| {{#ifeq:{{{2}}}|R|fb|}}{{#switch:{{{1}}}
   | Safe = 18
   | Safe = 18
   | Likely | Favored = 58
   | Likely | Favored = 58
   | Lean | Leans = 98
   | Lean | Leans = 98
   | ff}}{{#switch:{{{2}}}
   | ff}}{{#switch:{{{2}}}
   | LS
   | D
   | LS=fa
   | D=e
   | }}
   | }}
}}" data-sort-value={{#expr:
}}" data-sort-value={{#expr:
Line 16: Line 16:
  | 0}}
  | 0}}
*{{#switch:{{{2}}}
*{{#switch:{{{2}}}
  | LS
  | D
  | LS=-1
  | D=-1
  | 1}}
  | 1}}
+{{#if:{{{3|}}}
+{{#if:{{{3|}}}
  | {{#switch:{{{2}}}
  | {{#switch:{{{2}}}
   | LS
   | D
   | LS= 0.1
   | D= 0.1
   | CS = -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>
== Standards ==
== Standards ==
* style="background:#f66" data-sort-value=4 | Safe CS
* style="background:#f66" data-sort-value=4 | Safe R
* style="background:#f66" data-sort-value=3.9 | Safe CS {{Small|(flip)}}
* style="background:#f66" data-sort-value=3.9 | Safe R {{Small|(flip)}}
* style="background:#f99" data-sort-value=3 | Likely CS
* style="background:#f99" data-sort-value=3 | Likely R
* style="background:#f99" data-sort-value=3 | Favored CS
* style="background:#f99" data-sort-value=3 | Favored R
* style="background:#f99" data-sort-value=2.9 | Likely CS {{Small|(flip)}}
* style="background:#f99" data-sort-value=2.9 | Likely R {{Small|(flip)}}
* style="background:#f99" data-sort-value=2.9 | Favored CS {{Small|(flip)}}
* style="background:#f99" data-sort-value=2.9 | Favored R {{Small|(flip)}}
* style="background:#fcc" data-sort-value=2 | Lean CS
* style="background:#fcc" data-sort-value=2 | Lean R
* style="background:#fcc" data-sort-value=1.9 | Lean CS {{Small|(flip)}}
* style="background:#fcc" data-sort-value=1.9 | Lean R {{Small|(flip)}}
* style="background:#fff" data-sort-value=0 | Tossup
* style="background:#fff" data-sort-value=0 | Tossup
* style="background:#ccf" data-sort-value=-1.9 | Lean LS {{Small|(flip)}}
* style="background:#ccf" data-sort-value=-1.9 | Lean D {{Small|(flip)}}
* style="background:#ccf" data-sort-value=-2 | Lean LS
* style="background:#ccf" data-sort-value=-2 | Lean D
* style="background:#aaf" data-sort-value=-2.9 | Likely LS {{Small|(flip)}}
* style="background:#aaf" data-sort-value=-2.9 | Likely D {{Small|(flip)}}
* style="background:#aaf" data-sort-value=-2.9 | Favored LS {{Small|(flip)}}
* style="background:#aaf" data-sort-value=-2.9 | Favored D {{Small|(flip)}}
* style="background:#aaf" data-sort-value=-3 | Favored LS
* style="background:#aaf" data-sort-value=-3 | Favored D
* style="background:#aaf" data-sort-value=-3 | Likely LS
* style="background:#aaf" data-sort-value=-3 | Likely D
* style="background:#88f" data-sort-value=-3.9 | Safe LS {{Small|(flip)}}
* style="background:#88f" data-sort-value=-3.9 | Safe D {{Small|(flip)}}
* style="background:#88f" data-sort-value=-4 | Safe LS
* style="background:#88f" data-sort-value=-4 | Safe D


== Example ==
== Example ==
Line 50: Line 50:
! Ranking !! Col two !! Col three
! Ranking !! Col two !! Col three
|-
|-
| {{ArabinRaceRating | Safe | LS }} || 9 || 999
| {{ArabinRaceRating | Safe | D }} || 9 || 999
|-
|-
| {{ArabinRaceRating | Safe | LS | Flip}} || 23 || -1
| {{ArabinRaceRating | Safe | D | Flip}} || 23 || -1
|-
|-
| {{ArabinRaceRating | Likely | LS }} || 1 || 103
| {{ArabinRaceRating | Likely | D }} || 1 || 103
|-
|-
| {{ArabinRaceRating | Likely | LS | Flip}} || -5 || 5
| {{ArabinRaceRating | Likely | D | Flip}} || -5 || 5
|-
|-
| {{ArabinRaceRating | Lean | LS }} || 0 || 104
| {{ArabinRaceRating | Lean | D }} || 0 || 104
|-
|-
| {{ArabinRaceRating | Lean | LS | Flip}} || 8 || -5
| {{ArabinRaceRating | Lean | D | Flip}} || 8 || -5
|-
|-
| {{ArabinRaceRating | Tossup}} || -123 || -234
| {{ArabinRaceRating | Tossup}} || -123 || -234
|-
|-
| {{ArabinRaceRating | Lean | CS | Flip}} || 3.14 || 103
| {{ArabinRaceRating | Lean | R | Flip}} || 3.14 || 103
|-
|-
| {{ArabinRaceRating | Lean | CS }} || -123 || 4
| {{ArabinRaceRating | Lean | R }} || -123 || 4
|-
|-
| {{ArabinRaceRating | Likely | CS | Flip}} || 8 || 2
| {{ArabinRaceRating | Likely | R | Flip}} || 8 || 2
|-
|-
| {{ArabinRaceRating | Likely | CS }} || -5 || 8
| {{ArabinRaceRating | Likely | R }} || -5 || 8
|-
|-
| {{ArabinRaceRating | Safe | CS | Flip}} || 1 || 9
| {{ArabinRaceRating | Safe | R | Flip}} || 1 || 9
|-
|-
| {{ArabinRaceRating | Safe | CS}} || 23 || -6
| {{ArabinRaceRating | Safe | R}} || 23 || -6
|}
|}
</noinclude>
</noinclude>

Revision as of 04:15, 5 July 2020

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:#fff" data-sort-value=0 | Tossup
  • 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
Tossup -123 -234
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