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.

Difference between revisions of "Template:RobotInfoBox"

From RoboWiki
Jump to navigation Jump to search
(Initial page.)
 
(Change SMW so it shows the values.)
Line 24: Line 24:
 
|-
 
|-
 
! Year
 
! Year
| {{#set:robot for year={{{Year|}}}}}
+
| [[robot for year::{{{Year|}}}]]
 
|-
 
|-
 
! Competition
 
! Competition
| {{#set:robot for competition::{{{Competition|}}}}}
+
| [[robot for competition::{{{Competition|}}}]]
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revision as of 01:50, 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".