Template:CSVSpec: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable" !colspan=10|{{{title|}}} CSV specification |- !Data per line |colspan=9|Value until specified moment |- !Criteria...")
 
No edit summary
 
(22 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
!colspan=10|{{{title|}}} [[comma-separated values#Time_sequence|CSV specification]]
!colspan=10|{{#if:{{{title|}}}|{{{title|}}} |}}[[CSV (comma separated values)|CSV specification]]
|-
|-
!Data per line
{{#if:{{{line|}}}|!Data per line
|colspan=9|Value until specified moment
{{!}}colspan=9{{!}}{{{line|}}}|}}
|-
|-
!Criteria
{{#if:{{{criteria|}}}|!Criteria
|colspan=9|Time should always be greater than or equal to previous time
{{!}}colspan=9{{!}}{{{criteria|}}}|}}
|-
|-
!
!
!colspan=1|First entry
!First entry
!colspan=1|Second entry
!Second entry
{{#if:{{{header3|}}}{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!Third entry |}}
|-
|-
!
!
!Time (s)
{{#if:{{{header1|}}}{{{l1e1|}}}{{{l2e1|}}}{{{l3e1|}}}|!{{{header1|Value 1}}}{{#if:{{{unit1|}}}| ({{{unit1|}}})|}} |}}
!Rain (m)
{{#if:{{{header2|}}}{{{l1e2|}}}{{{l2e2|}}}{{{l3e2|}}}|!{{{header2|Value 2}}}{{#if:{{{unit2|}}}| ({{{unit2|}}})|}} |}}
{{#if:{{{header3|}}}{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!{{{header3|}}} {{#if:{{{unit3|}}}| ({{{unit3|}}})|}} |}}
|-
|-
!Line 1
!Line 1
|colspan=1|Time when first period ends
|{{{l1e1|First value on line 1}}}
|colspan=1|Total rain during first period
|{{{l1e2|Second value on line 1}}}
{{#if:{{{l1e3|}}}|{{!}}{{{l1e3|}}}|}}
|-
|-
!Line 2
!Line 2
|colspan=1|Time when second period ends
|{{{l2e1|First value on line 2}}}
|colspan=1|Total rain during second period
|{{{l2e2|Second value on line 2}}}
|}
{{#if:{{{l2e3|}}}|{{!}}{{{l2e3|}}}|}}<!--
-->{{#if:{{{l3e1|}}}{{{l3e2|}}}{{{l3e3|}}}|<nowiki />
{{!}}-
!Line3
{{!}}{{{l3e1|First value on line 3}}}
{{!}}{{{l3e2|Second value on line 3}}}
{{#if:{{{l3e3|}}}|{{!}}{{{l3e3|}}}|}}
|}}
|}<noinclude>
Parameters:
* title: what kind of data is this a specification of
* line: what kind of data is defined per line
* criteria: what kind of requirements the data should meet
 
 
* header1: Title of the data stored in position 1
* unit1: Unit of the data stored in position 1
 
* header2: Title of the data stored in position 2
* unit2: Unit of the data stored in position 2
 
* header3: Title of the data stored in position 3
* unit3: Unit of the data stored in position 3
 
 
 
* l1e1: Description of position 1 on line 1
* l1e2: Description of position 1 on line 2
* l1e3: Description of position 1 on line 3
 
 
* l2e1: Description of position 2 on line 1
* l2e2: Description of position 2 on line 2
* l2e3: Description of position 2 on line 3
 
 
* l3e1: Description of position 3 on line 1
* l3e2: Description of position 3 on line 2
* l3e3: Description of position 3 on line 3
</noinclude>

Latest revision as of 08:06, 7 September 2020

CSV specification
First entry Second entry


Line 1 First value on line 1 Second value on line 1
Line 2 First value on line 2 Second value on line 2

Parameters:

  • title: what kind of data is this a specification of
  • line: what kind of data is defined per line
  • criteria: what kind of requirements the data should meet


  • header1: Title of the data stored in position 1
  • unit1: Unit of the data stored in position 1
  • header2: Title of the data stored in position 2
  • unit2: Unit of the data stored in position 2
  • header3: Title of the data stored in position 3
  • unit3: Unit of the data stored in position 3


  • l1e1: Description of position 1 on line 1
  • l1e2: Description of position 1 on line 2
  • l1e3: Description of position 1 on line 3


  • l2e1: Description of position 2 on line 1
  • l2e2: Description of position 2 on line 2
  • l2e3: Description of position 2 on line 3


  • l3e1: Description of position 3 on line 1
  • l3e2: Description of position 3 on line 2
  • l3e3: Description of position 3 on line 3