Changes for page Task

Last modified by 병곤 김 on 2026/10/06 04:44

From version 5.1
edited by 병곤 김
on 2026/10/06 04:44
Change comment: install task wiki macro
To version 4.1
edited by 병곤 김
on 2026/10/06 04:43
Change comment: install task wiki macro

Summary

Details

XWiki.WikiMacroClass[4]
Macro id
... ... @@ -1,1 +1,0 @@
1 -task
Macro name
... ... @@ -1,1 +1,0 @@
1 -Task
Macro description
... ... @@ -1,1 +1,0 @@
1 -Confluence compatibility: task
Macro visibility
... ... @@ -1,1 +1,0 @@
1 -wiki
Supports inline mode
... ... @@ -1,1 +1,0 @@
1 -Yes
Macro content availability
... ... @@ -1,1 +1,0 @@
1 -Optional
Content description (Not applicable for "No content" type)
... ... @@ -1,1 +1,0 @@
1 -Task description (wiki)
Macro code
... ... @@ -1,8 +1,0 @@
1 -{{velocity}}
2 -#set($status = "$!xcontext.macro.params.status")
3 -#set($checkedAttr = '')
4 -#if($status == 'complete')
5 -#set($checkedAttr = ' checked="checked"')
6 -#end
7 -* {{html}}<input type="checkbox" disabled="disabled"$checkedAttr />{{/html}} $xcontext.macro.content
8 -{{/velocity}}
XWiki.WikiMacroParameterClass[8]
Parameter name
... ... @@ -1,1 +1,0 @@
1 -id
Parameter description
... ... @@ -1,1 +1,0 @@
1 -task id
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
XWiki.WikiMacroParameterClass[9]
Parameter default value
... ... @@ -1,1 +1,0 @@
1 -incomplete
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -status
Parameter description
... ... @@ -1,1 +1,0 @@
1 -complete or incomplete
XWiki.WikiMacroClass[3]
Macro code
... ... @@ -1,0 +1,4 @@
1 +{{velocity}}
2 +#set($checkMark = "$!xcontext.macro.params.status" == 'complete' ? '[x]' : '[ ]')
3 +* {{html}}<input type="checkbox" disabled="disabled"#if("$!xcontext.macro.params.status" == 'complete') checked="checked"#end />{{/html}} $xcontext.macro.content
4 +{{/velocity}}
Content description (Not applicable for "No content" type)
... ... @@ -1,0 +1,1 @@
1 +Task description (wiki)
Macro content availability
... ... @@ -1,0 +1,1 @@
1 +Optional
Macro description
... ... @@ -1,0 +1,1 @@
1 +Confluence compatibility: task
Macro id
... ... @@ -1,0 +1,1 @@
1 +task
Macro name
... ... @@ -1,0 +1,1 @@
1 +Task
Supports inline mode
... ... @@ -1,0 +1,1 @@
1 +Yes
Macro visibility
... ... @@ -1,0 +1,1 @@
1 +wiki
XWiki.WikiMacroParameterClass[6]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +task id
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +id
XWiki.WikiMacroParameterClass[7]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +incomplete
Parameter description
... ... @@ -1,0 +1,1 @@
1 +complete or incomplete
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +status