Changes for page Templates
Last modified by Administrator on 2021/08/11 11:39
Change comment:
Install extension [org.xwiki.contrib:application-help-center/1.5.4]
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Templates1 +$services.localization.render('help.templates.title') - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ssams1 +XWiki.Admin - Content
-
... ... @@ -1,13 +1,16 @@ 1 1 {{include reference="Help.Code.VelocityMacros" /}} 2 2 3 3 {{velocity output="false"}} 4 +#set ($plaformPrefix = 'https://platform.xwiki.org/xwiki/bin/view/Features') 5 +#set ($exoPrefix = 'https://extensions.xwiki.org/xwiki/bin/view/Extension') 4 4 #set ($actionCards = [{ 5 - 'title': 'Use templates', 6 - 'description': 'Templates are predefined pages that can be copied when creating a new page.', 7 - 'tip': "<a href=""http://platform.xwiki.org/xwiki/bin/view/Features/DocumentLifecycle#HCreate"" class=""wikiexternallink"">Creating pages</a> based on templates makes it faster to adapt predefined content to your needs.", 7 + 'title': $services.localization.render('help.templates.useTemplates.title'), 8 + 'description': $services.localization.render('help.templates.useTemplates.description'), 9 + 'tip': $services.localization.render('help.templates.useTemplates.tip', 10 + ["<a href='$plaformPrefix/DocumentLifecycle#HCreate' class='wikiexternallink'>",'</a>']), 8 8 'thumbnail': 'Template', 9 9 'actions': [{ 10 - 'label': 'Tryit!',13 + 'label': $services.localization.render('help.try.label'), 11 11 'type': 'success', 12 12 'url': $xwiki.getURL('Sandbox.WebHome', 'create', $escapetool.url({ 13 13 'title': "New Page $datetool.get('dd MMM yyyy, HH:mm')" ... ... @@ -14,19 +14,20 @@ 14 14 })) 15 15 }] 16 16 }, { 17 - 'title': 'Create your template', 18 - 'description': 'Integrate structure and macros in an existing page, and transform it in a template.', 19 - 'tip': "<a href=""http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HCreatetheTemplateProvider"" class=""wikiexternallink"">Template Providers</a> expose templates on the Create Page dialog so that the users can use them.", 20 + 'title': $services.localization.render('help.templates.create.title'), 21 + 'description': $services.localization.render('help.templates.create.description'), 22 + 'tip': $services.localization.render('help.templates.create.tip', 23 + ["<a href='$exoPrefix/Administration+Application#HCreatetheTemplateProvider' class='wikiexternallink'>",'</a>']), 20 20 'thumbnail': 'Administration', 21 21 'actions': [{ 22 - 'label': 'Learn23 - 'url': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HCreatetheTemplateProvider'26 + 'label': $services.localization.render('help.more.label'), 27 + 'url': "$exoPrefix/Administration+Application#HCreatetheTemplateProvider" 24 24 }] 25 25 }]) 26 26 27 27 #if ($hasAdmin) 28 28 #set ($discard = $actionCards[1].actions.add(0, { 29 - 'label': ' Browse',33 + 'label': $services.localization.render('help.browse.label'), 30 30 'url': $xwiki.getURL('XWiki.XWikiPreferences', 'admin', 'editor=globaladmin§ion=Templates') 31 31 })) 32 32 #end ... ... @@ -37,7 +37,7 @@ 37 37 #set ($outputCard = { 38 38 'title': $inputCard.title, 39 39 'description': $inputCard.description, 40 - 'documentation': 'http://extensions.xwiki.org/xwiki/bin/view/Extension/Templates+Application/',44 + 'documentation': "$exoPrefix/Templates+Application/", 41 41 'thumbnail': $inputCard.thumbnail 42 42 }) 43 43 #else ... ... @@ -51,23 +51,23 @@ 51 51 #end 52 52 53 53 #set ($exampleCards = [{ 54 - 'title': ' Article',55 - 'description': 'Articlege',58 + 'title': $services.localization.render('help.templates.article.title'), 59 + 'description':$services.localization.render('help.templates.article.description'), 56 56 'templateReference': 'Templates.Article.Template.WebHome', 57 57 'thumbnail': 'Help.Templates.WebHome@article.png' 58 58 }, { 59 - 'title': ' Encyclopedia',60 - 'description': ' Encyclopediapage',63 + 'title': $services.localization.render('help.templates.encyclopedia.title'), 64 + 'description': $services.localization.render('help.templates.encyclopedia.description'), 61 61 'templateReference': 'Templates.Encyclopedia.Template.WebHome', 62 62 'thumbnail': 'Help.Templates.WebHome@encyclopedia.png' 63 63 }, { 64 - 'title': 'Meeting Report',65 - 'description': 'Agendadnotes',68 + 'title': $services.localization.render('help.templates.meeting.title'), 69 + 'description': $services.localization.render('help.templates.meeting.description'), 66 66 'templateReference': 'Templates.Meeting.Template.WebHome', 67 67 'thumbnail': 'Help.Templates.WebHome@meeting.png' 68 68 }, { 69 - 'title': ' SimplePage',70 - 'description': 'With tablefcontents',73 + 'title': $services.localization.render('help.templates.simple.title'), 74 + 'description': $services.localization.render('help.templates.simple.description'), 71 71 'templateReference': 'Templates.SimplePage.Template.WebHome', 72 72 'thumbnail': 'Help.Templates.WebHome@simple.png' 73 73 }]) ... ... @@ -86,8 +86,8 @@ 86 86 </div> 87 87 #end 88 88 </div> 89 -<h3 id="HExamples"> Examples</h3>90 -<p> Want tostart fromapredefinedtemplate? Here aresomeexamplesof availabletemplatesinside XWiki.</p>93 +<h3 id="HExamples">$services.localization.render('help.templates.examples.title')</h3> 94 +<p>$services.localization.render('help.templates.examples.description')</p> 91 91 <div class="row"> 92 92 #foreach ($card in $exampleCards) 93 93 ## See http://getbootstrap.com/css/#grid-responsive-resets . ... ... @@ -107,6 +107,6 @@ 107 107 </div> 108 108 #end 109 109 </div> 110 -<p><a href=" http://extensions.xwiki.org/xwiki/bin/view/Extension/Templates+Application/" class="wikiexternallink">View more114 +<p><a href="$exoPrefix/Templates+Application/" class="wikiexternallink">$services.localization.render('help.templates.more')</a></p> 111 111 {{/html}} 112 112 {{/velocity}}