Changes for page Table of Contents

Last modified by Leon Poon on 2020/12/11 16:04

From version 4.1
edited by Leon Poon
on 2020/12/11 16:04
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.5.3]
To version 1.1
edited by Leon Poon
on 2018/12/16 14:33
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.3]

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -$services.localization.render('help.macros.toc.title')
1 +Table of Contents
Content
... ... @@ -1,31 +1,25 @@
1 -{{velocity}}
2 -$services.localization.render('help.macros.toc',['**']) [[$services.localization.render('help.more.label')>>https://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro]]
1 +**Table of Contents Macro** generates a table of contents for the page headings. [[Learn more>>http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro]]
3 3  
4 -= $services.localization.render('help.macros.toc.description.title') =
3 +{{example}}
4 += Section 1 =
5 5  
6 -$services.localization.render('help.macros.toc.description.content', ['[[','>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1&section=Headings]]'])
6 +== Sub-Section 1.1 ==
7 7  
8 -= $services.localization.render('help.macros.toc.examples.title') =
8 +== Sub-Section 1.2 ==
9 9  
10 -== $services.localization.render('help.macros.toc.simple') ==
11 -{{/velocity}}
10 += Section 2 =
12 12  
12 += Section 3 =
13 +{{/example}}
14 +
13 13  {{example}}
14 14  {{toc/}}
15 15  {{/example}}
16 16  
17 -{{velocity}}
18 -== $services.localization.render('help.macros.toc.startingPoint') ==
19 -{{/velocity}}
20 -
21 21  {{example}}
22 22  {{toc start="2"/}}
23 23  {{/example}}
24 24  
25 -{{velocity}}
26 -== $services.localization.render('help.macros.toc.insideBox') ==
27 -{{/velocity}}
28 -
29 29  {{example}}
30 30  {{box cssClass="floatinginfobox"}}
31 31  {{toc/}}