Lists and Paragraph lists in specifications

Lists

Used for making simple bullet list, listing all of the connected entries.
Can be used for creating af list of included building Elements in a spec (F.eks. BIPS ‘4.2 Omfang’)
Note: The connected entries can be customised using the API (used for filter app etc)
The format for the list is:
Input:
  • Example 1: {{make list (column_name) (‘-‘) (2nd_column)}}
  • Example 2: {{make list (column_name) (“:”) (2nd_column) (‘;’) (3rd_column)}}
Output example 1:
  • AD01 – Vægtype 1
  • AD02 – vægtype 2
  • etc…
The rules:
  1. ‘make’ and ‘list’ both in lower case.
  2. between each parenthesis group separated by exactly 1 white space.
  3. the column_name is written without the quote.
  4. Any text inside single quote or double quote will be displayed as is.
  5. there are no space after closing parenthesis
The code that doesn’t match the rules above will not get replaced.

Paragraph lists

Used for making several similar and following paragraphs using journal data.
Can be used for listing journal entries and data where a classic list becomes to big
Note: The connected entries can be customised using the API (used for filter app etc)
The format for the list is:
Input
  • {{make paragraph_list (‘Some intro text. Identification: ‘)(column_name)
    (‘Short description: ‘) (2nd_column_name)}}
Output
Some intro text. Identification: 5
Short description: Building element 5
Some intro text. Identification: 6
Short description: Building element 6
Some intro text. Identification: 7
Short description: Building element 7
The rules:
  1. ‘make’ and ‘paragraph_list’ both in lower case.
  2. Spaces between parenthesis groups doesn’t matter.
  3. the column_name is written without the quote.
  4. Any text inside single quote or double quote will be displayed as is.
  5. there are no space after closing parenthesis
  6. Line shifts between parenthesis will be included.
  7. There is no extra lineshift before or after a paragraph
The code that doesn’t match the rules above will not get replaced.

Chapter lists

Used for making a list of all chapters in the current document, with the option to exclude one or more chapters and include/exclude chapter numbers as prefix.
The format for the list is:
Input
  • {{make chapter_list (‘excluded chapter name 1’) (‘excluded chapter name 2’) (option:no-prefix)}}
Output
  1. Chapter name 1
  2. Chapter name 2
  3. Chapter name 3
The rules:
  1. ‘make’ and ‘chapter_list’ both in lower case.
  2. Chapters will be prefixed with their chapter number, unless “(option:no-prefix)” is added (in which case the numbers will be removed.
  3. Spaces between parenthesis groups doesn’t matter.
  4. Any chapter listed inside single quote or double quote will excluded from the lists.
  5. there are no space after closing parenthesis
The code that doesn’t match the rules above will not get replaced.

Example using New Journal

List

{{make list (short_description) ('-') (standard_property2)}}

Paragraph list

text
{{make paragraph_list ('Some intro text. Identification: ') (short_description)( ‘
' )(knaufsystemwallgroup)}}
(html code: {{make paragraph_list (‘Some intro text. Identification: ‘) (short_description) ( ‘<br>’ ) (systemwallgroup)}})
Noter: at <br> er sat ind i i paranteser.

Chapter lists

Exaple for the Danish BIPS 1.000 specification standard, where a list of all included element specifications are listed, excluding the 3 first general chapters.

{{make_chapter_list ("Omfang") ("Orientering") ("Generelle specifikationer") (option:no-prefix)​}}

Leave A Comment?