Changes for page Macros
Last modified by Travis Tran on 2019/07/22 13:07
edited by Travis Tran
on 2019/07/22 13:07
on 2019/07/22 13:07
edited by Xwiki Admin
on 2018/03/14 16:00
on 2018/03/14 16:00
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.2]
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - $services.localization.render('help.macros.title')1 +Macros - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ttran1 +XWiki.XwikiAdmin - Content
-
... ... @@ -13,65 +13,65 @@ 13 13 #end 14 14 15 15 #set ($actionCards = [{ 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')]),16 + 'title': 'Use Macros', 17 + 'description': 'Macros are reusable pieces of functionality that can be integrated inside pages.', 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.", 19 19 'thumbnail': 'Macro', 20 20 'actions': [{ 21 - 'label': $services.localization.render('help.try.label'),21 + 'label': 'Try it!', 22 22 'type': 'success', 23 23 'url': $xwiki.getURL('Sandbox.TestPage1', 'edit', 'editor=wysiwyg') 24 24 }] 25 25 }, { 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>']),26 + 'title': 'Browse Macros', 27 + 'description': 'Choose from community contributed macros and install them inside your wiki.', 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.", 29 29 'thumbnail': 'EM', 30 30 'actions': [{ 31 - 'label': $services.localization.render('help.browse.label'),31 + 'label': 'Browse', 32 32 'url': $browseMacrosURL 33 33 }, { 34 - 'label': $services.localization.render('help.more.label'),34 + 'label': 'Learn more', 35 35 'url': 'http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial' 36 36 }] 37 37 }]) 38 38 39 39 #set ($exampleCards = [{ 40 - 'title': $services.localization.render('help.macros.box.title'),41 - 'description': $services.localization.render('help.macros.box.description'),40 + 'title': 'Box', 41 + 'description': 'Displays a message in a styled box.', 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': $services.localization.render('help.macros.toc.title'),47 - 'description': $services.localization.render('help.macros.toc.description'),46 + 'title': 'Table of Contents', 47 + 'description': 'Generates a table of contents for the page headings.', 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': $services.localization.render('help.macros.gallery.title'),53 - 'description': $services.localization.render('help.macros.gallery.description'),52 + 'title': 'Gallery', 53 + 'description': 'Displays a list of images in a slide-show gallery.', 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': $services.localization.render('help.macros.chart.title'),59 - 'description': $services.localization.render('help.macros.chart.description'),58 + 'title': 'Chart', 59 + 'description': 'Generates graphical charts from data sources.', 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': $services.localization.render('help.macros.tree.title'),65 - 'description': $services.localization.render('help.macros.tree.description'),64 + 'title': 'Page Tree', 65 + 'description': 'Displays the hierarchy of pages.', 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': $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'70 + 'title': 'Activity', 71 + 'description': 'Displays recent activities done on pages by the users.', 72 + 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Activity+Macro', 73 + 'examples': 'Help.Macros.Activity.WebHome', 74 + 'thumbnail': 'Help.Macros.Activity.WebHome@activity.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"> $services.localization.render('help.macros.more')</a></p>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 more macros</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.