0 Votes

Changes for page Start here if you're new

Last modified by Ryan C on 2025/06/28 04:59

From version 9.1
edited by Ryan C
on 2025/03/16 01:20
Change comment: There is no comment for this version
To version 15.1
edited by Ryan C
on 2025/05/14 13:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,10 +2,8 @@
2 2  
3 3  ----
4 4  
5 -== Getting Started with XWiki ==
5 +== ==
6 6  
7 -This page covers all the essential steps and tips you need to create great content in XWiki without any confusion.
8 -
9 9  == πŸ“– Table of Contents: ==
10 10  
11 11  {{toc/}}
... ... @@ -12,6 +12,12 @@
12 12  
13 13  ----
14 14  
13 +== Getting Started with XWiki ==
14 +
15 +This page covers all the essential steps and tips you need to create great content in XWiki without any confusion.
16 +
17 +== ==
18 +
15 15  == πŸ“Ž **Attachments and Images** ==
16 16  
17 17  You can easily upload files and images directly from the WYSIWYG editor:
... ... @@ -92,10 +92,6 @@
92 92  * **Wiki Editor**: This mode enables direct editing using XWiki’s markup syntax. It’s suitable for users comfortable with wiki syntax and those requiring precise control over the content structure.ξˆ†
93 93  * **Inline Form Editing**: Used primarily for pages containing structured data or custom applications, this mode presents editable fields directly within the page view, streamlining data entry and updates.ξˆ†
94 94  
95 -=== **Switching Between Syntaxes** ===
96 -
97 -XWiki supports multiple syntaxes, including XWiki 2.1, MediaWiki, and others. While it’s possible to switch a page’s syntax, exercise caution, as certain syntaxes may not fully support WYSIWYG editing. For instance, changing a page to MediaWiki syntax might limit the availability of the WYSIWYG editor. ξˆ€citeξˆ‚turn0search6ξˆξˆ†
98 -
99 99  == **Essential Formatting Options** ==
100 100  
101 101  To ensure content is both engaging and accessible, utilize the following formatting techniques:ξˆ†
... ... @@ -113,6 +113,7 @@
113 113  
114 114  
115 115  
116 +*
116 116  ** (((
117 117  === **Bold**: Surround text with double asterisks. ===
118 118  )))
... ... @@ -122,6 +122,7 @@
122 122  {{/code}}
123 123  
124 124  
126 +*
125 125  ** (((
126 126  === **Italics**: Use double underscores. ===
127 127  )))
... ... @@ -131,6 +131,7 @@
131 131  {{/code}}
132 132  
133 133  
136 +*
134 134  ** (((
135 135  === **Underline**: Enclose text with double tildes. ===
136 136  )))
... ... @@ -140,6 +140,7 @@
140 140  {{/code}}
141 141  
142 142  
146 +*
143 143  ** (((
144 144  === **Unordered List**: Begin lines with asterisk (*) or hyphen (-). ===
145 145  )))
... ... @@ -150,6 +150,7 @@
150 150  {{/code}}
151 151  
152 152  
157 +*
153 153  ** (((
154 154  === **Ordered List**: Start lines with a number followed by a period. ===
155 155  )))
... ... @@ -162,6 +162,8 @@
162 162  
163 163  == **Links** ==
164 164  
170 +
171 +
165 165  ==== **Internal Link**: Use square brackets with the page name. ====
166 166  
167 167  {{code}}
... ... @@ -168,16 +168,15 @@
168 168  [[PageName]]
169 169  {{/code}}
170 170  
171 -*
172 -** (((
178 +
179 +
173 173  ==== **External Link**: Provide the URL directly. ====
174 -)))
175 175  
176 176  {{code}}
177 177  [https://www.example.com]
178 178  {{/code}}
179 179  
180 -* (((
186 +(((
181 181  === **Images** ===
182 182  )))
183 183  
... ... @@ -190,15 +190,15 @@
190 190  
191 191  Macros are powerful tools in XWiki that allow for dynamic content inclusion and advanced formatting. Here are ten notable macros to consider:ξˆ†
192 192  
193 -**Box Macro**: Encapsulates content within a styled box, useful for highlighting information.
199 +== Embed Macro ==
194 194  
195 -{{code}}
196 -{{box}}
197 -Your content here.
198 -{{/box}}
199 -{{/code}}
201 +The Embed macro shows external content like YouTube videos.
200 200  
203 +{{example}}
204 +{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}
205 +{{/example}}
201 201  
207 +
202 202  === **Info Macro**: Displays an informational message, often used for tips or notes. ===
203 203  
204 204  {{code}}
... ... @@ -208,15 +208,16 @@
208 208  {{/code}}
209 209  
210 210  
211 -=== **Warning Macro**: Highlights warnings or important notices. ===
217 +== Footnote Macro ==
212 212  
213 -{{code}}
214 -{{warning}}
215 -Caution: Proceed with care.
216 -{{/warning}}
217 -{{/code}}
219 +The Footnote macro adds footnotes to the page.
218 218  
221 +{{example}}
222 +This is a statement{{footnote}}Source: Example Reference{{/footnote}}.
223 +{{putFootnotes/}}
224 +{{/example}}
219 219  
226 +
220 220  === **Code Macro**: Renders code snippets with syntax highlighting. ===
221 221  
222 222  {{code}}
... ... @@ -243,28 +243,60 @@
243 243  {{toc/}}
244 244  {{/code}}
245 245  
253 +== Video Macro ==
246 246  
247 -=== **Include Macro**: Embeds content from another page. ===
255 +The Video macro embeds videos.
248 248  
249 -{{code}}
250 -{{include reference="PageName"/}}
251 -{{/code}}
257 +{{example}}
258 +{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}
259 +{{/example}}
252 252  
261 +== Expandable Macro ==
262 +The following example demonstrates how to present complex information cleanly using `{{expandable}}` and `{{example}}`.
253 253  
254 -=== **Display Macro**: Displays the content of another document or an object property. ===
264 +{{example}}
265 +{{expandable summary="🧠 Study: Survey of Expert Opinion on Intelligence"}}
266 +**Source:** *Intelligence (Elsevier)*
267 +**Date:** *2019*
268 +**Authors:** *Heiner Rindermann, David Becker, Thomas R. Coyle*
269 +**DOI:** [10.1016/j.intell.2019.101406](https://doi.org/10.1016/j.intell.2019.101406)
270 +**Subject:** *Psychology, Intelligence Research*
255 255  
256 -{{code}}
257 -{{display reference="PageName"/}}
258 -{{/code}}
272 +{{expandable summary="πŸ“Š Key Statistics"}}
273 +- Survey of **102 intelligence experts**
274 +- **90% from Western countries**, **83% male**
275 +- **54% left-liberal**, **24% conservative**
276 +- **50/50 split** on genetic vs environmental causes of Black-White IQ gap
277 +{{/expandable}}
259 259  
279 +{{expandable summary="πŸ”¬ Findings"}}
280 +- Support for **g-factor theory**
281 +- Agreement on **heritability of intelligence**
282 +- Political lean: left = environmental, right = genetic causes
283 +{{/expandable}}
260 260  
261 -=== **Velocity Macro**: Executes Velocity scripts for dynamic content generation. ===
285 +{{expandable summary="πŸ“ Critique"}}
286 +- Largest expert survey on intelligence
287 +- **Western-only sample**, possible **self-selection bias**
288 +{{/expandable}}
262 262  
263 -{{code}}
264 -{{velocity}}
265 -#set($greeting = "Hello, $user.name!")
266 -$greeting
267 -{{/velocity}}
268 -{{/code}}
290 +{{expandable summary="πŸ“Œ Relevance"}}
291 +- Shows **ideological divide** in science
292 +- Highlights **media vs expert disconnect**
293 +{{/expandable}}
269 269  
270 -
295 +{{expandable summary="πŸ” Explore More"}}
296 +- Global surveys on intelligence beliefs
297 +- Media analysis follow-up studies
298 +{{/expandable}}
299 +
300 +{{expandable summary="πŸ“„ Download"}}
301 +[[Download Study>>attach:10.1016_j.intell.2019.101406.pdf]]
302 +{{/expandable}}
303 +{{/expandable}}
304 +{{/example}}
305 +
306 +
307 +== See Also: ==
308 +
309 +[[Syntax Help official documentation for a full list of formatting options>>doc:XWiki.XWikiSyntax]]