You are an anonymous user who can't edit RoboWiki.
Log in if you already have an account. If you would like to become an editor for the wiki, request an account.
Log in if you already have an account. If you would like to become an editor for the wiki, request an account.
Difference between revisions of "Template:RobotInfoBox"
Jump to navigation
Jump to search
(Initial page.) |
(Add switch for competition.) |
||
(One intermediate revision by the same user not shown) | |||
Line 24: | Line 24: | ||
|- | |- | ||
! Year | ! Year | ||
− | | | + | | [[robot for year::{{{Year|}}}]] |
|- | |- | ||
! Competition | ! Competition | ||
− | | {{# | + | | |
+ | {{#switch: {{{Competition|}}} | ||
+ | | FRC = [[FIRST Robotics Competition]] | ||
+ | | FTC = [[FIRST Tech Challenge]] | ||
+ | | VRC = [[VEX Robotics Competition]] | ||
+ | | #default = Invalid Competition Input | ||
+ | }} | ||
|} | |} | ||
+ | |||
+ | {{#set:robot for competition={{{Competition|}}}}} | ||
</includeonly> | </includeonly> |
Latest revision as of 11:47, 28 April 2010
It should be called in the following format:
{{RobotInfoBox |Name= |Image= |Year= |Competition= }}
This template adds a info-box style div to an article. The info-box will contain any of the information listed above along with taking care of any of the SMW entries for the properties that exist.
Note: Competition has valid values of "FRC", "FTC" or "VEX".