Changes for page Sandbox


on 2022-02-14 06:17


on 2022-11-01 08:09
Summary
Details
- Page properties
-
- Content
-
... ... @@ -2,6 +2,23 @@ 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>>https://info.quagmyre.com/xwiki/bin/view/XWiki/ExternalLinks]] 10 + 11 +{{groovy}} 12 +import com.xpn.xwiki.web.* 13 +import org.xwiki.rendering.transformation.* 14 + 15 +def checker = Utils.getComponent(Transformation.class, "linkchecker") 16 + 17 +print "Link checker queue size = ${checker.linkQueue.size()}" 18 +{{/groovy}} 19 + 20 +Glossary test: {{glossaryReference glossaryId="Glossary" entryId="OTE"}}OTE{{/glossaryReference}} is an entry, but OTP is not. 21 + 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 = 38 += {{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 = 52 += {{id name="这个"/}}Styles = 36 36 37 37 Basic styles are supported in XWiki: 38 38 ... ... @@ -116,20 +116,62 @@ 116 116 117 117 You can insert images in your wiki pages: 118 118 119 -image:XWikiLogo.png 136 +[[image:XWikiLogo.png]] 120 120 121 121 = Macros = 122 122 123 123 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: 124 124 125 -== WarningMacro ==142 +== Box Macro == 126 126 127 -This macro allows you to draw users' attention to a specific piece of information: 144 +{{box}} 145 +box 146 +{{/box}} 128 128 148 +{{box title="**Title**"}} 149 +box 150 +{{/box}} 151 + 152 +== Error Macro == 153 + 154 +{{error}} 155 +Error 156 +{{/error}} 157 + 158 +{{error title="**Title**"}} 159 +Error 160 +{{/error}} 161 + 162 +== Info Macro == 163 + 164 +{{info}} 165 +Info 166 +{{/info}} 167 + 168 +{{info title="**Title**"}} 169 +Info 170 +{{/info}} 171 + 172 +== Success Macro == 173 + 174 +{{success}} 175 +Success 176 +{{/success}} 177 + 178 +{{success title="**Title**"}} 179 +Success 180 +{{/success}} 181 + 182 +== Warning Macro == 183 + 129 129 {{warning}} 130 130 Hello World 131 131 {{/warning}} 132 132 188 +{{warning title="**Title**"}} 189 +Hello World 190 +{{/warning}} 191 + 133 133 == Table of Contents == 134 134 135 135 This macro automatically generates a table of contents of your wiki page based on headings: