This is rather simple.
ListContent - List.Content
the ListHeader contains content which is not repeated in a template. This is typically the modules title, an introduction text or table-heading labels. Sometimes you'll also show a value multiple times in the repeating area of the template, but the value would never change. An example of this would be the word "more" which would be clickable on each item, but would only be configurable once in the header.
Enable the ListHeader feature
- First, create a ContentType to contain all your header values...
- Then enable Lists in the template settings (assuming you didn't do this already)
- ...and you will see new dropdowns, allowing you to set the content type & default for the ListHeader
Using ListContent in Token Templates
For Tokens, use it like this [ListContent:Title]. When you need an inline toolbar, use [ListContent:Toolbar]. Note that it will also auto-align/float if it's inside an html-tag with the class sc-element. Like this:
[ListContent:Title][ListContent:Toolbar]
-
[Content:Title][Content:Toolbar]
Using List.Content in Razor Templates
This is the vary same principle, just using the razor syntax.
[todo:2dm]
ListPresentation - Template Settings
The ListPresentation is available throughout the entire template - even when looping. This is the big difference to the classic Presentation, which changes for each item, giving each item custom settings how to show it. Enable it in the same place as where you would enable the ListContent.
Sample with Tokens
<[ListPresentation:HeadingTag] class="sc-element">
[ListContent:Title][ListContent:Toolbar]
Sample with Razor
[todo:2dm]