Template:Task: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
{{#cargo_declare: | |||
_table=tasks; | |||
Has number=Number; | |||
Has name=Text; | |||
Has indicators=List (,); | |||
Has participants=List (,); | |||
Has workpackage=Text; | |||
}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"Has number": { | "Has number": { | ||
"label": "Task number", | "label": "Task number", | ||
"description": "The number of the task", | "description": "The number of the task", | ||
Line 16: | Line 20: | ||
}, | }, | ||
"Has name": { | "Has name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "Name of the task", | "description": "Name of the task", | ||
Line 26: | Line 27: | ||
}, | }, | ||
"Has indicators": { | "Has indicators": { | ||
"label": "Indicators", | "label": "Indicators", | ||
"description": "Indicators to measure the task performance and advancement", | "description": "Indicators to measure the task performance and advancement", | ||
Line 34: | Line 32: | ||
}, | }, | ||
"Has participants": { | "Has participants": { | ||
"label": "Participants", | "label": "Participants", | ||
"description": "All participants for this task", | "description": "All participants for this task", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "Has workpackage": { | ||
"label": "Workpackage", | "label": "Workpackage", | ||
"description": "What workpackage is this task for?", | "description": "What workpackage is this task for?", | ||
Line 58: | Line 50: | ||
"Has indicators", | "Has indicators", | ||
"Has participants", | "Has participants", | ||
" | "Has workpackage" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Task number | ! Task number | ||
| {{#cargo_store: | |||
_table=tasks; | |||
Has number={{{Has number|}}}; | |||
Has name={{{Has name|}}}; | |||
Has indicators={{{Has indicators|}}}; | |||
Has participants={{{Has participants|}}}; | |||
Has workpackage={{{Has workpackage|}}}; | |||
}} | |||
| [[Has number::{{{Has number|}}}]] | | [[Has number::{{{Has number|}}}]] | ||
|- | |- | ||
Line 78: | Line 73: | ||
|- | |- | ||
! Indicators | ! Indicators | ||
| {{# | | {{#explode:{{{Has indicators|}}}|,|x|* [[x]]}} | ||
|- | |- | ||
! Participants | ! Participants | ||
| {{# | | {{#explode:{{{Has participants|}}}|,|x|* [[x]]}} | ||
|- | |- | ||
! Workpackage | ! Workpackage | ||
| [[ | | [[Has workpackage::{{{Has workpackage|}}}]] | ||
|} | |} | ||
Revision as of 12:07, 21 March 2024
Error: table name "tasks;
Has number=Number; Has name=Text; Has indicators=List (,); Has participants=List (,);Has workpackage=Text;" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.
Everything related to a task
Parameter | Description | Type | Status | |
---|---|---|---|---|
Task number | Has number | The number of the task
| Number | required |
Name | Has name | Name of the task
| String | required |
Indicators | Has indicators | Indicators to measure the task performance and advancement | Page name | optional |
Participants | Has participants | All participants for this task | Page name | optional |
Workpackage | Has workpackage | What workpackage is this task for?
| Page name | required |
Task number | ||
---|---|---|
Name | ||
Indicators | ||
Participants | ||
Workpackage |