Template:ArmorInfoBox/doc: Difference between revisions

From Tribes Wiki
Jump to navigation Jump to search
(Documentation for the ArmorInfoBox template)
 
(Update docs with new LockedWeaponEntry capability)
Line 11: Line 11:
|armor            =  
|armor            =  
|primary          =  
|primary          =  
|primary_unlock1  =  
|primary_unlock1  = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|primary_unlock2  =
|primary_unlock2  = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|secondary        =  
|secondary        =  
|secondary_unlock1 =  
|secondary_unlock1 = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|secondary_unlock2 =
|secondary_unlock2 = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|pack              =  
|pack              =  
|pack_unlock1      =  
|pack_unlock1      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|pack_unlock2      =
|pack_unlock2      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|belt              =  
|belt              =  
|belt_unlock1      =  
|belt_unlock1      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|belt_unlock2      =
|belt_unlock2      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|icon              =  
|icon              =  
}}</nowiki></pre>
}}</nowiki></pre>
Line 32: Line 32:
|armor = Medium
|armor = Medium
|primary = TCN4 SMG
|primary = TCN4 SMG
|primary_unlock1 = Thumper
|primary_unlock1 = {{LockedWeaponEntry|Thumper|100,000 XP or 780 Gold}}
|secondary = Improved Repair Tool
|secondary = Improved Repair Tool
|secondary_unlock1 = Sawed Off Shotgun
|secondary_unlock1 = {{LockedWeaponEntry|Sawed Off Shotgun|24,000 XP or 240 Gold}}
|secondary_unlock2 = Sparrow
|secondary_unlock2 = {{LockedWeaponEntry|Sparrow|75,000 XP or 420 Gold}}
|pack = Light Turret
|pack = Light Turret
|belt = TCNG
|belt = TCNG
|belt_unlock1 = Motion Sensor
|belt_unlock1 = {{LockedWeaponEntry|Motion Sensor|75,000 XP or 420 Gold}}
|icon = [[Image:Technician.png|94.px]]
|icon = [[Image:Technician.png|94.px]]
}}
}}
Line 52: Line 52:
; primary: The name of the primary weapon used by the armor.
; primary: The name of the primary weapon used by the armor.


; primary_unlock1: The first unlockable primary weapon.
; primary_unlock1: The first unlockable primary weapon. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; primary_unlock2: The second unlockable primary weapon.
; primary_unlock2: The second unlockable primary weapon. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; secondary: The name of the secondary weapon used by the armor.
; secondary: The name of the secondary weapon used by the armor.


; secondary_unlock1: The first unlockable secondary weapon.
; secondary_unlock1: The first unlockable secondary weapon. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; secondary_unlock2: The second unlockable secondary weapon.
; secondary_unlock2: The second unlockable secondary weapon. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; pack: The name of the default pack for the armor.
; pack: The name of the default pack for the armor.


; pack_unlock1: The first unlockable pack.
; pack_unlock1: The first unlockable pack. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; pack_unlock2: The second unlockable pack.
; pack_unlock2: The second unlockable pack. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; belt: The name of the default belt item for the armor.
; belt: The name of the default belt item for the armor.


; belt_unlock1: The first unlockable belt item.
; belt_unlock1: The first unlockable belt item. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; belt_unlock2: The second unlockable belt item.
; belt_unlock2: The second unlockable belt item. It is recommended that the [[Template:LockedWeaponEntry]] be used, but not required.


; icon: An icon used by the game to represent the class. Wiki: <tt><nowiki>[[Image:name.ext|250px]]</nowiki></tt>
; icon: An icon used by the game to represent the class. Wiki: <tt><nowiki>[[Image:name.ext|250px]]</nowiki></tt>

Revision as of 00:38, 21 February 2012


All fields are optional.

Full syntax

{{ArmorInfoBox
|title             =
|image             = 
|armor             = 
|primary           = 
|primary_unlock1   = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|primary_unlock2   = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|secondary         = 
|secondary_unlock1 = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|secondary_unlock2 = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|pack              = 
|pack_unlock1      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|pack_unlock2      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|belt              = 
|belt_unlock1      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|belt_unlock2      = Text or {{LockedWeaponEntry|Item Name|Unlock Requirements}}
|icon              = 
}}

Syntax guide

Technician
Error creating thumbnail: File missingScreenshot from class selection page
General Information
Armor Medium




Cost



94.px


title
The full name of the armor.
image
An image of the class. To avoid stretching the Infobox overlarge, avoid using images with a width greater than 250 pixels. Where possible use 250px, as it gives the best fit. Wiki: [[Image:name.ext|250px]]
caption
A short description of the image. This is used as the alternate text that will be displayed below the image. (Does not show if image is not used)
armor
The type of armor build. (i.e. light, medium, heavy)
primary
The name of the primary weapon used by the armor.
primary_unlock1
The first unlockable primary weapon. It is recommended that the Template:LockedWeaponEntry be used, but not required.
primary_unlock2
The second unlockable primary weapon. It is recommended that the Template:LockedWeaponEntry be used, but not required.
secondary
The name of the secondary weapon used by the armor.
secondary_unlock1
The first unlockable secondary weapon. It is recommended that the Template:LockedWeaponEntry be used, but not required.
secondary_unlock2
The second unlockable secondary weapon. It is recommended that the Template:LockedWeaponEntry be used, but not required.
pack
The name of the default pack for the armor.
pack_unlock1
The first unlockable pack. It is recommended that the Template:LockedWeaponEntry be used, but not required.
pack_unlock2
The second unlockable pack. It is recommended that the Template:LockedWeaponEntry be used, but not required.
belt
The name of the default belt item for the armor.
belt_unlock1
The first unlockable belt item. It is recommended that the Template:LockedWeaponEntry be used, but not required.
belt_unlock2
The second unlockable belt item. It is recommended that the Template:LockedWeaponEntry be used, but not required.
icon
An icon used by the game to represent the class. Wiki: [[Image:name.ext|250px]]