Difference between revisions of "Template:Bot Stats"

From NHRL
(Undo revision 4240 by Mini IronClad (talk))
Tag: Undo
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:2018-19-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=rank19=Rank, events19=Events, fights19=Fights, wins19=W, losses19=L, pct19=Pct, kos19=KOs, kod19=KOd, kos_f19=KOsF,kod_f19=KOdF|suppress error=true}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_stats_by_season.php?bot_name={{{bot}}}&season_id=2|format=json|data=events19=events, fights19=fights, wins19=w, losses19=l, pct19=pct, kos19=kos, kod19=kod, avg_time19=avg_fight_time_secs|suppress error=true}}
   
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:2020-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=rank20=Rank, events20=Events, fights20=Fights, wins20=W, losses20=L, pct20=Pct, kos20=KOs, kod20=KOd, kos_f20=KOsF,kod_f20=KOdF|suppress error}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_stats_by_season.php?bot_name={{{bot}}}&season_id=3|format=json|data=events20=events, fights20=fights, wins20=w, losses20=l, pct20=pct, kos20=kos, kod20=kod, avg_time20=avg_fight_time_secs|suppress error=true}}
   
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:2021-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=rank21=Rank, events21=Events, fights21=Fights, wins21=W, losses21=L, pct21=Pct, kos21=KOs, kod21=KOd, kos_f21=KOsF,kod_f21=KOdF|suppress error}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_stats_by_season.php?bot_name={{{bot}}}&season_id=4|format=json|data=events21=events, fights21=fights, wins21=w, losses21=l, pct21=pct, kos21=kos, kod21=kod, avg_time21=avg_fight_time_secs|suppress error=true}}
   
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:All-Time Standings-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=rank=Rank, events=Events, fights=Fights, wins=W, losses=L, pct=Pct, kos=KOs, kod=KOd, avg_time=Avg Time, kos_f=KOsF,kod_f=KOdF|suppress error}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_stats_by_season.php?bot_name={{{bot}}}&season_id=5|format=json|data=events22=events, fights22=fights, wins22=w, losses22=l, pct22=pct, kos22=kos, kod22=kod, avg_time22=avg_fight_time_secs|suppress error=true}}
  +
  +
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_stats_by_season.php?bot_name={{{bot}}}&season_id=1|format=json|data=events=events, fights=fights, wins=w, losses=l, pct=pct, kos=kos, kod=kod, avg_time=avg_fight_time_secs|suppress error=true}}
  +
  +
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_rank.php?bot_name={{{bot}}}&get_all_ranks=true|format=json|data=rankActive=ranking|suppress error}}
  +
  +
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_streak_stats.php?bot_name={{{bot}}}|format=json|data=last_five=last_five, streak_type_current=streak_type_current, streak_length_current=streak_length_current, num_kos_current_streak=num_kos_current_streak, streak_length_longest_winning=streak_length_longest_winning, num_kos_longest_winning=num_kos_longest_winning, streak_length_longest_losing=streak_length_longest_losing, num_kod_longest_losing=num_kod_longest_losing |suppress error}}
   
 
== Statistics ==
 
== Statistics ==
  +
=== Info ===
  +
