Template:CSVSpec: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(13 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]] | ||
|- | |- | ||
{{#if:{{{line|}}}|!Data per line | {{#if:{{{line|}}}|!Data per line | ||
Line 11: | Line 11: | ||
!First entry | !First entry | ||
!Second entry | !Second entry | ||
{{#if:{{{header3|}}}|!Third entry |}} | {{#if:{{{header3|}}}{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!Third entry |}} | ||
|- | |- | ||
! | ! | ||
{{#if:{{{l1e1|}}}{{{l2e1|}}}{{{l3e1|}}}|!{{{header1|Value 1}}}{{#if:{{{unit1|}}}| ({{{unit1|}}})|}} |}} | {{#if:{{{header1|}}}{{{l1e1|}}}{{{l2e1|}}}{{{l3e1|}}}|!{{{header1|Value 1}}}{{#if:{{{unit1|}}}| ({{{unit1|}}})|}} |}} | ||
{{#if:{{{l1e2|}}}{{{l2e2|}}}{{{l3e2|}}}|!{{{header2|Value 2}}}{{#if:{{{unit2|}}}| ({{{unit2|}}})|}} |}} | {{#if:{{{header2|}}}{{{l1e2|}}}{{{l2e2|}}}{{{l3e2|}}}|!{{{header2|Value 2}}}{{#if:{{{unit2|}}}| ({{{unit2|}}})|}} |}} | ||
{{#if:{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!{{{header3|}}} {{#if:{{{unit3|}}}| ({{{unit3|}}})|}} |}} | {{#if:{{{header3|}}}{{{l1e3|}}}{{{l2e3|}}}{{{l3e3|}}}|!{{{header3|}}} {{#if:{{{unit3|}}}| ({{{unit3|}}})|}} |}} | ||
|- | |- | ||
!Line 1 | !Line 1 | ||
|{{{l1e1|First value on line 1}}} | |{{{l1e1|First value on line 1}}} | ||
|{{{l1e2|Second value on line 1}}} | |{{{l1e2|Second value on line 1}}} | ||
{{#if:{{{l1e3|}}}|{{!}}{{{l1e3|}}}|}} | |||
|- | |- | ||
!Line 2 | !Line 2 | ||
|{{{l2e1|First value on line 2}}} | |{{{l2e1|First value on line 2}}} | ||
|{{{l2e2|Second value on line 2}}} | |{{{l2e2|Second value on line 2}}} | ||
{{#if:{{{l2e3|}}}|{{!}}{{{l2e3|}}}|}}<!-- | |||
-->{{#if:{{{l3e1|}}}{{{l3e2|}}}{{{l3e3|}}}|<nowiki /> | |||
-->{{#if:{{{l3e1|}}}{{{l3e2|}}}{{{l3e3|}}}| | {{!}}- | ||
!Line3 | |||
{{!}}{{{l3e1|First value on line 3}}} | |||
{{!}}{{{l3e2|Second value on line 3}}} | |||
{{#if:{{{l3e3|}}}|{{!}}{{{l3e3|}}}|}} | |||
|}} | |}} | ||
|}<noinclude> | |||
|} | |||
<noinclude> | |||
Parameters: | Parameters: | ||
* title: what kind of data is this a specification of | * title: what kind of data is this a specification of |
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