Changes for page Macros
Last modified by Travis Tran on 2019/07/22 13:07
edited by Xwiki Admin
on 2018/03/14 16:00
on 2018/03/14 16:00
edited by Travis Tran
on 2019/07/22 13:07
on 2019/07/22 13:07
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.5.1]
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Macros1 +$services.localization.render('help.macros.title') - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. XwikiAdmin1 +XWiki.ttran - Content
-
... ... @@ -13,65 +13,65 @@ 13 13 #end 14 14 15 15 #set ($actionCards = [{ 16 - 'title': ' Use17 - 'description': 'Macrosareeusable piecesf functionality thatcan beintegrated insideges.',18 - 'tip': "The <a href=""http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration""class=""wikiexternallink"">WYSIWYG Editor</a>allows you to insert macros and to customize their parameters when editing pages. Look for the$services.icon.renderHTML('cog')button on the tool bar.",16 + 'title': $services.localization.render('help.macros.useMacros.title'), 17 + 'description': $services.localization.render('help.macros.useMacros.description'), 18 + 'tip':$services.localization.render('help.macros.useMacros.tip', ["<a href='http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration' class='wikiexternallink'>",'</a>', $services.icon.renderHTML('cog')]), 19 19 'thumbnail': 'Macro', 20 20 'actions': [{ 21 - 'label': 'Tryit!',21 + 'label': $services.localization.render('help.try.label'), 22 22 'type': 'success', 23 23 'url': $xwiki.getURL('Sandbox.TestPage1', 'edit', 'editor=wysiwyg') 24 24 }] 25 25 }, { 26 - 'title': ' Browse27 - 'description': 'Choosefromcommunity contributedand install them insideyourwiki.',28 - 'tip': "The <a href=""#if($xwiki.exists('XWiki.XWikiSyntaxMacrosList'))$xwiki.getURL('XWiki.XWikiSyntaxMacrosList')#{else}$xwiki.getURL('XWiki.WikiMacros')#end"">Macro Index</a>lists the macros that are already installed and ready to be used inside your pages.",26 + 'title': $services.localization.render('help.macros.browseMacros.title'), 27 + 'description': $services.localization.render('help.macros.browseMacros.description'), 28 + 'tip': $services.localization.render('help.macros.browseMacros.tip', ["<a href='#if($xwiki.exists('XWiki.XWikiSyntaxMacrosList'))$xwiki.getURL('XWiki.XWikiSyntaxMacrosList')#{else}$xwiki.getURL('XWiki.WikiMacros')#end'>",'</a>']), 29 29 'thumbnail': 'EM', 30 30 'actions': [{ 31 - 'label': ' Browse',31 + 'label': $services.localization.render('help.browse.label'), 32 32 'url': $browseMacrosURL 33 33 }, { 34 - 'label': 'Learn34 + 'label': $services.localization.render('help.more.label'), 35 35 'url': 'http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial' 36 36 }] 37 37 }]) 38 38 39 39 #set ($exampleCards = [{ 40 - 'title': ' Box',41 - 'description': 'Displays a messageinastyled40 + 'title': $services.localization.render('help.macros.box.title'), 41 + 'description': $services.localization.render('help.macros.box.description'), 42 42 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro', 43 43 'examples': 'Help.Macros.Box.WebHome', 44 44 'thumbnail': 'Help.Macros.Box.WebHome@box.png' 45 45 }, { 46 - 'title': 'Tableof Contents',47 - 'description': 'Generatesa tableofcontents forthege headings.',46 + 'title': $services.localization.render('help.macros.toc.title'), 47 + 'description': $services.localization.render('help.macros.toc.description'), 48 48 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro', 49 49 'examples': 'Help.Macros.ToC.WebHome', 50 50 'thumbnail': 'Help.Macros.ToC.WebHome@toc.png' 51 51 }, { 52 - 'title': ' Gallery',53 - 'description': 'Displays alistofimages ina slide-showgallery.',52 + 'title': $services.localization.render('help.macros.gallery.title'), 53 + 'description': $services.localization.render('help.macros.gallery.description'), 54 54 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Gallery+Macro', 55 55 'examples': 'Help.Macros.Gallery.WebHome', 56 56 'thumbnail': 'Help.Macros.Gallery.WebHome@gallery.png' 57 57 }, { 58 - 'title': ' Chart',59 - 'description': 'Generatesgraphicalfrom data sources.',58 + 'title': $services.localization.render('help.macros.chart.title') , 59 + 'description': $services.localization.render('help.macros.chart.description'), 60 60 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro', 61 61 'examples': 'Help.Macros.Chart.WebHome', 62 62 'thumbnail': 'Help.Macros.Chart.WebHome@chart.png' 63 63 }, { 64 - 'title': 'PageTree',65 - 'description': 'Displaysthe hierarchy ofpages.',64 + 'title': $services.localization.render('help.macros.tree.title') , 65 + 'description': $services.localization.render('help.macros.tree.description'), 66 66 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro', 67 67 'examples': 'Help.Macros.Tree.WebHome', 68 68 'thumbnail': 'Help.Macros.Tree.WebHome@tree.png' 69 69 }, { 70 - 'title': ' Activity',71 - 'description': 'Displaysrecentactivities done on pagesby theusers.',72 - 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Acti vity+Macro',73 - 'examples': 'Help.Macros. Activity.WebHome',74 - 'thumbnail': 'Help.Macros. Activity.WebHome@activity.png'70 + 'title': $services.localization.render('help.macros.notifications.title') , 71 + 'description': $services.localization.render('help.macros.notifications.description'), 72 + 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Notifications%20Application/#HNotificationsMacro', 73 + 'examples': 'Help.Macros.Notifications.WebHome', 74 + 'thumbnail': 'Help.Macros.Notifications.WebHome@notifications.png' 75 75 }]) 76 76 {{/velocity}} 77 77 ... ... @@ -104,6 +104,6 @@ 104 104 </div> 105 105 #end 106 106 </div> 107 -<p><a href="http://extensions.xwiki.org/xwiki/bin/view/Main/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro" class="wikiexternallink"> View more107 +<p><a href="http://extensions.xwiki.org/xwiki/bin/view/Main/#%7Ct=extensions&p=1&l=30&s=doc.creationDate&d=desc&category=macro" class="wikiexternallink">$services.localization.render('help.macros.more')</a></p> 108 108 {{/html}} 109 109 {{/velocity}}
Use Macros
Macros are reusable pieces of functionality that can be integrated inside pages.
The WYSIWYG Editor allows you to insert macros and to customize their parameters when editing pages. Look for the button on the tool bar.
Try it!Browse Macros
Choose from community contributed macros and install them inside your wiki.
The Macro Index lists the macros that are already installed and ready to be used inside your pages.
Browse Learn moreExamples
Need help or confused with some of our macros? Check out their documentation and find out more about their functionality.