0 Votes

Changes for page Start here if you're new

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

From version 13.1
edited by Ryan C
on 2025/03/16 01:27
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
... ... @@ -96,10 +96,6 @@
96 96  * **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.
97 97  * **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.
98 98  
99 -=== **Switching Between Syntaxes** ===
100 -
101 -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
102 -
103 103  == **Essential Formatting Options** ==
104 104  
105 105  To ensure content is both engaging and accessible, utilize the following formatting techniques:
... ... @@ -117,7 +117,7 @@
117 117  
118 118  
119 119  
120 -*
116 +*
121 121  ** (((
122 122  === **Bold**: Surround text with double asterisks. ===
123 123  )))
... ... @@ -127,7 +127,7 @@
127 127  {{/code}}
128 128  
129 129  
130 -*
126 +*
131 131  ** (((
132 132  === **Italics**: Use double underscores. ===
133 133  )))
... ... @@ -137,7 +137,7 @@
137 137  {{/code}}
138 138  
139 139  
140 -*
136 +*
141 141  ** (((
142 142  === **Underline**: Enclose text with double tildes. ===
143 143  )))
... ... @@ -147,7 +147,7 @@
147 147  {{/code}}
148 148  
149 149  
150 -*
146 +*
151 151  ** (((
152 152  === **Unordered List**: Begin lines with asterisk (*) or hyphen (-). ===
153 153  )))
... ... @@ -158,7 +158,7 @@
158 158  {{/code}}
159 159  
160 160  
161 -*
157 +*
162 162  ** (((
163 163  === **Ordered List**: Start lines with a number followed by a period. ===
164 164  )))
... ... @@ -200,15 +200,15 @@
200 200  
201 201  Macros are powerful tools in XWiki that allow for dynamic content inclusion and advanced formatting. Here are ten notable macros to consider:
202 202  
203 -**Box Macro**: Encapsulates content within a styled box, useful for highlighting information.
199 +== Embed Macro ==
204 204  
205 -{{code}}
206 -{{box}}
207 -Your content here.
208 -{{/box}}
209 -{{/code}}
201 +The Embed macro shows external content like YouTube videos.
210 210  
203 +{{example}}
204 +{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}
205 +{{/example}}
211 211  
207 +
212 212  === **Info Macro**: Displays an informational message, often used for tips or notes. ===
213 213  
214 214  {{code}}
... ... @@ -218,15 +218,16 @@
218 218  {{/code}}
219 219  
220 220  
221 -=== **Warning Macro**: Highlights warnings or important notices. ===
217 +== Footnote Macro ==
222 222  
223 -{{code}}
224 -{{warning}}
225 -Caution: Proceed with care.
226 -{{/warning}}
227 -{{/code}}
219 +The Footnote macro adds footnotes to the page.
228 228  
221 +{{example}}
222 +This is a statement{{footnote}}Source: Example Reference{{/footnote}}.
223 +{{putFootnotes/}}
224 +{{/example}}
229 229  
226 +
230 230  === **Code Macro**: Renders code snippets with syntax highlighting. ===
231 231  
232 232  {{code}}
... ... @@ -253,30 +253,60 @@
253 253  {{toc/}}
254 254  {{/code}}
255 255  
253 +== Video Macro ==
256 256  
257 -=== **Include Macro**: Embeds content from another page. ===
255 +The Video macro embeds videos.
258 258  
259 -{{code}}
260 -{{include reference="PageName"/}}
261 -{{/code}}
257 +{{example}}
258 +{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}
259 +{{/example}}
262 262  
261 +== Expandable Macro ==
262 +The following example demonstrates how to present complex information cleanly using `{{expandable}}` and `{{example}}`.
263 263  
264 -=== **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*
265 265  
266 -{{code}}
267 -{{display reference="PageName"/}}
268 -{{/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}}
269 269  
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}}
270 270  
271 -=== **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}}
272 272  
273 -{{code}}
274 -{{velocity}}
275 -#set($greeting = "Hello, $user.name!")
276 -$greeting
277 -{{/velocity}}
278 -{{/code}}
290 +{{expandable summary="📌 Relevance"}}
291 +- Shows **ideological divide** in science
292 +- Highlights **media vs expert disconnect**
293 +{{/expandable}}
279 279  
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 +
280 280  == See Also: ==
281 281  
282 282  [[Syntax Help official documentation for a full list of formatting options>>doc:XWiki.XWikiSyntax]]