Difference between revisions of "Template:Infobox Robot"
Jump to navigation
Jump to search
(Adding codesize, generic categorizers... codesize auto-categorization will only be possible with {{#expr:}}) |
m (Typos) |
||
| Line 109: | Line 109: | ||
</noinclude> | </noinclude> | ||
|}<!-- | |}<!-- | ||
| − | -->{{ifeq|{{{isOneOnOne|}}}|true|[[Category:1-vs-1 Bots]] | + | -->{{ifeq|{{{isOneOnOne|}}}|true|[[Category:1-vs-1 Bots]]}}<!-- |
| − | -->{{ifeq|{{{isMelee|}}}|true|[[Category:Melee Bots]] | + | -->{{ifeq|{{{isMelee|}}}|true|[[Category:Melee Bots]]}}<!-- |
| − | -->{{ifeq|{{{isOpenSource|}}}|true|[[Category:Open Source Bots]] | + | -->{{ifeq|{{{isOpenSource|}}}|true|[[Category:Open Source Bots]]}}<!-- |
| − | -->{{ifeq|{{{isOneOnOne|}}}|yes|[[Category:1-vs-1 Bots]] | + | -->{{ifeq|{{{isOneOnOne|}}}|yes|[[Category:1-vs-1 Bots]]}}<!-- |
| − | -->{{ifeq|{{{isMelee|}}}|yes|[[Category:Melee Bots]] | + | -->{{ifeq|{{{isMelee|}}}|yes|[[Category:Melee Bots]]}}<!-- |
| − | -->{{ifeq|{{{isOpenSource|}}}|yes|[[Category:Open Source Bots]] | + | -->{{ifeq|{{{isOpenSource|}}}|yes|[[Category:Open Source Bots]]}}<!-- |
| − | -->{{ifeq|{{{isOneOnOne|}}}|1|[[Category:1-vs-1 Bots]] | + | -->{{ifeq|{{{isOneOnOne|}}}|1|[[Category:1-vs-1 Bots]]}}<!-- |
| − | -->{{ifeq|{{{isMelee|}}}|1|[[Category:Melee Bots]] | + | -->{{ifeq|{{{isMelee|}}}|1|[[Category:Melee Bots]]}}<!-- |
-->{{ifeq|{{{isOpenSource|}}}|1|[[Category:Open Source Bots]]|}}<!-- | -->{{ifeq|{{{isOpenSource|}}}|1|[[Category:Open Source Bots]]|}}<!-- | ||
| − | -->{{ifeq|{{{extends|}}}|AdvancedRobot| | + | -->{{ifeq|{{{extends|}}}|AdvancedRobot|[[Category:Extends AdvancedRobot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|Advanced Robot| | + | -->{{ifeq|{{{extends|}}}|Advanced Robot|[[Category:Extends AdvancedRobot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|[[AdvancedRobot]]| | + | -->{{ifeq|{{{extends|}}}|[[AdvancedRobot]]|[[Category:Extends AdvancedRobot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|Robot| | + | -->{{ifeq|{{{extends|}}}|Robot|[[Category:Extends Robot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|[[Robot]]| | + | -->{{ifeq|{{{extends|}}}|[[Robot]]|[[Category:Extends Robot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|TeamRobot| | + | -->{{ifeq|{{{extends|}}}|TeamRobot|[[Category:Extends TeamRobot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|Team Robot| | + | -->{{ifeq|{{{extends|}}}|Team Robot|[[Category:Extends TeamRobot Bots]]}}<!-- |
| − | -->{{ifeq|{{{extends|}}}|[[TeamRobot]]| | + | -->{{ifeq|{{{extends|}}}|[[TeamRobot]]|[[Category:Extends TeamRobot Bots]]}}<!-- |
--><noinclude> | --><noinclude> | ||
Revision as of 03:22, 1 October 2008
| 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}}} |
| Code Size | {{{codesize}}} |
| 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 =
| codesize =
| license =
| download_link =
| source_link =
| isOneOnOne = true/false
| isMelee = true/false
| isOpenSource = true/false
}}
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