Personal tools

Template:UnitData

From GxPlex

Revision as of 13:25, 4 December 2026 by Gxplex admin (talk | contribs) (Deploy feedback 12/2026)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
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.