Changes for page Sandbox


on 2022-02-16 17:58


on 2022-11-01 04:57
Summary
Details
- Page properties
-
- Content
-
... ... @@ -2,6 +2,21 @@ 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 + 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 + 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}} ... ... @@ -116,20 +116,62 @@ 116 116 117 117 You can insert images in your wiki pages: 118 118 119 -image:XWikiLogo.png 134 +[[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 ==140 +== Box Macro == 126 126 127 -This macro allows you to draw users' attention to a specific piece of information: 142 +{{box}} 143 +box 144 +{{/box}} 128 128 146 +{{box title="**Title**"}} 147 +box 148 +{{/box}} 149 + 150 +== Error Macro == 151 + 152 +{{error}} 153 +Error 154 +{{/error}} 155 + 156 +{{error title="**Title**"}} 157 +Error 158 +{{/error}} 159 + 160 +== Info Macro == 161 + 162 +{{info}} 163 +Info 164 +{{/info}} 165 + 166 +{{info title="**Title**"}} 167 +Info 168 +{{/info}} 169 + 170 +== Success Macro == 171 + 172 +{{success}} 173 +Success 174 +{{/success}} 175 + 176 +{{success title="**Title**"}} 177 +Success 178 +{{/success}} 179 + 180 +== Warning Macro == 181 + 129 129 {{warning}} 130 130 Hello World 131 131 {{/warning}} 132 132 186 +{{warning title="**Title**"}} 187 +Hello World 188 +{{/warning}} 189 + 133 133 == Table of Contents == 134 134 135 135 This macro automatically generates a table of contents of your wiki page based on headings: