Difference between revisions of "Template:Infobox Robot"

From Robowiki
Jump to navigation Jump to search
Line 161: Line 161:
  
 
=== Parameters ===
 
=== Parameters ===
{| style="font-size: 80%; background-color: #EEF;"
+
{| style="font-size: 80%; border-collapse: collapse; border-left: 10px solid white; border-right: 10px solid white; outline: 1px solid #aaa; margin-bottom: 5px;"
 
|-
 
|-
| style="width: 15%" | bgcolor || The background coloring, omit for default color
+
| style="width: 18%" | bgcolor || The background coloring, omit for default color
 
|-
 
|-
 
|| name || The name of the robot, omit for page name
 
|| name || The name of the robot, omit for page name
Line 199: Line 199:
 
|| download_link || the absolute link to your robots jar, optional
 
|| download_link || the absolute link to your robots jar, optional
 
|-
 
|-
|| source_link || the absolute link to the source of your robot, not needed if its already included in the jar, optional
+
|| source_link || the absolute link to the source of your robot, optional
 
|-
 
|-
 
| colspan="2" style="font-size: 80%" | * Only used if the {{{image}}} parameter is used.
 
| colspan="2" style="font-size: 80%" | * Only used if the {{{image}}} parameter is used.

Revision as of 14:59, 12 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}}}
White Whales {{{whales}}}
Inspired by {{{inspiredby}}}
Inspired {{{inspired}}}
[{{{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            = 
| image           = 
| imagesize       = 
| caption         = 
| author          = 
| extends         = 
| targeting       =
| movement        =
| released        =
| best_rating     =
| rating          =
| current_version =
| license         = 
| whales          =
| inspiredby      =
| inspired        =
| download_link   =
| source_link     =
}}

Parameters

bgcolor The background coloring, omit for default color
name The name of the robot, omit for page name
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
whales The bots in which you hope to overcome!, optional
inspiredby Robots that inspired the creation of this one, optional
inspired Other robots that we're inspired by this one, 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.

Other Notes

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