Relation:template
Description
template filename
Parameters
filename: Any valid name with the extension .txt.
Template format
The template is to be written in wikitext.
Values are included with double curly notation {{name}}.
The template has sections markeres written on their own line. You must have at least one section.
- {{first}} The following is only shown for the first row.
- {{group column} The following is shown when the column has a new value.
- {{each}} The following is shown for each row.
- {{group column}} The following is shown before the column changes the value.
- {{[ast}} The following is only shown for the last row.
- {{end}} The following is ignored.
Examples
Using the sample relation films.csv and the template filmreport.txt
project inline year, film count
rename film_count filmperyear
project inline film count
template "filmreport.txt"
9 films
1960: 2
- A bout de souffle (Godard)
- Tirez sur le pianiste (Truffaut)
1962: 2
- Cléo de 5 à 7 (Varda)
- Jules et Jim (Truffaut)
1965: 1
- Pierrot le fou (Godard)
1967: 1
- Week-End (Godard)
1975: 1
- Die verlorene Ehre der Katharina Blum (von Trotta)
1976: 1
- Der starke Ferdinand (Kluge)
1985: 1
- Sans toi ni loi (Varda)
Comments
No calculation inside the template. You must prepare the relation ready to use
See also
include