Difference between revisions of "Template:Infobox Robot"

From Robowiki
Jump to navigation Jump to search
Line 14: Line 14:
  
 
{{If|test={{{author|}}}|then=
 
{{If|test={{{author|}}}|then=
{{!}} style="text-align: right;" {{!}}'''[[Bot_authors|Author(s)]]'''{{!}}{{!}} {{{author<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''[[Bot_authors|Author(s)]]'''{{!}}{{!}} {{{author<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 22: Line 22:
  
 
{{If|test={{{extends|}}}|then=
 
{{If|test={{{extends|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Extends'''{{!}}{{!}} {{{extends<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Extends'''{{!}}{{!}} {{{extends<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 30: Line 30:
  
 
{{If|test={{{targeting|}}}|then=
 
{{If|test={{{targeting|}}}|then=
{{!}} style="text-align: right;" {{!}}'''[[Targeting]]'''{{!}}{{!}} {{{targeting<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''[[Targeting]]'''{{!}}{{!}} {{{targeting<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 38: Line 38:
  
 
{{If|test={{{movement|}}}|then=
 
{{If|test={{{movement|}}}|then=
{{!}} style="text-align: right;" {{!}}'''[[Movement]]'''{{!}}{{!}} {{{movement<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''[[Movement]]'''{{!}}{{!}} {{{movement<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 46: Line 46:
  
 
{{If|test={{{released|}}}|then=
 
{{If|test={{{released|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Released'''{{!}}{{!}} {{{released<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Released'''{{!}}{{!}} {{{released<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 54: Line 54:
  
 
{{If|test={{{best_rating|}}}|then=
 
{{If|test={{{best_rating|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Best Rating'''{{!}}{{!}} {{{best_rating<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Best Rating'''{{!}}{{!}} {{{best_rating<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 62: Line 62:
  
 
{{If|test={{{rating|}}}|then=
 
{{If|test={{{rating|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Current Rating'''{{!}}{{!}} {{{rating<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Current Rating'''{{!}}{{!}} {{{rating<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 70: Line 70:
  
 
{{If|test={{{current_version|}}}|then=
 
{{If|test={{{current_version|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Current Version'''{{!}}{{!}} {{{current_version<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Current Version'''{{!}}{{!}} {{{current_version<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 78: Line 78:
  
 
{{If|test={{{license|}}}|then=
 
{{If|test={{{license|}}}|then=
{{!}} style="text-align: right;" {{!}}'''License'''{{!}}{{!}} {{{license<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''License'''{{!}}{{!}} {{{license<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 86: Line 86:
  
 
{{If|test={{{whales|}}}|then=
 
{{If|test={{{whales|}}}|then=
{{!}} style="text-align: right;" {{!}}'''[[WhiteWhale|White Whales]]'''{{!}}{{!}} {{{whales<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''[[WhiteWhale|White Whales]]'''{{!}}{{!}} {{{whales<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 94: Line 94:
  
 
{{If|test={{{inspiredby|}}}|then=
 
{{If|test={{{inspiredby|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Inspired by'''{{!}}{{!}} {{{inspiredby<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Inspired by'''{{!}}{{!}}{{{inspiredby<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 102: Line 102:
  
 
{{If|test={{{inspired|}}}|then=
 
{{If|test={{{inspired|}}}|then=
{{!}} style="text-align: right;" {{!}}'''Inspired'''{{!}}{{!}} {{{inspired<includeonly>|</includeonly>}}} }}
+
{{!}} style="vertical-align: top; text-align: right;" {{!}}'''Inspired'''{{!}}{{!}} {{{inspired<includeonly>|</includeonly>}}} }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 110: Line 110:
  
 
{{If|test={{{download_link|}}}|then=
 
{{If|test={{{download_link|}}}|then=
{{!}} colspan="2" style="text-align: right;" {{!}}'''[{{{download_link<includeonly>|</includeonly>}}} Download]''' }}
+
{{!}} colspan="2" style="text-align: center;" {{!}}'''[{{{download_link<includeonly>|</includeonly>}}} Download]''' }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 118: Line 118:
  
 
{{If|test={{{source_link|}}}|then=
 
{{If|test={{{source_link|}}}|then=
{{!}} colspan="2" style="text-align: right;" {{!}}'''[{{{source_link<includeonly>|</includeonly>}}} Source]''' }}
+
{{!}} colspan="2" style="text-align: center;" {{!}}'''[{{{source_link<includeonly>|</includeonly>}}} Source]''' }}
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 204: Line 204:
 
|}
 
|}
 
</div>
 
</div>
 +
 +
{{Infobox Robot
 +
| name            = Dookious
 +
| author          = Voidious
 +
| extends        = AdvancedRobot
 +
| targeting      = GuessFactorTargeting
 +
| movement        = WaveSurfing
 +
| released        = 2006
 +
| best_rating    = 1.571 / 2131 (#1)
 +
| current_version = 1.58
 +
| license        = [[RWPCL]]
 +
| whales          = [[Shadow]]<br/> [[Phoenix]]
 +
| inspiredby      = [[CassiusClay]]<br/> [[Ascendant]]<br/> [[TheArtOfWar]]
 +
| download_link  = http://www.dijitari.com/void/robocode/voidious.Dookious_1.58.jar
 +
}}
 +
  
 
== Other Notes ==
 
== Other Notes ==
 
Since I cannot access the common.css stuff, I put the style info right into the table T_T. [[MediaWiki:Common.css]]
 
Since I cannot access the common.css stuff, I put the style info right into the table T_T. [[MediaWiki:Common.css]]
 
</noinclude>
 
</noinclude>

Revision as of 16:21, 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.
Dookious
Author(s) Voidious
Extends AdvancedRobot
Targeting GuessFactorTargeting
Movement WaveSurfing
Released 2006
Best Rating 1.571 / 2131 (#1)
Current Version 1.58
License RWPCL
White Whales Shadow
Phoenix
Inspired by CassiusClay
Ascendant
TheArtOfWar
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