You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

projectdoc Toolbox

Merges tables (and lists) into one table (or list).

Audience
Categories
Since
2.1

The macro allows to merge tables from different sources into one table.

Example sources may be the Transclusion Macro transcluding a table or the Display Table Macro.

 

The current version of the macro only processes tables where the heading is found in the first table row (either inside an HTML thead element or not).

Properties

Column Names

List of column names to render.

If blank the columns from the tables are used.

Discard

Allows to discard empty list items (empty) or items with no links (no-links).

The value can be controlled by the space property projectdoc.projectdoc-table-merger-macro.param.discard.

Since 2.5

 

The parameter is available since version 2.5.

Header Translations

Comma-separated list of key list-value pairs to map columns from tables. This allows to rename columns to match.

Format: k1=v1|v2, k2=v3.

CSS Class

Set to the table or definition list.

Macro Body

Tables or lists (dl, ul, ol) found in the body of the macro are merged.

Only tables or lists of the same kind are merged. If a collection of one kind is found, collection of other types are not merged. For instance you cannot merge tables with definition lists. If at least one table is found, lists of any kind are not merged.

Related Macros

Table Set Macro
Applies a simple set operation on tables in its body.
  • No labels