Changes for page Task

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

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

Summary

Details

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