* '''Rank:''' {{#if: {{#external_value:rankActive}} | [[NHRL:Stats:Active-{{{class}}}|#{{#external_value:rankActive}}]] | [[NHRL:Stats:Active-{{{class}}}|Unranked]] }} in {{{class}}}.
 
* '''Last 5 fights:''' {{#external_value:last_five}}
  +
* '''Current streak:''' {{#external_value:streak_type_current}}{{#external_value:streak_length_current}} ({{#external_value:num_kos_current_streak}} KOs/KO'd)
  +
* '''Longest winning streak:''' {{#external_value:streak_length_longest_winning}} ({{#external_value:num_kos_longest_winning}} KOs)
  +
* '''Longest losing streak:''' {{#external_value:streak_length_longest_losing}} ({{#external_value:num_kod_longest_losing}} KO'd)
 
* '''Avg fight time (seconds):''' {{#external_value:avg_time}}
  +
 
=== Record ===
 
=== Record ===
 
{| class="wikitable"
 
{| class="wikitable"
 
! Year
 
! Year
! Rank
 
 
! Events
 
! Events
 
! Fights
 
! Fights
Line 19: Line 32:
 
! KOs
 
! KOs
 
! KO'd
 
! KO'd
! Avg Time (s)
 
! KOs/F
 
! KO'd/F
 
 
{{!}}-
 
{{!}}-
 
{{!}} [[NHRL:Stats:2018-19-{{{class}}}|2018-19]]
 
{{!}} [[NHRL:Stats:2018-19-{{{class}}}|2018-19]]
{{!}} {{#external_value:rank19}}
 
 
{{!}} {{#external_value:events19}}
 
{{!}} {{#external_value:events19}}
 
{{!}} {{#external_value:fights19}}
 
{{!}} {{#external_value:fights19}}
Line 32: Line 41:
 
{{!}} {{#external_value:kos19}}
 
{{!}} {{#external_value:kos19}}
 
{{!}} {{#external_value:kod19}}
 
{{!}} {{#external_value:kod19}}
{{!}} -
 
{{!}} {{#external_value:kos_f19}}
 
{{!}} {{#external_value:kod_f19}}
 
 
{{!}}-
 
{{!}}-
 
{{!}} [[NHRL:Stats:2020-{{{class}}}|2020]]
 
{{!}} [[NHRL:Stats:2020-{{{class}}}|2020]]
{{!}} {{#external_value:rank20}}
 
 
{{!}} {{#external_value:events20}}
 
{{!}} {{#external_value:events20}}
 
{{!}} {{#external_value:fights20}}
 
{{!}} {{#external_value:fights20}}
Line 45: Line 50:
 
{{!}} {{#external_value:kos20}}
 
{{!}} {{#external_value:kos20}}
 
{{!}} {{#external_value:kod20}}
 
{{!}} {{#external_value:kod20}}
{{!}} -
 
{{!}} {{#external_value:kos_f20}}
 
{{!}} {{#external_value:kod_f20}}
 
 
{{!}}-
 
{{!}}-
 
{{!}} [[NHRL:Stats:2021-{{{class}}}|2021]]
 
{{!}} [[NHRL:Stats:2021-{{{class}}}|2021]]
{{!}} {{#external_value:rank21}}
 
 
{{!}} {{#external_value:events21}}
 
{{!}} {{#external_value:events21}}
 
{{!}} {{#external_value:fights21}}
 
{{!}} {{#external_value:fights21}}
Line 58: Line 59:
 
{{!}} {{#external_value:kos21}}
 
{{!}} {{#external_value:kos21}}
 
{{!}} {{#external_value:kod21}}
 
{{!}} {{#external_value:kod21}}
{{!}} -
+
{{!}}-
  +
{{!}} [[NHRL:Stats:2022-{{{class}}}|2022]]
{{!}} {{#external_value:kos_f21}}
 
{{!}} {{#external_value:kod_f21}}
+
{{!}} {{#external_value:events22}}
 
{{!}} {{#external_value:fights22}}
 
{{!}} {{#external_value:wins22}}
 
{{!}} {{#external_value:losses22}}
 
{{!}} {{#external_value:pct22}}
 
{{!}} {{#external_value:kos22}}
 
{{!}} {{#external_value:kod22}}
 
{{!}}-
 
{{!}}-
 
{{!}} [[NHRL:Stats:All-Time-{{{class}}}|All-Time]]
 
{{!}} [[NHRL:Stats:All-Time-{{{class}}}|All-Time]]
{{!}} {{#external_value:rank}}
 
 
{{!}} {{#external_value:events}}
 
{{!}} {{#external_value:events}}
 
{{!}} {{#external_value:fights}}
 
{{!}} {{#external_value:fights}}
Line 71: Line 77:
 
{{!}} {{#external_value:kos}}
 
{{!}} {{#external_value:kos}}
 
{{!}} {{#external_value:kod}}
 
{{!}} {{#external_value:kod}}
{{!}} {{#external_value:avg_time}}
 
{{!}} {{#external_value:kos_f}}
 
{{!}} {{#external_value:kod_f}}
 
 
|}
 
|}
   
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:Event Participants-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=date_ev=Date, reached_ev=Reached, place_ev=Place, fights_ev=Fights, wins_ev=W, losses_ev=L, kos_ev=KOs, kod_ev=KOd|suppress error}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_event_participants.php?bot_name={{{bot}}}|format=json|data=date_ev=event_date, name_fought_ev=name_fought_as, reached_ev=round_reached, place_ev=place, fights_ev=fights, wins_ev=wins, losses_ev=losses, kos_ev=kos, kod_ev=kod|suppress error}}
   
 
=== Events ===
 
=== Events ===
 
{| class="wikitable"
 
{| class="wikitable"
 
! Date
 
! Date
  +
! Fought as
 
! Reached
 
! Reached
 
! Place
 
! Place
Line 90: Line 94:
 
{{!}}-
 
{{!}}-
 
{{!}} {{{date_ev}}}
 
{{!}} {{{date_ev}}}
  +
{{!}} {{{name_fought_ev}}}
 
{{!}} {{{reached_ev}}}
 
{{!}} {{{reached_ev}}}
 
{{!}} {{{place_ev}}}
 
{{!}} {{{place_ev}}}
Line 99: Line 104:
 
|}
 
|}
   
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:Head to Head-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=opponent_h2h=Opponent, fights_h2h=Fights, wins_h2h=W, losses_h2h=L, kos_h2h=KOs, kod_h2h=KOd, last_meeting_h2h=Last Meeting}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_head_to_head.php?bot_name={{{bot}}}|format=json|data=opponent_h2h=opponent_unique_name, fights_h2h=num_fights, wins_h2h=wins, losses_h2h=losses, kos_h2h=kos, kod_h2h=kod, last_meeting_h2h=last_meeting}}
   
 
=== Opponents ===
 
=== Opponents ===
Line 122: Line 127:
 
''Click "Expand" to see this table.''
 
''Click "Expand" to see this table.''
   
{{#get_web_data:url={{fullurl:Special:GetData/Template:Stats:Data-{{{class}}}}}?Bot={{{bot}}}|format=csv with header|data=date=Date, bot=Bot, points=Fight Point Value, opponent=Opponent, round=Round, w=W, l=L, fight_length_secs=Fight Length Seconds, w_ko=W-ko, l_ko=L-ko, w_jd=W-jd, l_jd=L-jd, w_f=W-f, l_f=L-f, youtube_link=YouTube Link, result=Fight Result, by=Result By}}
+
{{#get_web_data:url=https://stats.nhrl.io/statsbook/get_fights.php?bot_name={{{bot}}}|format=json|data=date=date, opponent=opponent, round=round, fight_length_secs=fight_length_secs, video_link=video_link, result=result, by=result_by, points=points}}
   
 
=== Full Fight History ===
 
=== Full Fight History ===
Line 142: Line 147:
 
{{!}} {{{points}}}
 
{{!}} {{{points}}}
 
{{!}} {{{fight_length_secs}}}
 
{{!}} {{{fight_length_secs}}}
{{!}} {{{youtube_link}}} }}
+
{{!}} {{{video_link}}} }}
 
|}
 
|}
   

Revision as of 23:32, 22 September 2022








Statistics

Info

  • Rank: [[NHRL:Stats:Active-{{{class}}}|Unranked]] in {{{class}}}.
  • Last 5 fights:
  • Current streak: ( KOs/KO'd)
  • Longest winning streak: ( KOs)
  • Longest losing streak: ( KO'd)
  • Avg fight time (seconds):

Record

Year Events Fights W L % KOs KO'd
[[NHRL:Stats:2018-19-{{{class}}}|2018-19]]
[[NHRL:Stats:2020-{{{class}}}|2020]]
[[NHRL:Stats:2021-{{{class}}}|2021]]
[[NHRL:Stats:2022-{{{class}}}|2022]]
[[NHRL:Stats:All-Time-{{{class}}}|All-Time]]


Events

Date Fought as Reached Place Fights W L KOs KO'd

Could not get URL https://stats.nhrl.io/statsbook/get_head_to_head.php?bot_name={{{bot}}} after 3 tries.

Opponents

Opponent Fights W L KOs KO'd Last Meeting

Click "Expand" to see this table.


Full Fight History

Date Opponent Round Result By Points Fight Length (s) Video

* Forfeits are not counted in a bot's W-L record.

For more information on how points are calculated for rankings, click here.

Click "Expand" to see this table.