Difference between revisions of "Template:RumbleStatsDefault"

From Robowiki
Jump to navigation Jump to search
m (regenerate with ANPP enabled, even tho it won't be rendered)
m (add default of "N/A" for vote, since it was added later)
Line 1: Line 1:
<includeonly>[{{{link}}} {{{rumble}}}] - {{{scorelabel}}}: {{{score}}}% ({{{rank}}}), PL: {{{win}}}-{{{loss}}} ({{{plrank}}}), {{{score2label}}}: {{{score2}}}%, Vote: {{{vote}}}%</includeonly><noinclude>
+
<includeonly>[{{{link}}} {{{rumble}}}] - {{{scorelabel}}}: {{{score}}}% ({{{rank}}}), PL: {{{win}}}-{{{loss}}} ({{{plrank}}}), {{{score2label}}}: {{{score2}}}%, Vote: {{{vote|N/A}}}%</includeonly><noinclude>
 
A formatting template for use with [[RumbleStats]] MediaWiki extension. Usage would look like:
 
A formatting template for use with [[RumbleStats]] MediaWiki extension. Usage would look like:
 
<pre>
 
<pre>
Line 6: Line 6:
 
which would yield:
 
which would yield:
  
'''{{RumbleStatsDefault|link=http://literumble.appspot.com/BotDetails?game=roborumble&name=voidious.Diamond%201.8.22|rumble=RoboRumble|scorelabel=APS|score=90.33|rank=2nd|win=984|loss=1|plrank=2nd|glicko2=N/A|pwin=99.9|vote=14.26|anpp=95.13|score2label=Survival|score2=97.95}}'''
+
'''{{RumbleStatsDefault|link=http://literumble.appspot.com/BotDetails?game=roborumble&name=voidious.Diamond%201.8.22|rumble=RoboRumble|scorelabel=APS|score=90.33|rank=2nd|win=984|loss=1|plrank=2nd|glicko2=N/A|pwin=99.9|anpp=95.13|score2label=Survival|score2=97.95}}'''
  
 
Since this template is the default format, you can leave out the third argument, as in the original RumbleStats syntax:
 
Since this template is the default format, you can leave out the third argument, as in the original RumbleStats syntax:

Revision as of 03:44, 15 December 2013

A formatting template for use with RumbleStats MediaWiki extension. Usage would look like:

{{subst:rumblestats:roborumble|voidious.Diamond 1.8.22|RumbleStatsDefault}}

which would yield:

RoboRumble - APS: 90.33% (2nd), PL: 984-1 (2nd), Survival: 97.95%, Vote: N/A%

Since this template is the default format, you can leave out the third argument, as in the original RumbleStats syntax:

{{subst:rumblestats:roborumble|voidious.Diamond 1.8.22}}