Template:CSVSpec: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(21 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
!colspan=10|{{#if:{{{title|}}}|{{{title|}}} |}}[[comma | !colspan=10|{{#if:{{{title|}}}|{{{title|}}} |}}[[CSV (comma separated values)|CSV specification]] | ||
|- | |- | ||
!Data per line | {{#if:{{{line|}}}|!Data per line | ||
{{!}}colspan=9{{!}}{{{line|}}}|}} | |||
|- | |- | ||
!Criteria | {{#if:{{{criteria|}}}|!Criteria | ||
{{!}}colspan=9{{!}}{{{criteria|}}}|}} | |||
|- | |- | ||
! | ! | ||
! | !First entry | ||
! | !Second entry | ||
{{#if:{{{header3|}}}{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!Third entry |}} | |||
|- | |- | ||
! | ! | ||
! | {{#if:{{{header1|}}}{{{l1e1|}}}{{{l2e1|}}}{{{l3e1|}}}|!{{{header1|Value 1}}}{{#if:{{{unit1|}}}| ({{{unit1|}}})|}} |}} | ||
! | {{#if:{{{header2|}}}{{{l1e2|}}}{{{l2e2|}}}{{{l3e2|}}}|!{{{header2|Value 2}}}{{#if:{{{unit2|}}}| ({{{unit2|}}})|}} |}} | ||
{{#if:{{{header3|}}}{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!{{{header3|}}} {{#if:{{{unit3|}}}| ({{{unit3|}}})|}} |}} | |||
|- | |- | ||
!Line 1 | !Line 1 | ||
| | |{{{l1e1|First value on line 1}}} | ||
| | |{{{l1e2|Second value on line 1}}} | ||
{{#if:{{{l1e3|}}}|{{!}}{{{l1e3|}}}|}} | |||
|- | |- | ||
!Line 2 | !Line 2 | ||
| | |{{{l2e1|First value on line 2}}} | ||
| | |{{{l2e2|Second value on line 2}}} | ||
|} | {{#if:{{{l2e3|}}}|{{!}}{{{l2e3|}}}|}}<!-- | ||
<noinclude> | -->{{#if:{{{l3e1|}}}{{{l3e2|}}}{{{l3e3|}}}|<nowiki /> | ||
{{!}}- | |||
!Line3 | |||
{{!}}{{{l3e1|First value on line 3}}} | |||
{{!}}{{{l3e2|Second value on line 3}}} | |||
{{#if:{{{l3e3|}}}|{{!}}{{{l3e3|}}}|}} | |||
|}} | |||
|}<noinclude> | |||
Parameters: | Parameters: | ||
* title: | * 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> | </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