Changes for page Sandbox

on 2020-04-11 15:52


on 2022-11-01 07:44
Summary
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,23 @@ 1 += Quagmyre = 2 + 3 +Quagmyre 4 + 5 +External Link ([[good>>https://files.quagmyre.com/index.html]]) 6 + 7 +External Link ([[bad>>https://files.quagmyre.com/nosuchfile.html]]) 8 + 9 + 10 +{{groovy}} 11 +import com.xpn.xwiki.web.* 12 +import org.xwiki.rendering.transformation.* 13 + 14 +def checker = Utils.getComponent(Transformation.class, "linkchecker") 15 + 16 +print "Link checker queue size = ${checker.linkQueue.size()}" 17 +{{/groovy}} 18 + 19 +Glossary test: {{glossaryReference glossaryId="Glossary" entryId="OTE"}}OTE{{/glossaryReference}} is an entry, but OTP is not. 20 + 1 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! 2 2 3 3 {{info}} ... ... @@ -14,7 +14,7 @@ 14 14 15 15 Below is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables). 16 16 17 -= Headings = 37 += {{id name="你好"/}}Headings = 18 18 19 19 XWiki offers 6 levels of headings. You can use them to structure your pages. 20 20 ... ... @@ -28,7 +28,7 @@ 28 28 29 29 ====== Level 6 Heading 6 ====== 30 30 31 -= Styles = 51 += {{id name="这个"/}}Styles = 32 32 33 33 Basic styles are supported in XWiki: 34 34 ... ... @@ -39,6 +39,18 @@ 39 39 * Text in ,,subscript,, 40 40 * Text in ^^superscript^^ 41 41 62 += Anchors - ascii = 63 + 64 +xwiki code: ~{~{id name="ae"/}} 65 + 66 +{{id name="ae"/}}ae 67 + 68 += Anchors - non ascii = 69 + 70 +xwiki code: ~{~{id name="ä"/}} 71 + 72 +{{id name="ä"/}}ä 73 + 42 42 = Lists = 43 43 44 44 You can create various types of lists in your wiki pages: ... ... @@ -100,20 +100,62 @@ 100 100 101 101 You can insert images in your wiki pages: 102 102 103 -image:XWikiLogo.png 135 +[[image:XWikiLogo.png]] 104 104 105 105 = Macros = 106 106 107 107 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: 108 108 109 -== WarningMacro ==141 +== Box Macro == 110 110 111 -This macro allows you to draw users' attention to a specific piece of information: 143 +{{box}} 144 +box 145 +{{/box}} 112 112 147 +{{box title="**Title**"}} 148 +box 149 +{{/box}} 150 + 151 +== Error Macro == 152 + 153 +{{error}} 154 +Error 155 +{{/error}} 156 + 157 +{{error title="**Title**"}} 158 +Error 159 +{{/error}} 160 + 161 +== Info Macro == 162 + 163 +{{info}} 164 +Info 165 +{{/info}} 166 + 167 +{{info title="**Title**"}} 168 +Info 169 +{{/info}} 170 + 171 +== Success Macro == 172 + 173 +{{success}} 174 +Success 175 +{{/success}} 176 + 177 +{{success title="**Title**"}} 178 +Success 179 +{{/success}} 180 + 181 +== Warning Macro == 182 + 113 113 {{warning}} 114 114 Hello World 115 115 {{/warning}} 116 116 187 +{{warning title="**Title**"}} 188 +Hello World 189 +{{/warning}} 190 + 117 117 == Table of Contents == 118 118 119 119 This macro automatically generates a table of contents of your wiki page based on headings: