Template:PTNA/CSV/Header

From OpenStreetMap Wiki
Jump to navigation Jump to search

Shared header for all PTNA CSV pages

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
language1

Language used for the text

Suggested values
en de fr
Default
en
Stringrequired
networknetwork

PTNA network identifier

Example
DE-BY-VVM-Mainfranken
Stringsuggested
testcsvtestcsv

Whether this page uses CSV injection from GTFS data. Requires network to be set.

Example
yes
Booleanoptional

This template is used as a header for PTNA CSV pages. This template adds pages to the category PTNA CSV.

Usage options:

{{PTNA/CSV/Header|(language)}} - just a description and link to the the CSV definition. (language) is a 2-letter language code: en, de, fr. More languages may be added in the future, unrecognized language codes will default to English.

{{PTNA/CSV/Header|(language)|network=(network identifier in PTNA)}} - same as above, plus a link to the PTNA analysis page. An example for (network identifier in PTNA) is: DE-BY-VVM-Mainfranken

{{PTNA/CSV/Header|(language)|network=(network identifier in PTNA)|testcsv=yes}} - same as above, plus a link to the CSV injection testing page, for testing edits to @... import statements without having to wait for analysis to occur.