Changes for page Sandbox

Last modified by Drunk Monkey on 2024-05-02 05:56

From version 2.1
edited by Drunk Monkey
on 2020-06-30 06:05
Change comment: There is no comment for this version
To version 20.1
edited by Drunk Monkey
on 2022-11-09 07:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,6 +2,25 @@
2 2  
3 3  Quagmyre
4 4  
5 +External Link ([[good>>https://files.quagmyre.com/index.html]])
6 +
7 +External Link ([[bad>>https://files.quagmyre.com/nosuchfile.html]])
8 +
9 +Linkchecker: [[here>>XWiki.ExternalLinks]]
10 +
11 +Non existing [[internal link>>notexist||style="outline-width: 0px !important; user-select: auto !important;"]] test
12 +
13 +{{groovy}}
14 +import com.xpn.xwiki.web.*
15 +import org.xwiki.rendering.transformation.*
16 +
17 +def checker = Utils.getComponent(Transformation.class, "linkchecker")
18 +
19 +print "Link checker queue size = ${checker.linkQueue.size()}"
20 +{{/groovy}}
21 +
22 +Glossary test: {{glossaryReference glossaryId="Glossary" entryId="OTE"}}OTE{{/glossaryReference}} is an entry, but OTP is not.
23 +
5 5  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!
6 6  
7 7  {{info}}
... ... @@ -18,7 +18,7 @@
18 18  
19 19  Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).
20 20  
21 -= Headings =
40 += {{id name="你好"/}}Headings =
22 22  
23 23  XWiki offers 6 levels of headings. You can use them to structure your pages.
24 24  
... ... @@ -32,7 +32,7 @@
32 32  
33 33  ====== Level 6 Heading 6 ======
34 34  
35 -= Styles =
54 += {{id name="这个"/}}Styles =
36 36  
37 37  Basic styles are supported in XWiki:
38 38  
... ... @@ -43,6 +43,18 @@
43 43  * Text in ,,subscript,,
44 44  * Text in ^^superscript^^
45 45  
65 += Anchors - ascii =
66 +
67 +xwiki code: ~{~{id name="ae"/}}
68 +
69 +{{id name="ae"/}}ae
70 +
71 += Anchors - non ascii =
72 +
73 +xwiki code: ~{~{id name="ä"/}}
74 +
75 +{{id name="ä"/}}ä
76 +
46 46  = Lists =
47 47  
48 48  You can create various types of lists in your wiki pages:
... ... @@ -104,20 +104,62 @@
104 104  
105 105  You can insert images in your wiki pages:
106 106  
107 -image:XWikiLogo.png
138 +[[image:XWikiLogo.png]]
108 108  
109 109  = Macros =
110 110  
111 111  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:
112 112  
113 -== Warning Macro ==
144 +== Box Macro ==
114 114  
115 -This macro allows you to draw users' attention to a specific piece of information:
146 +{{box}}
147 +box
148 +{{/box}}
116 116  
150 +{{box title="**Title**"}}
151 +box
152 +{{/box}}
153 +
154 +== Error Macro ==
155 +
156 +{{error}}
157 +Error
158 +{{/error}}
159 +
160 +{{error title="**Title**"}}
161 +Error
162 +{{/error}}
163 +
164 +== Info Macro ==
165 +
166 +{{info}}
167 +Info
168 +{{/info}}
169 +
170 +{{info title="**Title**"}}
171 +Info
172 +{{/info}}
173 +
174 +== Success Macro ==
175 +
176 +{{success}}
177 +Success
178 +{{/success}}
179 +
180 +{{success title="**Title**"}}
181 +Success
182 +{{/success}}
183 +
184 +== Warning Macro ==
185 +
117 117  {{warning}}
118 118  Hello World
119 119  {{/warning}}
120 120  
190 +{{warning title="**Title**"}}
191 +Hello World
192 +{{/warning}}
193 +
121 121  == Table of Contents ==
122 122  
123 123  This macro automatically generates a table of contents of your wiki page based on headings: