Difference between revisions of "Template:RumbleStatsDefault"

From Robowiki
Jump to navigation Jump to search
m (missing some { })
m (update sample output)
Line 2: Line 2:
 
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>
{{subst:rumblestats:roborumble|voidious.Diamond 1.272b|RumbleStatsDefault}}
+
{{subst:rumblestats:roborumble|voidious.Diamond 1.8.22|RumbleStatsDefault}}
 
</pre>
 
</pre>
 
which would yield:
 
which would yield:
  
'''[http://darkcanuck.net/rumble/RatingsDetails?game=roborumble&name=voidious.Diamond+1.272b RoboRumble] - APS: 84.58% (4th), PL: 720-17 (14th), Glicko-2: 2124.1, Survival: 92.51%'''
+
'''{{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|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:
 
<pre>
 
<pre>
{{subst:rumblestats:roborumble|voidious.Diamond 1.272b}}
+
{{subst:rumblestats:roborumble|voidious.Diamond 1.8.22}}
 
</pre>
 
</pre>
 
[[Category:RoboRumble Stats]]
 
[[Category:RoboRumble Stats]]
 
</noinclude>
 
</noinclude>

Revision as of 04:57, 27 March 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: 14.26%

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}}