Changes for page Table of Contents
Last modified by Leon Poon on 2020/12/11 16:04
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Tableof Contents1 +$services.localization.render('help.macros.toc.title') - Content
-
... ... @@ -1,26 +1,30 @@ 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]] 1 +{{velocity}} 2 +$services.localization.render('help.macros.toc',['**']) [[$services.localization.render('help.more.label')>>http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro]] 2 2 3 -= Description =4 += $services.localization.render('help.macros.toc.description.title') = 4 4 5 - Thefollowingexamples use theurrentpagetructureconstitutedbytwosectionsandhreesubsections.6 +$services.localization.render('help.macros.toc.description.content', ['[[','>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1§ion=Headings]]']) 6 6 7 - Learn moreaboutstructuringapage with headings [[onthesyntax page.>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1§ion=Headings]]8 += $services.localization.render('help.macros.toc.examples.title') = 8 8 9 -= Macro Table of Contents Examples = 10 +== $services.localization.render('help.macros.toc.simple') == 11 +{{/velocity}} 10 10 11 -== Simple Table of Contents == 12 - 13 13 {{example}} 14 14 {{toc/}} 15 15 {{/example}} 16 16 17 -== Table of Contents with a starting point == 17 +{{velocity}} 18 +== $services.localization.render('help.macros.toc.startingPoint') == 19 +{{/velocity}} 18 18 19 19 {{example}} 20 20 {{toc start="2"/}} 21 21 {{/example}} 22 22 23 -== Table of Contents inside a box == 25 +{{velocity}} 26 +== $services.localization.render('help.macros.toc.insideBox') == 27 +{{/velocity}} 24 24 25 25 {{example}} 26 26 {{box cssClass="floatinginfobox"}}