Difference between revisions of "Template:Infobox Robot"

From Robowiki
Jump to navigation Jump to search
m (temporary edit (altimage), i'll remove it later myself Aaron ;))
(adding some nbsp's in the field names, hope nobody minds)
Line 55: Line 55:
  
 
{{If|test={{{best_rating|}}}|then=
 
{{If|test={{{best_rating|}}}|then=
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Best Rating'''{{!}}{{!}} {{{best_rating<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Best&nbsp;Rating'''{{!}}{{!}} {{{best_rating<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 63: Line 63:
  
 
{{If|test={{{rating|}}}|then=
 
{{If|test={{{rating|}}}|then=
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Current Rating'''{{!}}{{!}} {{{rating<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Current&nbsp;Rating'''{{!}}{{!}} {{{rating<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 71: Line 71:
  
 
{{If|test={{{current_version|}}}|then=
 
{{If|test={{{current_version|}}}|then=
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Current Version'''{{!}}{{!}} {{{current_version<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Current&nbsp;Version'''{{!}}{{!}} {{{current_version<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 79: Line 79:
  
 
{{If|test={{{license|}}}|then=
 
{{If|test={{{license|}}}|then=
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''[[Licenses|License]]'''{{!}}{{!}} {{{license<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''[[Licenses|Code&nbsp;License]]'''{{!}}{{!}} {{{license<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-

Revision as of 04:13, 14 November 2007

Infobox Robot
[[Image:{{{image}}} |200px| ]]
{{{caption}}}
Author(s) {{{author}}}
Extends {{{extends}}}
Targeting {{{targeting}}}
Movement {{{movement}}}
Released {{{released}}}
Best Rating {{{best_rating}}}
Current Rating {{{rating}}}
Current Version {{{current_version}}}
License {{{license}}}
[{{{download_link}}} Download]
[{{{source_link}}} Source]




Documentation

Usage

The infobox may be added by pasting the template as shown below into an article. None of the Parameters are required as of yet.

{{Infobox Robot
| bgcolour        = 
| name            = 
| altimage        = 
| image           = 
| imagesize       = 
| caption         = 
| author          = 
| extends         = 
| targeting       = 
| movement        = 
| released        = 
| best_rating     = 
| rating          = 
| current_version = 
| license         = 
| download_link   = 
| source_link     = 
}}

Parameters

bgcolor The background coloring, omit for default color
name The name of the robot, omit for page name
altimage generally not used, only here temporarily for offsite image linking, optional
image an image, logo or snapshot of the robot, optional
imagesize* In the form "Npx", resizes the image to a width of N pixels; default is 200px, optional
caption* A caption discribing the image, optional
author the creator(s) of the robot, e.g. PEZ, Voidious, Chase-san, etc. optional
extends what this bot extends, be it AdvancedRobot, Robot, or TeamRobot, optional
targeting The type of targeting the bot uses, optional
movement The type of movement the bot uses, optional
released The date the bot was originally released, optional
best_rating The best rating the bot has obtained in the rumble, optional
rating The current rating the bot has in the rumble, optional
current_version The current version of the robot, optional
license The license this robot's source is under, optional
download_link the absolute link to your robots jar, optional
source_link the absolute link to the source of your robot, optional
* Only used if the {{{image}}} parameter is used.
Dookious
Author(s) Voidious
Extends AdvancedRobot
Targeting GuessFactorTargeting
Movement WaveSurfing
Released 2006
Best Rating 1.571 / 2131 (#1)
Current Version 1.58
Code License RWPCL
Download


Other Notes

Since I cannot access the common.css stuff, I put the style info right into the table T_T. MediaWiki:Common.css