Personal tools

Template:UnitData

From GxPlex

This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

Data template for Unit: pages, the course structure of the Table of Content. Used by Form:Unit.

The page name is the number in three parts, the same number Reference pages use in their "Unit" field:

  • module: Unit:1.0.0
  • sub-module: Unit:1.2.0
  • unit: Unit:1.2.2

Level, parent and sort key follow from the number; only the title is entered. The work is done by Template:UnitData/Body, which gets the three parts of the number.

Usage

{{UnitData
|title=
}}

Properties: UnitTitle, UnitLabel (number and title, shown in the unit dropdown of Form:Reference), UnitLevel (1 to 3), UnitPartOf (parent page), UnitSortKey (zero-padded number). Display title of is the label.