This is the main template used to capture table details and to format the display on table pages in the Library book. The display switches for ICON and GIM/RAA and calls separate query templates to populate information about columns (Template:PDMColumnQuery), indexes (Template:PDMIndexQuery), subject areas (Template:PDMSubjAreaQuery), and references (Template:PDMRefQuery for that table.
The template was modified in November 2019 to use only Cargo queries.
In addition to the Cargo markup, it includes the markup to format the display on Library book pages, which includes the PDMColumn query.