(Update package: OSW Core) |
(Update package: OSW Core) |
||
Line 7: | Line 7: | ||
"uuid": "{{{uuid|}}}", | "uuid": "{{{uuid|}}}", | ||
"name":"{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}", | "name":"{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}", | ||
"edit":{{#ifeq: {{{edit|0}}}|1|true|false}}, | "edit":{{#ifeq: {{{edit|0}}}|1|true|false}}, | ||
"default_jsondata": {"related_to": ["{{FULLPAGENAME}}"]} | "board_preset": "prio_backlog_inwork_done", | ||
{{#if: {{{smw_query|[[IsRelatedTo::{{FULLPAGENAME}}]]}}}|"query": {"type": "smw", "value": "{{{smw_query|[[IsRelatedTo::{{FULLPAGENAME}}]]}}}"}|}} | "board": { | ||
"default_jsondata": {"related_to": ["{{FULLPAGENAME}}"]} | |||
} | |||
{{#if: {{{smw_query|[[IsRelatedTo::{{FULLPAGENAME}}]]}}}|,"query": {"type": "smw", "value": "{{{smw_query|[[IsRelatedTo::{{FULLPAGENAME}}]]}}}"}|}} | |||
}'></div> | }'></div> | ||
}}</includeonly><noinclude>[[Category:OSL/Infrastructure/Template/User]] | }}</includeonly><noinclude>[[Category:OSL/Infrastructure/Template/User]] |
Latest revision as of 02:32, 15 November 2023
Adds a kanban board task viewer and editor
Parameter | Description | Type | Status | |
---|---|---|---|---|
Board name | file_name | Must be unique on this page
| Unknown | required |
SMW query | smw_query | Selects task by running an SMW query, default all task related to the current page
| Unknown | optional |
Width | width | Width of the graph in pixels
| String | optional |
Full width | full_width | Used the full page width to display the graph
| Boolean | suggested |
Edit modus | edit | Allows editing the board / task
| Boolean | suggested |
Page name | page_name | is filled in automatically
| Page name | optional |
Unique ID | uuid | Automatically generated and should not be changed
| String | required |