Welcome to the Command & Conquer Wiki! Log in and join the community.

Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

Template:Unit Table

From Command & Conquer Wiki
Jump to: navigation, search


Add the following code to a template to add a unit table. This is to keep presentation consistent.

 {{Unit Table
 |TemplateName       = 
 |TableWidth         =
 |Title              = 
 |TitleImage         = 
 |TitleImageCaption  = 
 |TitleImageSize     = 
 |BorderWidth        = 
 |CompressLeftColumn = 
 |RowTitle1          = 
 |RowContents1       = 
 |RowTitle2          = 
 |RowContents2       = 
 ...
 }}

Explanation[edit source]

  • TemplateName - Add the name of the template to add the "VTE" buttons. Leave blank to remove them
  • TableWidth - Set's width of Table. Default: 600px.
  • Title - Table title, optional.
  • TitleImage - Set a image to appear on with side of the title, optional.
  • TitleImageCaption - Set a caption to appear when you scroll over a title pic, optional.
  • TitleImageSize - Set the size for the title image. Default: 50px.
  • BorderWidth - set border thickness. Default 0.
  • CompressLeftColumn - Set to any value to make the left column as narrow as possible while maintaining contents, optional.
  • RowTitle1 - Set first row's title
  • RowContents1 - Set first row's contents

Examples[edit source]

1[edit source]

This code

 {{Unit Table
 |TemplateName       = Empire RA3 Unit
 |Title              = '''[[Imperial]] [[Red Alert 3 | World War III]] Arsenal'''
 |TitleImage         = EotRS_logo.png
 |BorderWidth        = 1 
 |RowTitle1          = Infantry
 |RowContents1       = [[Burst Drone]] 
 |RowTitle2          = Vehicles
 |RowContents2       = [[Striker VX/Chopper VX | Striker VX]] 
 |RowTitle7          = [[Shiro Sanitarium]]
 |RowContents7       = [[Trauma Station]]
 }}

Yields

VTE
EotRS logo.png Imperial World War III Arsenal EotRS logo.png
Infantry Burst Drone
Vehicles Striker VX
Shiro Sanitarium Trauma Station


2[edit source]

This code

 {{Unit Table
|TemplateName       = Empire RA3 Unit
|Title              = '''[[Imperial]] [[Red Alert 3 | World War III]] Arsenal'''
|TitleImage         = EotRS_logo.png
|BorderWidth        = 
|CompressLeftColumn = 1
|RowTitle1          = Infantry
|RowContents1       = [[Burst Drone]] 
|RowTitle2          = Vehicles
|RowContents2       = [[Striker VX/Chopper VX | Striker VX]] 
|RowTitle7          = [[Shiro Sanitarium]]
|RowContents7       = [[Trauma Station]]
}}

Yields

VTE
EotRS logo.png Imperial World War III Arsenal EotRS logo.png
Infantry Burst Drone
Vehicles Striker VX
Shiro Sanitarium Trauma Station