Module:Kanban/doc
This is the documentation page for Module:Kanban
A very basic module to display tasks in little separate boards ("kanban"), aimed at wiki editors. The module is split in 2 parts: the logic of the kanban itself, and the list of tasks.
Example
{{#invoke:kanban|main|src=NAME OF THE MODULE WITH THE TASKS}}
Low (1)
Bulba task
Lorem ipsumDue Date: 21 Oct 2024
Medium (2)
Charizard task
Lorem ipsumDue Date: 21 Oct 2024
Sensei task
Lorem ipsumDue Date: 21 Oct 2024
Long-term (1)
My task
Lorem ipsuaaaamDue Date: 21 Oct 2024
Completed (1)
Rubra task
Lorem ipsumDue Date: 21 Oct 2024
Arguments
src: name of the module with the list of tasks.
List of tasks
The list of tasks is a table with nested tables within, each one contains the following parameters:
| Parameter | Description |
|---|---|
title
|
Title of the task |
Description (optional)
|
A brief description of the task |
Priority
|
|
due_date (optional)
|
If the task has a date to be completed |
completed
|
Marks the task as completed (independently of priority). Either true or false (boolean).
|
Example
local tasks = {
{
title = "First task",
description = "Lorem ipsum",
priority = 1,
due_date = "21 Oct 2024",
completed = true
},
{
title = "Second task",
description = "Lorem ipsuaaaam",
priority = 0,
due_date = "21 Oct 2024",
completed = false
},
...
}
return tasks
Categories
- No categories associated with this article