Difference between revisions of "Template:StatsBox"
Jump to navigation
Jump to search
(Attept #1 at creating RoboRumble Stats table template) |
(Description text and example usage) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly> |
− | + | <table bgcolor=#888888> | |
− | < | + | <tr bgcolor=#c7c7c7> |
+ | <th style="text-align:center; padding:4px">Competition</th> | ||
+ | <th style="text-align:center; padding:4px">{{{rumble}}}</th> | ||
+ | </tr> | ||
<tr bgcolor=#fcfcfc> | <tr bgcolor=#fcfcfc> | ||
− | <th> | + | <th style="text-align:center; padding:4px">Rank</th> |
− | < | + | <td style="text-align:left; padding:4px">{{{rank}}}</td> |
</tr> | </tr> | ||
− | <tr bgcolor=# | + | <tr bgcolor=#fcfcfc> |
− | <th> | + | <th style="text-align:center; padding:4px">{{{scorelabel}}}</th> |
− | < | + | <td style="text-align:left; padding:4px">{{{score}}}</td> |
</tr> | </tr> | ||
− | <tr bgcolor=# | + | <tr bgcolor=#fcfcfc> |
− | <th> | + | <th style="text-align:center; padding:4px">{{{score2label}}}</th> |
− | <td>{{{ | + | <td style="text-align:left; padding:4px">{{{score2}}}</td> |
</tr> | </tr> | ||
<tr bgcolor=#fcfcfc> | <tr bgcolor=#fcfcfc> | ||
− | <th> | + | <th style="text-align:center; padding:4px">Wins</th> |
− | <td | + | <td style="text-align:left; padding:4px">{{{win}}}</td> |
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
<tr bgcolor=#fcfcfc> | <tr bgcolor=#fcfcfc> | ||
− | <th> | + | <th style="text-align:center; padding:4px">Losses</th> |
− | <td>{{{ | + | <td style="text-align:left; padding:4px">{{{loss}}}</td> |
− | |||
− | |||
− | |||
</table> | </table> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | {{StatsBox|link=http://literumble.appspot.com/BotDetails?game= | + | This is a style template for the [[RumbleStats]] extension. |
+ | |||
+ | Example usage: | ||
+ | <pre> | ||
+ | {{subst:rumblestats:meleerumble|origin.SleepSiphon 1.7b|StatsBox}} | ||
+ | </pre> | ||
+ | |||
+ | Example output: | ||
+ | {{StatsBox|link=http://literumble.appspot.com/BotDetails?game=meleerumble&name=origin.SleepSiphon%201.7b|rumble=MeleeRumble|scorelabel=APS|score=61.61|rank=51st|win=346|loss=56|plrank=56th|glicko2=N/A|pwin=86.07|vote=0|anpp=80.96|score2label=Survival|score2=29.83}} | ||
[[Category:RoboRumble Stats]] | [[Category:RoboRumble Stats]] | ||
</noinclude> | </noinclude> |
Latest revision as of 04:21, 11 July 2019
This is a style template for the RumbleStats extension.
Example usage:
{{subst:rumblestats:meleerumble|origin.SleepSiphon 1.7b|StatsBox}}
Example output:
Competition | MeleeRumble |
---|---|
Rank | 51st |
APS | 61.61 |
Survival | 29.83 |
Wins | 346 |
Losses | 56 |