Welcome to the Official Robocraft Wiki! If you are confused about how to do something within a page, run into problems or have suggestions, refer to the Wiki Formatting Guide or contact an admin.

Template:Cube

From Robocraft Wiki
Jump to: navigation, search
{{{image}}}

Documentation

This is a rudimentary infobox template for use in articles about cubes.

Usage

{{Cube
|image        = 
|type         = 
|role         = 
|mintier      = 
}}

Parameters

image: Link to a single file using the "[[File:Filename.jpg|(width)px]]" format, or create a slideshow (see below).

type: Type of cube (Chassis, Hardware, etc.)

role: Brief description of purpose.

mintier: The minimum tier required to unlock on the Tech Tree. E.G. 4 for Armored Helium, 1 for Heavy chassis cubes.

Slideshows

<slideboxlightshow interval='2000' width="300" height="200">
File:Filename1.png|Caption.
File:Filename2.png|Caption.
File:Filename3.png|Caption.
</slideboxlightshow>

"interval" is measured in milliseconds, "width" and "height" are measured in pixels. Recommended to keep at default values.

Examples

Example 1

Wikitext:

{{Cube
|image        = [[File:FreejamLogo.png|150px]]
|type         = Special
|role         = Creates all other blocks
|mintier      = TX-2
}}

Result:

FreejamLogo.png
Type
Special
Purpose
Creates all other blocks
Tier Available
TX-2

Example 2

Wikitext:

{{Cube
|image        = 
<slideboxlightshow interval='2000' width="300" height="200">
File:MSFJ.png|TX-3 Thruster.
File:BCFJ.png.jpg|TX-3 Aerofoil.
File:SMJF.png|TX-3 Rudder.
File:EFJF.png|TX-3 Helium.
File:RTFJ.png|TX-3 Hoverblade.
File:DFJ.png|TX-3 Rotor Blade.
</slideboxlightshow>
|type         = Movement
|role         = Providing lift and stablisation for Robocraft.
|mintier      = TX-3
}}

Result:

Type
Movement
Purpose
Providing lift and stablisation for Robocraft.
Tier Available
TX-3

TEST

{{{image}}}
Type
Movement
Purpose
Providing lift and stablisation for Robocraft.
Tier Available
TX-3