Template:CostumeUpperBodyTable: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Eabrace
mNo edit summary
imported>Eabrace
m (adding calls for Robotic Arm tables)
Line 1: Line 1:
{{#switch: {{{UpperBody}}}
{{#switch: {{{UpperBody}}}
|Armored
|Tight
|Tight = {{CostumeUpperBodyArmoredTable|UpperBody={{{UpperBody}}}|Chest={{{Chest}}}|ChestPattern={{{ChestPattern}}}|Shoulders={{{Shoulders}}}|ChestDetail={{{ChestDetail}}}|Gloves={{{Gloves}}}|GlovesStyle={{{GlovesStyle}}}|GlovesPattern={{{GlovesPattern}}}|Belt={{{Belt}}}}}
|Armored = {{CostumeUpperBodyArmoredTable|UpperBody={{{UpperBody}}}|Chest={{{Chest}}}|ChestPattern={{{ChestPattern}}}|Shoulders={{{Shoulders}}}|ChestDetail={{{ChestDetail}}}|Gloves={{{Gloves}}}|GlovesStyle={{{GlovesStyle}}}|GlovesPattern={{{GlovesPattern}}}|Belt={{{Belt}}}}}
|Robotic Arm 1 = {{CostumeUpperBodyRoboticArm1Table|UpperBody={{{UpperBody}}}|Chest={{{Chest}}}|ChestPattern={{{ChestPattern}}}|Shoulders={{{Shoulders}}}|UpperArm={{{UpperArm}}}|ChestDetail={{{ChestDetail}}}|Gloves={{{Gloves}}}|GlovesStyle={{{GlovesStyle}}}|GlovesPattern={{{GlovesPattern}}}|Belt={{{Belt}}}}}
|Robotic Arm 2 = {{CostumeUpperBodyRoboticArm2Table|UpperBody={{{UpperBody}}}|Chest={{{Chest}}}|ChestPattern={{{ChestPattern}}}|Shoulders={{{Shoulders}}}|UpperArms={{{UpperArms}}}|ChestDetail={{{ChestDetail}}}|Gloves={{{Gloves}}}|GlovesStyle={{{GlovesStyle}}}|GlovesPattern={{{GlovesPattern}}}|Belt={{{Belt}}}}}
|Robotic Arm 3 = {{CostumeUpperBodyRoboticArm3Table|UpperBody={{{UpperBody}}}|Chest={{{Chest}}}|ChestPattern={{{ChestPattern}}}|Shoulders={{{Shoulders}}}|RightArm={{{RightArm}}}|ChestDetail={{{ChestDetail}}}|Gloves={{{Gloves}}}|GlovesStyle={{{GlovesStyle}}}|GlovesPattern={{{GlovesPattern}}}|Belt={{{Belt}}}}}
| #default = {{red|Upper Body option not recognized.}}}}
| #default = {{red|Upper Body option not recognized.}}}}
<noinclude>{{Documentation}}[[Category:Costume Set Templates]]</noinclude>
<noinclude>{{Documentation}}[[Category:Costume Set Templates]]</noinclude>
|Chest=Techbot
|ChestPattern=Techbot
|Shoulders=None
|UpperArms=Skeletal Robotic
|ChestDetail=None
|Gloves=Robotic Claw
|GlovesStyle=N/A
|GlovesPattern=N/A
|Belt=None

Revision as of 12:39, 29 May 2008

Upper Body option not recognized.

[edit] [purge] Documentation

Description

This template provides a method for detailing the "Upper Body" settings used to create a particular costume. The value UpperBody will determine which subtable will be displayed due to the fact that different values in this categories in the game will affect what sub-options are available.

Parameters

UpperBody - This is the "Upper Body" category setting as it appears in the costume creator interface. The following are valid values for this parameter:
  • Armored

For "Armored", the following parameters need to be set in the call to this template:

Chest - This is the "Chest" setting as it appears in the costume creator interface.
ChestPattern - This is the chest color pattern setting as it appears in the costume creator interface.
Shoulders - This is the "Shoulders" setting as it appears in the costume creator interface.
ChestDetail - This is the "Chest Detail" setting as it appears in the costume creator interface.
Gloves - This is the "Gloves" setting as it appears in the costume creator interface.
GlovesStyle - This is the style of the gloves as it appears in the costume creator interface.
GlovesPattern - This is the color pattern of the gloves as it appears in the costume creator interface.
Belt - This is the "Belt" setting as it appears in the costume creator interface.

Example

Template call:

{{CostumeUpperBodyTable
|UpperBody=Armored
|Chest=Armor Plate
|ChestPattern=Armor Plate
|Shoulders=Medieval 2
|ShouldersStyle=N/A
|ChestDetail=None
|Gloves=Banded
|GlovesStyle=Armor Plate
|GlovesPattern=Armor Plate
|Belt=None
|BeltStyle=N/A}}

Result:


Upper Body
Upper Body Chest Pattern Shoulders Style Chest Detail Pattern Gloves Style Pattern Belt Style
Armored Armor Plate Armor Plate Medieval 2 {{{ShouldersStyle}}} None {{{ChestDetailPattern}}} Banded Armor Plate Armor Plate None {{{BeltStyle}}}

|Chest=Techbot |ChestPattern=Techbot |Shoulders=None |UpperArms=Skeletal Robotic |ChestDetail=None |Gloves=Robotic Claw |GlovesStyle=N/A |GlovesPattern=N/A |Belt=None

|Chest=Techbot |ChestPattern=Techbot |Shoulders=None |UpperArms=Skeletal Robotic |ChestDetail=None |Gloves=Robotic Claw |GlovesStyle=N/A |GlovesPattern=N/A |Belt=None