Sand Box: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | > **Tip:** You may find the narrated video below on How To Edit a Wiki Page useful. | |
| 2 | 2 | ||
| 3 | 3 | [Narrated Video](https://www.youtube.com/watch?v=C7yXx3YbcNI) | |
| 4 | 4 | ||
| 5 | 5 | > **Warning:** Please do not delete this or anything above it. Thanks! | |
| 6 | 6 | ||
| 7 | 7 | ## Append | |
| 8 | 8 | ||
| 9 | 9 | ``` pascal | |
| 10 | 10 | Program Test; | |
| 11 | 11 | Uses Crt; | |
| 12 | 12 | ||
| 13 | 13 | Var I : Integer; | |
| 14 | 14 | ||
| 15 | 15 | Begin | |
| 16 | 16 | For I := 0 to 12 do | |
| 17 | 17 | WriteLn('Test ',I:2); | |
| 18 | 18 | End. | |
| 19 | 19 | ``` | |
| 20 | 20 | ||
| 21 | 21 | ### Sayonara | |
| 22 | 22 | ||
| 23 | 23 | Test O | |
| 24 | 24 | ||
| 25 | 25 | How to use an internal link: indent first line. \<inputbox\> | |
| 26 | 26 | ||
| 27 | - | ||
| 28 | - | ||
| 29 | - | ||
| 30 | - | ||
| 31 | - | ||
| 32 | - | ||
| 27 | + | ``` pascal | |
| 28 | + | type=create | |
| 29 | + | width=100 | |
| 30 | + | break=no | |
| 31 | + | buttonlabel=Create new article | |
| 32 | + | default=(Article title) | |
| 33 | + | </inputbox> | |
| 34 | + | ``` | |
| 33 | 35 | ||
| 34 | 36 | ## Append 2 | |
| 35 | 37 | ||
| 36 | 38 | Pascal syntax highlighting example: | |
| 37 | 39 | ||
| 38 | 40 | ``` pascal | |
| 39 | 41 | ||
| 40 | 42 | // this is the same code as above | |
| 41 | 43 | ||
| 42 | 44 | Program Test; | |
| 43 | 45 | Uses Crt; | |
| 44 | 46 | ||
| 45 | 47 | Var I : Integer; | |
| 46 | 48 | ||
| 47 | 49 | Begin | |
| 48 | 50 | For I := 0 to 12 do | |
| 49 | 51 | WriteLn('Test ',I:2); | |
| 50 | 52 | End. | |
| 51 | 53 | ``` | |
| 52 | 54 | ||
| 53 | 55 | Terminal code (BASH) example: | |
| 54 | 56 | ||
| 55 | 57 | ``` bash | |
| 56 | 58 | // BASH example | |
| 57 | 59 | $ ls myfiles* | |
| 58 | 60 | $ mkdir newDir | |
| 59 | 61 | $ clear | |
| 60 | 62 | ``` | |
| 61 | 63 | ||
| 62 | 64 | ## External link | |
| 63 | 65 | ||
| 64 | 66 | External link: [link title](http://www.example.com) | |
| 65 | 67 | ||
| 66 | 68 | another link: [link title](http://www.example.com) | |
| 67 | 69 | ||
| 68 | 70 | Protocol-relative link: \[//www.freepascal.org/docs-html/current/ref/refch5.html Chapter 5\] | |
| 69 | 71 | ||
| 70 | 72 | ## An image | |
| 71 | 73 | ||
| 72 | 74 |  | |
| 73 | 75 | ||
| 74 | 76 | This text should be placed near the picture, does it? zxvzxcv zxvc xcv xzcv zxcv zxvc zxvc zxcv zxcv zxcv zxcv xcv xcv xcv xcv zxcv zxcv zxcv xcv zxcv zxcv aaaaaaaaaaaaa | |
| 75 | 77 | ||
| 76 | 78 | **And this line were is going?** and this line? | |
| 77 | 79 | ||
| 78 | 80 | ## a text | |
| 79 | 81 | ||
| 80 | 82 | This is the text | |
| 81 | 83 | ||
| 82 | 84 | ## new section test | |
| 83 | 85 | ||
| 84 | 86 | ## Table markup (wrong) | |
| 85 | 87 | ||
| 86 | 88 | Header 1 | |
| 87 | 89 | ||
| 88 | 90 | Header 2 | |
| 89 | 91 | ||
| 90 | 92 | Header 3 | |
| 91 | 93 | ||
| 92 | 94 | Header 4 | |
| 93 | 95 | ||
| 94 | 96 | Item 1,1 | |
| 95 | 97 | ||
| 96 | 98 | Item 1,2 | |
| 97 | 99 | ||
| 98 | 100 | Item 1,3 | |
| 99 | 101 | ||
| 100 | 102 | Item 1,4 | |
| 101 | 103 | ||
| 102 | 104 | Item 2,1 | |
| 103 | 105 | ||
| 104 | 106 | Item 2,2 | |
| 105 | 107 | ||
| 106 | 108 | Item 2,3 | |
| 107 | 109 | ||
| 108 | 110 | Item 2,4 | |
| 109 | 111 | ||
| 110 | 112 | ## Wiki table markup (correct) | |
| 111 | 113 | ||
| 112 | 114 | | Header 1 | Header 2 | Header 3 | Header 4 | | |
| 113 | 115 | |----------|----------|----------|----------| | |
| 114 | 116 | | Item 1,1 | Item 1,2 | Item 1,3 | Item 1,4 | | |
| 115 | 117 | | Item 2,1 | Item 2,2 | Item 2,3 | Item 2,4 | | |
| 116 | 118 | ||
| 117 | 119 | Table 2 | |
| 118 | 120 | ||
| 119 | 121 | <thead> | |
| 120 | 122 | ||
| 121 | 123 | </thead> | |
| 122 | 124 | <tbody> | |
| 123 | 125 | ||
| 124 | 126 | </tbody> | |
| 125 | 127 | ||
| 126 | 128 | ## Bullets | |
| 127 | 129 | ||
| 128 | 130 | - One | |
| 129 | 131 | - Two | |
| 130 | 132 | - Tree | |
| 131 | 133 | ||
| 132 | 134 | ## Numbering | |
| 133 | 135 | ||
| 134 | 136 | 1. First | |
| 135 | 137 | 2. Second | |
| 136 | 138 | 3. Third | |
| 137 | 139 | ||
| 138 | 140 | *Nested Numbering* | |
| 139 | 141 | ||
| 140 | 142 | 1. First | |
| 141 | 143 | 1. first.one | |
| 142 | 144 | 2. first.two | |
| 143 | 145 | 3. first.three | |
| 144 | 146 | 2. Second | |
| 145 | 147 | 1. second.one | |
| 146 | 148 | 2. second.two | |
| 147 | 149 | 3. second.three | |
| 148 | 150 | ||
| 149 | 151 | *Mixed Numbering* | |
| 150 | 152 | ||
| 151 | 153 | 1. First | |
| 152 | 154 | - first.one | |
| 153 | 155 | - first.two | |
| 154 | 156 | - first.three | |
| 155 | 157 | 2. Second | |
| 156 | 158 | - second.one | |
| 157 | 159 | - second.two | |
| 158 | 160 | - second.three | |
| 159 | 161 | ||
| 160 | 162 | ## indenting first line | |
| 161 | 163 | ||
| 162 | 164 | Please note that all contributions to Lazarus-ccr are considered to be released under the GNU Free Documentation License (see Lazarus-ccr:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here. | |
| 163 | 165 | ||
| 164 | 166 | ||
| 165 | 167 | You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION! | |
| 166 | 168 | ||
| 167 | 169 | TEST | |
| 168 | 170 | ||
| 169 | 171 | **Another** *Test:* ***lets go crazy*** | |
| 170 | 172 | ||
| 171 | 173 | I want to create a boxed text: | |
| 172 | 174 | ||
| 173 | - | ||
| 175 | + | ```text | |
| 176 | + | This is in a box, or so I hope. | |
| 177 | + | ``` | |
| 174 | 178 | ||
| 175 | 179 | This is outside the box, no? And this is a reference to my incomplete [Structural Analyis](http://www/pcug.org.au/~akabaila/StructuralAnalysis/) book ThisIsMyShura | |
| 176 | 180 | ||
| 177 | - | ||
| 181 | + | ```text | |
| 182 | + | Weird: this is in the box as well? | |
| 183 | + | ``` | |
| 178 | 184 | ||
| 179 | 185 | - *And a bullet in italics?* | |
| 180 | 186 | ||
| 181 | 187 | non formatted... | |
| 182 | 188 | ||
| 183 | 189 | ## Humm | |
| 184 | 190 | ||
| 185 | 191 | \<categorytree\> | |
| 186 | 192 | ||
| 187 | 193 | # Float Like A Butterfly | |
| 188 | 194 | ||
| 189 | 195 | ## New section? | |
| 190 | 196 | ||
| 191 | 197 | Let's see... ok | |
| 192 | 198 | ||
| 193 | 199 | grusskarte | |
| 194 | 200 | ||
| 195 | 201 | if Graphviz was installed, this would draw a pretty graph... | |
| 196 | 202 | ||
| 197 | 203 | \<graphviz\> digraph G { | |
| 198 | 204 | ||
| 199 | - | ||
| 200 | - | ||
| 205 | + | ```text | |
| 206 | + | rankdir=LR; node [fontsize = "8" shape = "rectangle"]; | |
| 207 | + | "Node 1" -> "Node 2"; | |
| 208 | + | ``` | |
| 201 | 209 | ||
| 202 | 210 | } \</graphviz\> | |
| 203 | 211 | ||
| 204 | 212 | This is a test to see, if I can edit a page after the Bad-Behavior update. fpcfan 22:43, 7 December 2007 (CET) | |
| 205 | 213 | ||
| 206 | 214 | ## Tutorial links | |
| 207 | 215 | ||
| 208 | 216 | 30_Second_Quick_Wiki_Tutorial 30 Second Quick Wiki Tutorial scam link removed | |
| 209 | 217 | ||
| 210 | 218 | - [[LazAutoUpdater|Using LazAutoUpdate CodeSnippet]] | |
| 211 | 219 | ||
| 212 | 220 | Use this syntax to include a page within another page: | |
| 213 | 221 | ||
| 214 | 222 | # Clipboard commands with selections | |
| 215 | 223 | ||
| 216 | 224 | Clipboard-related commands work with carets, both with selections and without them. Some details about this: | |
| 217 | 225 | ||
| 218 | 226 | Command | |
| 219 | 227 | ||
| 220 | 228 | Behaviour, when there're no selections | |
| 221 | 229 | ||
| 222 | 230 | Behaviour, when at last one selection present | |
| 223 | 231 | ||
| 224 | 232 | Copy to clipboard | |
| 225 | 233 | ||
| 226 | 234 | Copies entire lines, containing carets. | |
| 227 | 235 | ||
| 228 | 236 | ` (Ignores multiple carets on same line.)` | |
| 229 | 237 | ||
| 230 | 238 | Copies only selections text. | |
| 231 | 239 | ||
| 232 | 240 | ` (Ignores carets without selections.)` | |
| 233 | 241 | ||
| 234 | 242 | Paste from clipboard | |
| 235 | 243 | ||
| 236 | 244 | First, selections are cleared (deleted). Then, command pastes text into each caret position. Special case is when clipboard lines count equals to carets count - in this case, first line is inserted at first caret, second line is inserted at 2nd caret, etc. | |
| 237 | 245 | ||
| 238 | 246 | --- | |
| 239 | 247 | *From the Free Pascal wiki, page "Sand Box", as it stood on 2022-02-07 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
