{{ $tableType := .tableType }} {{ $tableData := .tableData }} {{ $staticDirPath := .staticDirPath }} {{ $aliasFileURL := .aliasFileURL }}
| Data track name | Description | Links | {{ if eq $tableType "long"}}Accession/DOI | File name | {{ end }}Principal investigator | Principal investigator affiliation | {{ if eq $tableType "long"}}First date on portal | {{ end }}
|---|---|---|---|---|---|---|---|
| {{ .dataTrackName }} | {{ .description }} | {{ if eq $tableType "long"}} | {{ $accessionUrl := "" }} {{ range .links}} {{ if .Website }} {{ $accessionUrl = .Website }} {{ end }} {{ end }} {{ if $accessionUrl }} {{ .accessionOrDOI }} {{ else }} {{ .accessionOrDOI }} {{ end }} | {{ .fileName }} | {{ end }}{{ .principalInvestigator }} | {{ .principalInvestigatorAffiliation }} | {{ if eq $tableType "long"}}{{ .firstDateOnPortal }} | {{ end }}