0 Votes

Changes for page Sandbox

Last modified by Ryan C on 2025/03/13 01:36

From version 18.1
edited by Ryan C
on 2025/03/11 17:10
Change comment: There is no comment for this version
To version 19.1
edited by Ryan C
on 2025/03/11 17:25
Change comment: Rollback to version 2.1

Summary

Details

Page properties
Content
... ... @@ -1,13 +1,15 @@
1 -The sandbox is a part of your wiki that you can freely modify. It's meant to let you practice editing. You will discover how page editing works and create new pages. Simply click on **Edit** to get started!  [[test>>attach:xwiki test.txt]]
1 +~{~{velocity}}
2 +$services.component.getInstance('org.xwiki.environment.Environment').getPermanentDirectory().getCanonicalPath()
3 +~{~{/velocity}}
2 2  
3 -{{html}}
4 -<iframe src="https://thewhitearchive.org/nextcloud/s/oNsNzrSq4awt4Pf" width="800" height="600"></iframe>
5 -{{/html}}
6 6  
7 7  
8 - {{info}}Don't worry about overwriting or losing stuff when editing the page, you can always roll back to the first version of the page from the "History" tab at the bottom of the page.{{/info}}
7 +The sandbox is a part of your wiki that you can freely modify. It's meant to let you practice editing. You will discover how page editing works and create new pages. Simply click on **Edit** to get started!
9 9  
10 -(((
9 +{{info}}
10 +Don't worry about overwriting or losing stuff when editing the page, you can always roll back to the first version of the page from the "History" tab at the bottom of the page.
11 +{{/info}}
12 +
11 11  If you want to give a look to the underlying [[XWiki Syntax>>XWiki.XWikiSyntax]], you can click on "Wiki code" in the "Show" menu or click on the "Source" tab when editing the page.
12 12  
13 13  Here are a number of test pages you can play with:
... ... @@ -95,5 +95,35 @@
95 95  XWiki allows you to create links to other pages in your wiki or on the web:
96 96  
97 97  * [[WebHome]] -> links to the homepage of the current space
98 -*
99 -)))
100 +* [[Sandbox Home>>WebHome]] -> links can have labels
101 +* [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space
102 +* [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites
103 +* [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too
104 +
105 +You can also create links to attachments:
106 +
107 +attach:XWikiLogo.png
108 +
109 +== Images ==
110 +
111 +You can insert images in your wiki pages:
112 +
113 +[[image:XWikiLogo.png]]
114 +
115 +== Macros ==
116 +
117 +Macros allow you to make wiki content look better and to add additional features to your wiki. Here are 2 examples of how macros can be used in wiki pages:
118 +
119 +=== Warning Macro ===
120 +
121 +This macro allows you to draw users' attention to a specific piece of information:
122 +
123 +{{warning}}
124 +Hello World
125 +{{/warning}}
126 +
127 +=== Table of Contents ===
128 +
129 +This macro automatically generates a table of contents of your wiki page based on headings:
130 +
131 +{{toc/}}
xwiki test.txt
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AdminAngriff
Size
... ... @@ -1,1 +1,0 @@
1 -10 bytes
Content