Template:Armor art box/Doc

Documentation: This template formats the input to handle undefined and special cases for Pass data to Template:Armor art box main, in addition to adding catagorical tags.

Usage: This is to be used for armor art types. They may or may not be function specific.

Inputs:
 * art Expected input: The name of the armor art.  Not to be used with Function Specific Armors.
 * type Expected Input: The name of the art used. Use with Funtion Specific Armors.
 * used by Expected Input: What Funtional Armor types can be purchased using the art style. Only 1 for Function Specific Armors.
 * materials Expected Input: What the armor salvages into.
 * campaign Expected Input: The Chapter's name the armor belongs to.
 * gotIcons (Optional)
 * name (optional) Expected Input: Armor's Name to overide Type or Art
 * ascended (optional) Expected input: yes or no(default)

Outputs:
 * Armor Art Info table
 * Catagory Campaign
 * Category Profession
 * Category Status (Not implimented, Currently Implimented in Template:Armor art box main)
 * Category Needs Icons (Not implimented, Currently Implimented in Template:Armor art box main)

Psudocode of Current Version Set name to "(Type xor Art)+'Armor'" if not defined. If name is not specified and the art is specidfied:
 * If the type is not specified, catagorised as Art Style Armor.
 * If the art is not specified, catagorised as Function Specific Armor Art.

Set ascended to ascended. Set profession to profession. Set materials to materials. Set usded by to used by. Set art to art. Set type to type. Set Icon name to in the following priority:
 * * Art Name
 * * Icon Name
 * * Profession (Ascended or undef) type (art or undef)
 * * (Ascended or Undef) Type 'Armor'

Set gotIcons to 'no' if undef, else goticons=. Pass data to Template:Armor art box main Catagorise Armor by Campaign. Catagorise Armor by Profession.