Template:MCDisplay/doc

Description
This template is used to display the Mana Circles on Adventurer pages. It is comprised of several smaller templates (to split out functionality) and makes use of several Cargo tables as well.

The core of  is a tabber. The first tab is an overview of all the nodes using Template:MCNodeOverviewDisplay while the rest of the tabs display the nodes of each floor using Template:MCFloorDisplay.

List of Templates Used

 * Template:MCNodeOverviewDisplay - First tab of MCDisplay
 * Template:MCNodeBreakdown - Simple display of all the nodes in the entire Mana Circle (# of Node Types, Stats, etc.)
 * Template:MCTotalCostDisplay - Display of the total materials required for entire Mana Circle. Gets the total by summing node materials and limit break materials separately.
 * Template:MCFloorTotalCostItem - Calculates the amount of a given material needed from nodes. (Wrapper)
 * Template:MCFloorTotalCostItemSum - Actual calculation happens here.
 * Template:MCLimitBreakItemSum - Calculates the amount of a given material needed to unbind floors. (Wrapper)
 * Template:MCLimitBreakTotalCostItemSum - Actual calculation happens here.
 * Template:MCFloorDisplay - Other tabs of MCDisplay
 * Template:MCNodeDisplay - Detailed display of each node on the floor
 * Template:MCNodeMaterialDisplay - Displays the materials required for unlocking the node
 * Template:MCFloorOverviewDisplay - Displays (if applicable) the unbind materials of the next floor, the total materials needed for that floor, and the node breakdown of that floor.
 * Template:MCFloorLimitBreakCost - Calculates the amount of a given material needed to unbind floors.(Wrapper)
 * Template:MCLimitBreakFloorCostItemSum - Actual calculation happens here (for specific floors only)
 * Template:MCFloorTotalCostItem - Calculates the amount of a given material needed from nodes. (floor is an optional parameter to only get total for certain group of floor nodes) (Wrapper)
 * Template:MCFloorTotalCostItemSum - Actual calculation happens here.

List of Cargo Tables Used

 * Special:CargoTables/CharaLimitBreak - Floor Unbind Materials
 * Special:CargoTables/MCMaterials - Maps ManaPieceElement.ManaMaterialId to their respective elemental material Ids.
 * Special:CargoTables/MCNodeType - Maps ManaPieceType to their node types (eg. Upgrade HP, Upgrade Skill, etc.)
 * Special:CargoTables/MCNodes - Defines all the nodes for each Mana Circle type
 * Special:CargoTables/ManaPieceElement - Defines the material costs for differing mana circle and node types.