Changes for page Sandbox
Last modified by Mads Pedersen on 2026/01/22 13:38
From version 7.9
edited by Mads Pedersen
on 2026/01/21 14:54
on 2026/01/21 14:54
Change comment:
There is no comment for this version
To version 3.3
edited by Mads Pedersen
on 2026/01/20 13:57
on 2026/01/20 13:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,68 @@ 1 +{{html}} 2 +<div class="infobox"> 3 + <table> 4 + <caption>Lorem Ipsum</caption> 5 + <tr> 6 + <td colspan="2"> 7 + <img src="https://via.placeholder.com/260x160" style="width:100%;"> 8 + <div class="caption">Lorem ipsum dolor sit amet</div> 9 + </td> 10 + </tr> 11 + <tr> 12 + <th>Lorem</th> 13 + <td>Ipsum dolor</td> 14 + </tr> 15 + <tr> 16 + <th>Sit</th> 17 + <td>Amet consectetur</td> 18 + </tr> 19 + <tr> 20 + <th>Adipiscing</th> 21 + <td>Elit sed do</td> 22 + </tr> 23 + <tr> 24 + <th>Eiusmod</th> 25 + <td>Tempor incididunt</td> 26 + </tr> 27 + </table> 28 +</div> 29 + 30 +<style> 31 +.infobox { 32 + float: right; 33 + width: 280px; 34 + margin: 0 0 1em 1em; 35 +} 36 + 37 +.infobox table { 38 + width: 100%; 39 + border: 1px solid #aaa; 40 + border-collapse: collapse; 41 + background: #f8f9fa; 42 + font-size: 0.9em; 43 +} 44 + 45 +.infobox caption { 46 + background: #e5e5e5; 47 + font-weight: bold; 48 + padding: 4px; 49 +} 50 + 51 +.infobox th, .infobox td { 52 + border-top: 1px solid #aaa; 53 + padding: 4px; 54 + text-align: left; 55 +} 56 + 57 +.caption { 58 + font-size: 0.85em; 59 + color: #555; 60 + text-align: center; 61 +} 62 +</style> 63 +{{/html}} 64 + 65 + 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==82 +test Headings 18 18 19 19 XWiki offers 6 levels of headings. You can use them to structure your pages. 20 20 ... ... @@ -43,6 +43,8 @@ 43 43 * Text in ,,subscript,, 44 44 * Text in ^^superscript^^ 45 45 111 +== / == 112 + 46 46 == Lists == 47 47 48 48 You can create various types of lists in your wiki pages: ... ... @@ -76,24 +76,10 @@ 76 76 77 77 === Table with headers in the top row === 78 78 79 -{{container layoutStyle="columns"}} 80 -((((% style="width:893px" %) 81 -|=(% style="text-align: right;" %) table header |=(% style="text-align: right;" %) table header |=(% style="width: 142px; text-align: right;" %) table header 82 -|(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell 83 -|(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell 84 -))) 85 -(((|= table header |= table header |= table header 86 -|= table header | cell | cell 87 -|= table header | cell | cell))) 88 -{{/container}} 146 +|= table header |= table header |= table header 147 +| cell | cell | cell 148 +| cell | cell | cell 89 89 90 -(% style="width:893px" %) 91 -|=(% style="text-align: right;" %) table header |=(% style="text-align: right;" %) table header |=(% style="width: 142px; text-align: right;" %) table header 92 -|(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell 93 -|(% style="text-align:right" %) cell |(% style="text-align:right" %) cell |(% style="text-align:right; width:142px" %) cell 94 - 95 - 96 - 97 97 === Table with headers in the top row and left column === 98 98 99 99 |= table header |= table header |= table header ... ... @@ -122,19 +122,8 @@ 122 122 123 123 == Macros == 124 124 125 -Macros allow you to make wiki content look better and to add additional features to your wiki. Here are 3examples of how macros can be used in wiki pages:178 +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: 126 126 127 -=== Wikibox Macro === 128 - 129 -Custom made macro for creating a wikipedia like infobox. use /wikibox to create it. 130 - 131 -{{wikibox caption="AR26 Blodstrupmoen" image="https://usercontent.one/wp/www.alignracing.no/wp-content/uploads/2025/05/blodstrupmoen-cutout-1-1.png" labelWidth="90" title="Wikibox Example" width="50"}} 132 -2025=Blodstrupmoen 133 -2024=Desperados 134 -2023=Soline 135 -Wikibox Example = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 136 -{{/wikibox}} 137 - 138 138 === Warning Macro === 139 139 140 140 This macro allows you to draw users' attention to a specific piece of information: