... |
... |
@@ -1,142 +3,76 @@ |
1 |
|
-= = |
2 |
|
- |
3 |
3 |
---- |
4 |
4 |
|
5 |
|
-== == |
|
3 |
+== π Table of Contents == |
6 |
6 |
|
7 |
|
-== π Table of Contents: == |
8 |
|
- |
9 |
9 |
{{toc/}} |
10 |
10 |
|
11 |
11 |
---- |
12 |
12 |
|
13 |
|
-== Getting Started with XWiki == |
14 |
14 |
|
15 |
|
-The example macro in XWiki is an underrated powerhouseβgreat for *teaching*, *showcasing macros*, *hiding complex markup*, and *letting users play with source-output pairs*. Here are some **highly effective and interesting uses**: |
|
10 |
+== **Getting Started with XWiki** == |
16 |
16 |
|
17 |
|
------ |
|
12 |
+If you would like to add content to the wiki, you can do so as a guest, but some of your options will be limited. its recommended to create an account and post that way. If you want to contribute but dont know where to start or you're overwhelmed by the options, the global dashboard will always be updated with whats being worked on currently. to see all the categories and pages we currently have, go here. IMAGE |
|
13 |
+Adding content should be relegated to these main categories, or new ones that you want to create. You shouldn't need to edit any pages outside of it for the most part, they may be linked elsewhere as resources for you, but they wont be editable. If you just have some pictures you would like to add to a topic, attach them at the bottom of the page and they will be automatically included in the gallery on the page if it has one. Changes or content added can always be revised to an earlier version easily, so don't be concerned with unwanted additions or edits. You can use the sandbox to experiment with formatting. |
18 |
18 |
|
19 |
|
-## π§ͺ 1. **Macro Showcase: Source-to-Output Toggle**## |
|
15 |
+On top of the category content, there are also applications that allow you to take part in the wiki via many other avenues. There is a forum, AI is in the works, Ideas, Suggestions for improvements, A Visualizer, Music Library, Research Papers collection, and many other things, as well as new extensions being added often. The message of the day will alert you to some of the things ive been working on or have finished recently. If you would like to have your Pro White group listed here let me know and I'll add it so others can join with you and network. This has thus far been mostly a solo undertaking, so I apologize if things break for extended times, I assure you I'm working on them when I can, but I have other things to attend to as well. There is typically daily changes and updates being made. |
20 |
20 |
|
21 |
|
-Show how a macro works without cluttering the page with raw syntax. |
|
17 |
+== π **Useful Tips & Best Practices** == |
22 |
22 |
|
|
19 |
+* **Macros** greatly simplify content formattingβuse / often. |
|
20 |
+When to insert an image rather than upload the [[image:]] Upload the image at the bottom of the page via the built in extension if you just want to post the image without context. This is always acceptable on any page given that it is relevant. Embed an image when you are adding context to it or using it to reinforce some context already present. Same with videos. |
|
21 |
+* **Use minimal formatting** to ensure readability. |
23 |
23 |
|
24 |
|
-== Gallery Macro == |
|
23 |
+---- |
25 |
25 |
|
26 |
|
-{{example}} |
27 |
|
-{{gallery}} |
28 |
|
-[[image:photo1.jpg]] |
29 |
|
-[[image:photo2.jpg]] |
30 |
|
-{{/gallery}} |
31 |
|
-{{/example}} |
|
25 |
+= β‘**Guests can contribute** = |
32 |
32 |
|
|
27 |
+1. Guests can edit pages in the main content area without signing up. If this becomes problematic I'll change it but for now I'd like everyone to have access with as little trouble as possible. |
|
28 |
+1. Use Your Sandbox on the left, mess around with macros and other editing options. There's a lot of options to customize content. |
|
29 |
+1. Leave comments, give suggestions, request features. |
33 |
33 |
|
34 |
|
-== Boilerplate Box == |
|
31 |
+== **Content Guidelines** == |
35 |
35 |
|
36 |
|
-{{example}} |
37 |
|
-{{box cssClass="highlight"}} |
38 |
|
-Insert your highlighted content here. |
39 |
|
-{{/box}} |
40 |
|
-{{/example}} |
|
33 |
+* Ensure your content is well-researched, you don't need to include references in the format of footnotes for your material, but you should try to include studies or links to give credibility to your claims. For instance, just claiming that [[IQ is genetic>>doc:Main Categories.Science & Research.Race & IQ.WebHome]] is genetic wouldn't be valid unless you provide a study backing up that assertion, or more likely link to a page within this site that explains why IQ is not something that is purely determined by environmental factors. If such a page doesn't exist, create it, and start providing studies that show this. |
|
34 |
+* Use clear, concise language and avoid using slurs, slang, or troll like language. This isn't supposed to be encyclopedia dramatica, I'd like things to remain relatively mature and well thought out. |
41 |
41 |
|
42 |
|
-== Velocity Greeting == |
|
36 |
+== **XWiki Editing Modes** == |
43 |
43 |
|
44 |
|
-{{example}} |
45 |
|
-{{velocity}} |
46 |
|
-#set($name = "Visitor") |
47 |
|
-Hello, $name! |
48 |
|
-{{/velocity}} |
49 |
|
-{{/example}} |
|
38 |
+XWiki offers multiple editing modes to accommodate various user preferences and technical requirements:ξ |
50 |
50 |
|
|
40 |
+* **WYSIWYG (What You See Is What You Get) Editor**: Ideal for users unfamiliar with wiki syntax, this editor provides a user-friendly interface resembling traditional word processors. It allows for straightforward text formatting, image insertion, and link creation without delving into markup language. |
|
41 |
+* **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. |
51 |
51 |
|
52 |
|
-== Info vs Warning == |
|
43 |
+== **Essential Formatting Options** == |
53 |
53 |
|
54 |
|
-{{example}} |
55 |
|
-{{info}} |
56 |
|
-This is an info box. |
57 |
|
-{{/info}} |
|
45 |
+To ensure content is both engaging and accessible, utilize the following formatting techniques: |
58 |
58 |
|
59 |
|
-{{warning}} |
60 |
|
-This is a warning box. |
61 |
|
-{{/warning}} |
62 |
|
-{{/example}} |
|
47 |
+* **Headings**: Organize content hierarchically using headings. In XWiki syntax, headings are defined by one to six plus signs (+), corresponding to heading levels 1 to 6.4 |
63 |
63 |
|
64 |
|
-== Footnote Demo == |
|
49 |
+{{code}} |
|
50 |
+ + Heading Level 1 |
|
51 |
+ ++ Heading Level 2 |
|
52 |
+ +++ Heading Level 3 |
|
53 |
+{{/code}} |
65 |
65 |
|
66 |
|
-footnote{{footnote}} a footnote source{{/footnote}} |
67 |
67 |
|
68 |
|
-== Groovy Lookup == |
|
56 |
+== **Links** == |
69 |
69 |
|
70 |
|
-{{example}} |
71 |
|
-{{groovy}} |
72 |
|
-def now = new Date() |
73 |
|
-println("Current time: " + now) |
74 |
|
-{{/groovy}} |
75 |
|
-{{/example}} |
76 |
76 |
|
77 |
77 |
|
78 |
|
-== Expandable Summary == |
|
60 |
+==== **Internal Link**: Use square brackets with the page name. ==== |
79 |
79 |
|
80 |
80 |
{{example}} |
81 |
|
-{{expandable summary="π§ Study Summary"}} |
82 |
|
-Key findings go here. |
83 |
|
-{{/expandable}} |
|
63 |
+[[Resources>>doc:Guides and Help.Resources.WebHome]] |
84 |
84 |
{{/example}} |
85 |
85 |
|
86 |
|
-== List Formatting == |
87 |
87 |
|
88 |
|
-{{example}} |
89 |
|
-*Bad formatting* |
|
67 |
+==== **External Link**: Provide the URL directly. ==== |
90 |
90 |
|
91 |
|
-* use - inconsistently |
92 |
|
-** Good formatting: |
93 |
|
-* Consistent bullet style |
94 |
|
-* Indented items properly |
95 |
|
-{{/example}} |
96 |
|
- |
97 |
|
-== Python Code == |
98 |
|
- |
99 |
99 |
{{example}} |
100 |
|
-{{code language="python"}} |
101 |
|
-def greet(): |
102 |
|
- print("Hello World") |
103 |
|
-{{/code}} |
|
70 |
+[[Full Feature List>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/]] |
104 |
104 |
{{/example}} |
105 |
105 |
|
106 |
|
-== Audio Embedding == |
107 |
107 |
|
108 |
|
-{{example}} |
109 |
|
-{{html}} |
110 |
|
-<audio controls> |
111 |
|
- <source src="/bin/download/Sandbox/TestPage2/Anti-Black%20racial%20slur%20was%20found%20written%20on%20high%20school%20desk%20in%20Rockville.mp3" type="audio/mpeg"> |
112 |
|
- Your browser does not support the audio element. |
113 |
|
-</audio> |
114 |
|
-{{/html}} |
115 |
|
-{{/example}} |
116 |
|
- |
117 |
|
-This page covers all the essential steps and tips you need to create great content in XWiki without any confusion. |
118 |
|
- |
119 |
|
-== == |
120 |
|
- |
121 |
|
-== π **Attachments and Images** == |
122 |
|
- |
123 |
|
-You can easily upload files and images directly from the WYSIWYG editor: |
124 |
|
- |
125 |
|
-**Uploading Attachments:** |
126 |
|
- |
127 |
|
-* Click **Edit** to enter the WYSIWYG editor. |
128 |
|
-* Click on the **Attachment** icon (π paperclip icon). |
129 |
|
-* Drag-and-drop or select your file to upload it instantly. |
130 |
|
-* Uploaded files will automatically be listed as attachments at the bottom of your page. |
131 |
|
- |
132 |
|
-=== **Inserting Images with Enlargable Thumbnails** === |
133 |
|
- |
134 |
|
-1. In the editor, click the **"Insert Image"** icon from the toolbar. |
135 |
|
-1. Upload or select the image. |
136 |
|
-1. Choose the **Thumbnail option** to create a clickable enlargable preview automatically. |
137 |
|
- |
138 |
|
----- |
139 |
|
- |
140 |
140 |
== β‘ **Using the / Macro Shortcut** == |
141 |
141 |
|
142 |
142 |
The / macro shortcut is a powerful and quick way to insert macros while editing pages in XWiki's WYSIWYG editor: |
... |
... |
@@ -150,293 +150,423 @@ |
150 |
150 |
** /footnote β Add footnotes to your text |
151 |
151 |
** /code β Code blocks for programming snippets |
152 |
152 |
|
153 |
|
-This shortcut dramatically speeds up editing, no need to memorize complicated wiki syntax. |
|
87 |
+This shortcut dramatically speeds up editing, no need to memorize complicated wiki syntax |
154 |
154 |
|
|
89 |
+ |
|
90 |
+[[Full Macro List>>https://www.thewhitearchive.org/bin/view/XWiki/XWikiSyntaxMacrosList]] |
|
91 |
+ |
155 |
155 |
---- |
156 |
156 |
|
157 |
|
-== βοΈ**Β Basic Formatting and Links (Quick Guide)** == |
|
94 |
+== β‘ Using the `/` Macro Shortcut == |
158 |
158 |
|
159 |
|
-* **Bold text**: Select text, click the **Bold** button or press Ctrl + B. |
160 |
|
-* **Italic text**: Select text, click "Italic" in the toolbar or use Ctrl+I. |
161 |
|
-* **Creating Links**: |
162 |
|
-** Highlight text and click **"Link"** or use shortcut Ctrl+K. |
163 |
|
-** Paste or select the page URL to link internally. |
|
96 |
+{{expandable summary="Usage of Slash Macro Shortcut"}} |
|
97 |
+* Type `/` and begin typing a macro name. |
|
98 |
+* Suggestions will auto-complete. |
|
99 |
+* Examples: |
|
100 |
+ * `/toc` |
|
101 |
+ * `/box` |
|
102 |
+ * `/gallery` |
|
103 |
+ * `/footnote` |
|
104 |
+ * `/code` |
|
105 |
+{{/expandable}} |
164 |
164 |
|
165 |
165 |
---- |
166 |
166 |
|
167 |
|
-== π **Useful Tips & Best Practices** == |
|
109 |
+== π§ͺ 1. Macro Showcase: Source-to-Output Toggle == |
168 |
168 |
|
169 |
|
-* **Save drafts frequently:** Press Ctrl+S regularly. |
170 |
|
-* **Macros** greatly simplify content formattingβuse / often. |
171 |
|
-* **Edit attachments:** Hover attachments directly below your page in view mode to manage or delete them. |
172 |
|
-* **Use minimal formatting** to ensure readability. |
|
111 |
+=== TOC Macro === |
|
112 |
+{{expandable summary="TOC Macro Example"}} |
|
113 |
+{{code}} |
|
114 |
+{{toc/}} |
|
115 |
+{{/code}} |
|
116 |
+{{/expandable}} |
173 |
173 |
|
174 |
174 |
---- |
175 |
175 |
|
176 |
|
-= β‘**Guests can contribute** = |
|
120 |
+=== Gallery Macro (`/gallery`) === |
|
121 |
+{{expandable summary="Gallery Macro Example"}} |
|
122 |
+{{example}} |
|
123 |
+{{gallery}} |
|
124 |
+[[1747262485678-297.png]] |
|
125 |
+[[image:photo2.jpg]] |
|
126 |
+{{/gallery}} |
|
127 |
+{{/example}} |
|
128 |
+{{/expandable}} |
177 |
177 |
|
178 |
|
-1. Guests can edit pages in the main content area without signing up. If this becomes problematic I'll change it but for now I'd like everyone to have access with as little trouble as possible. |
179 |
|
-1. Use Your Sandbox on the left, mess around with macros and other editing options. There's a lot of options to customize content. |
180 |
|
-1. Leave comments, give suggestions, request features. |
|
130 |
+---- |
181 |
181 |
|
182 |
|
-== **Content Guidelines** == |
|
132 |
+=== Carousel Macro (`/carousel`) === |
|
133 |
+{{expandable summary="Carousel Macro Example"}} |
|
134 |
+{{example}} |
|
135 |
+{{carousel/}} |
|
136 |
+{{/example}} |
|
137 |
+{{/expandable}} |
183 |
183 |
|
184 |
|
-* Ensure your content is well-researched, you don't need to include references in the format of footnotes for your material, but you should try to include studies or links to give credibility to your claims. For instance, just claiming that [[IQ is genetic>>doc:Main Categories.Science & Research.Race & IQ.WebHome]] is genetic wouldn't be valid unless you provide a study backing up that assertion, or more likely link to a page within this site that explains why IQ is not something that is purely determined by environmental factors. If such a page doesn't exist, create it, and start providing studies that show this. |
185 |
|
-* Use clear, concise language and avoid using slurs, slang, or troll like language. This isn't supposed to be encyclopedia dramatica, I'd like things to remain relatively mature and well thought out. |
|
139 |
+---- |
186 |
186 |
|
187 |
|
-== **Directories and Page URLs** == |
|
141 |
+=== Boilerplate Box === |
|
142 |
+{{expandable summary="Box Macro Example"}} |
|
143 |
+{{example}} |
|
144 |
+{{box cssClass="highlight"}} |
|
145 |
+Insert your highlighted content here. |
|
146 |
+{{/box}} |
|
147 |
+{{/example}} |
|
148 |
+{{/expandable}} |
188 |
188 |
|
189 |
|
-* The categories I have made up should cover most content, but if you feel your content doesn't fit under them, feel free to make a new category. Moving pages and reorganizing content in this wiki is very easy. |
|
150 |
+---- |
190 |
190 |
|
|
152 |
+=== Info vs Warning Macros === |
|
153 |
+{{expandable summary="Info and Warning Boxes"}} |
|
154 |
+{{example}} |
|
155 |
+{{info}}This is an info box.{{/info}} |
191 |
191 |
|
|
157 |
+{{warning}}This is a warning box.{{/warning}} |
|
158 |
+{{/example}} |
|
159 |
+{{/expandable}} |
192 |
192 |
|
193 |
|
-== **XWiki Editing Modes** == |
|
161 |
+---- |
194 |
194 |
|
195 |
|
-XWiki offers multiple editing modes to accommodate various user preferences and technical requirements:ξ |
|
163 |
+=== Footnote Demo === |
|
164 |
+{{expandable summary="Footnote Macro Demo"}} |
|
165 |
+{{example}} |
|
166 |
+footnote{{footnote}} https://www.thewhitearchive.org/bin/view/Guides%20and%20Help/Start%20here%20if%20you're%20new/#edit{{/footnote}} |
196 |
196 |
|
197 |
|
-* **WYSIWYG (What You See Is What You Get) Editor**: Ideal for users unfamiliar with wiki syntax, this editor provides a user-friendly interface resembling traditional word processors. It allows for straightforward text formatting, image insertion, and link creation without delving into markup language. ξciteξturn0search0ξξ |
198 |
|
-* **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.ξ |
199 |
|
-* **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.ξ |
|
168 |
+{{putFootnotes/}} |
|
169 |
+{{/example}} |
|
170 |
+{{/expandable}} |
200 |
200 |
|
201 |
|
-== **Essential Formatting Options** == |
|
172 |
+---- |
202 |
202 |
|
203 |
|
-To ensure content is both engaging and accessible, utilize the following formatting techniques:ξ |
|
174 |
+=== Expandable Macro (Simple) === |
|
175 |
+{{expandable summary="Simple Expandable Macro"}} |
|
176 |
+{{example}} |
|
177 |
+{{expandable summary="π§ Study Summary"}} |
|
178 |
+Key findings go here. |
|
179 |
+{{/expandable}} |
|
180 |
+{{/example}} |
|
181 |
+{{/expandable}} |
204 |
204 |
|
205 |
|
-* **Headings**: Organize content hierarchically using headings. In XWiki syntax, headings are defined by one to six plus signs (+), corresponding to heading levels 1 to 6.ξ |
|
183 |
+---- |
206 |
206 |
|
207 |
|
-{{code}} |
208 |
|
- + Heading Level 1 |
209 |
|
- ++ Heading Level 2 |
210 |
|
- +++ Heading Level 3 |
211 |
|
-{{/code}} |
|
185 |
+== π Attachments and Images == |
212 |
212 |
|
|
187 |
+{{expandable summary="Uploading Attachments"}} |
|
188 |
+* Click **Edit**. |
|
189 |
+* Click the **π paperclip icon**. |
|
190 |
+* Drag and drop or select files. |
|
191 |
+* Files appear at the bottom of the page. |
|
192 |
+{{/expandable}} |
213 |
213 |
|
214 |
|
-=== **Text Formatting** === |
|
194 |
+{{expandable summary="Image Thumbnail Insertion"}} |
|
195 |
+[[image:1747262485678-297.png||data-xwiki-image-style="thumbnail-clickable" width="200"]] |
|
196 |
+{{/expandable}} |
215 |
215 |
|
|
198 |
+{{expandable summary="Image Syntax Example"}} |
|
199 |
+{{example}} |
|
200 |
+[[image:1747262485678-297.png]] |
|
201 |
+{{/example}} |
|
202 |
+{{/expandable}} |
216 |
216 |
|
|
204 |
+---- |
217 |
217 |
|
218 |
|
-* |
219 |
|
-** ((( |
220 |
|
-=== **Bold**: Surround text with double asterisks. === |
221 |
|
-))) |
|
206 |
+== Audio Embedding == |
222 |
222 |
|
223 |
|
-{{code}} |
224 |
|
-**bold text** |
225 |
|
-{{/code}} |
|
208 |
+{{expandable summary="HTML Audio Embed Example"}} |
|
209 |
+{{example}} |
|
210 |
+{{html}} |
|
211 |
+<audio controls> |
|
212 |
+ <source src="/bin/download/Sandbox/TestPage2/Anti-Black%20racial%20slur%20was%20found%20written%20on%20high%20school%20desk%20in%20Rockville.mp3" type="audio/mpeg"> |
|
213 |
+ Your browser does not support the audio element. |
|
214 |
+</audio> |
|
215 |
+{{/html}} |
|
216 |
+{{/example}} |
|
217 |
+{{/expandable}} |
226 |
226 |
|
|
219 |
+---- |
227 |
227 |
|
228 |
|
-* |
229 |
|
-** ((( |
230 |
|
-=== **Italics**: Use double underscores. === |
231 |
|
-))) |
|
221 |
+== Utilizing XWiki Macros == |
232 |
232 |
|
233 |
|
-{{code}} |
234 |
|
-__italic text__ |
235 |
|
-{{/code}} |
|
223 |
+Macros allow for rich, dynamic formatting in XWiki. |
236 |
236 |
|
|
225 |
+{{expandable summary="Embed Macro"}} |
|
226 |
+{{example}} |
|
227 |
+{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
|
228 |
+{{/example}} |
|
229 |
+{{/expandable}} |
237 |
237 |
|
238 |
|
-* |
239 |
|
-** ((( |
240 |
|
-=== **Underline**: Enclose text with double tildes. === |
241 |
|
-))) |
242 |
|
- |
|
231 |
+{{expandable summary="Info Macro"}} |
243 |
243 |
{{code}} |
244 |
|
-~~underlined text~~ |
|
233 |
+{{info}}This is an informational note.{{/info}} |
245 |
245 |
{{/code}} |
|
235 |
+{{/expandable}} |
246 |
246 |
|
247 |
|
- |
248 |
|
-* |
249 |
|
-** ((( |
250 |
|
-=== **Unordered List**: Begin lines with asterisk (*) or hyphen (-). === |
251 |
|
-))) |
252 |
|
- |
|
237 |
+{{expandable summary="Code Macro"}} |
253 |
253 |
{{code}} |
254 |
|
-* Item 1 |
255 |
|
-* Item 2 |
|
239 |
+{{code language="python"}} |
|
240 |
+def hello_world(): |
|
241 |
+ print("Hello, world!") |
256 |
256 |
{{/code}} |
|
243 |
+{{/code}} |
|
244 |
+{{/expandable}} |
257 |
257 |
|
|
246 |
+{{expandable summary="Video Macro"}} |
|
247 |
+{{example}} |
|
248 |
+{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
|
249 |
+{{/example}} |
|
250 |
+{{/expandable}} |
258 |
258 |
|
259 |
|
-* |
260 |
|
-** ((( |
261 |
|
-=== **Ordered List**: Start lines with a number followed by a period. === |
262 |
|
-))) |
|
252 |
+{{expandable summary="Example Macro Purpose"}} |
|
253 |
+The example macro displays the output of a macro or script or anything that you like. |
|
254 |
+{{/expandable}} |
263 |
263 |
|
264 |
|
-{{code}} |
265 |
|
-1. First item |
266 |
|
-2. Second item |
267 |
|
-{{/code}} |
|
256 |
+---- |
268 |
268 |
|
|
258 |
+== Expandable Macro: Study Summary Example == |
269 |
269 |
|
270 |
|
-== **Links** == |
|
260 |
+{{expandable summary="Expandable Research Summary Example"}} |
|
261 |
+{{example}} |
|
262 |
+{{expandable summary="Study: The Wilson Effect: The Increase in Heritability of IQ With Age"}} |
|
263 |
+**Source:** *Twin Research and Human Genetics (Cambridge University Press)* |
|
264 |
+**Date:** *2013* |
|
265 |
+**Authors:** *Thomas J. Bouchard Jr.* |
|
266 |
+**DOI:** [10.1017/thg.2013.54](https://doi.org/10.1017/thg.2013.54) |
271 |
271 |
|
|
268 |
+{{expandable summary="π Key Statistics"}} |
|
269 |
+- Heritability of IQ increases with age, reaching **0.80** in adulthood. |
|
270 |
+- Shared environment declines to **0.10**. |
|
271 |
+- Based on longitudinal twin/adoption studies. |
|
272 |
+{{/expandable}} |
272 |
272 |
|
|
274 |
+{{expandable summary="π¬ Findings"}} |
|
275 |
+- g-factor becomes more pronounced with age. |
|
276 |
+- Genetics dominates by late adolescence. |
|
277 |
+- Monozygotic twins show increasing concordance. |
|
278 |
+{{/expandable}} |
273 |
273 |
|
274 |
|
-==== **Internal Link**: Use square brackets with the page name. ==== |
|
280 |
+{{expandable summary="π Critique & Observations"}} |
|
281 |
+- Strengths: robust, replicable trends; broad dataset. |
|
282 |
+- Limitations: mostly Western populations; lacks neurobiological mechanisms. |
|
283 |
+{{/expandable}} |
275 |
275 |
|
276 |
|
-{{code}} |
277 |
|
-[[PageName]] |
278 |
|
-{{/code}} |
|
285 |
+{{expandable summary="π Relevance to Subproject"}} |
|
286 |
+- Supports genetic influence on IQ. |
|
287 |
+- Suggests environmental effects fade with age. |
|
288 |
+{{/expandable}} |
279 |
279 |
|
|
290 |
+{{expandable summary="π Suggestions for Further Exploration"}} |
|
291 |
+1. Investigate gene-environment interaction in aging. |
|
292 |
+2. Explore non-Western trends. |
|
293 |
+{{/expandable}} |
280 |
280 |
|
|
295 |
+{{expandable summary="π Download"}} |
|
296 |
+[[Download Full Study>>attach:10.1017_thg.2013.54.pdf]] |
|
297 |
+{{/expandable}} |
|
298 |
+{{/expandable}} |
|
299 |
+{{/example}} |
|
300 |
+{{/expandable}} |
281 |
281 |
|
282 |
|
-==== **External Link**: Provide the URL directly. ==== |
|
302 |
+= π Macro Examples & Formatting Guide = |
283 |
283 |
|
284 |
|
-{{code}} |
285 |
|
-[https://www.example.com] |
286 |
|
-{{/code}} |
|
304 |
+---- |
287 |
287 |
|
288 |
|
-((( |
289 |
|
-=== **Images** === |
290 |
|
-))) |
|
306 |
+== π Table of Contents == |
291 |
291 |
|
292 |
|
-{{code}} |
293 |
|
- [[image:example.jpg]] |
294 |
|
-{{/code}} |
|
308 |
+{{toc/}} |
295 |
295 |
|
|
310 |
+---- |
296 |
296 |
|
297 |
|
-== **Utilizing XWiki Macros** == |
|
312 |
+== π§ͺ Macro Showcase: Source + Output + Slash Command == |
298 |
298 |
|
299 |
|
-Macros are powerful tools in XWiki that allow for dynamic content inclusion and advanced formatting. Here are ten notable macros to consider:ξ |
|
314 |
+All macros are shown with the WYSIWYG `/command`, an expandable explanation, and an editable source/output block using `{{example}}`. |
300 |
300 |
|
301 |
|
-== Embed Macro == |
|
316 |
+---- |
302 |
302 |
|
303 |
|
-The Embed macro shows external content like YouTube videos. |
|
318 |
+== Table of Contents Macro (`/toc`) == |
304 |
304 |
|
|
320 |
+{{expandable summary="π Table of Contents Macro (`/toc`)"}} |
305 |
305 |
{{example}} |
306 |
|
-{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
|
322 |
+{{toc/}} |
307 |
307 |
{{/example}} |
|
324 |
+{{/expandable}} |
308 |
308 |
|
|
326 |
+---- |
309 |
309 |
|
310 |
|
-=== **Info Macro**: Displays an informational message, often used for tips or notes. === |
|
328 |
+== Gallery Macro (`/gallery`) == |
311 |
311 |
|
312 |
|
-{{code}} |
313 |
|
-{{info}} |
314 |
|
-This is an informational note. |
315 |
|
-{{/info}} |
316 |
|
-{{/code}} |
|
330 |
+{{expandable summary="πΌοΈ Gallery Macro (`/gallery`)"}} |
|
331 |
+{{example}} |
|
332 |
+{{gallery}} |
|
333 |
+[[1747262485678-297.png]] |
|
334 |
+[[image:photo2.jpg]] |
|
335 |
+{{/gallery}} |
|
336 |
+{{/example}} |
|
337 |
+{{/expandable}} |
317 |
317 |
|
|
339 |
+---- |
318 |
318 |
|
319 |
|
-== Footnote Macro == |
|
341 |
+== Carousel Macro (`/carousel`) == |
320 |
320 |
|
321 |
|
-The Footnote macro adds footnotes to the page. |
|
343 |
+{{expandable summary="π½οΈ Carousel Macro (`/carousel`)"}} |
|
344 |
+{{example}} |
|
345 |
+{{carousel/}} |
|
346 |
+{{/example}} |
|
347 |
+{{/expandable}} |
322 |
322 |
|
|
349 |
+---- |
|
350 |
+ |
|
351 |
+== Box Macro (`/box`) == |
|
352 |
+ |
|
353 |
+{{expandable summary="π¦ Box Macro (`/box`)"}} |
323 |
323 |
{{example}} |
324 |
|
-This is a statement{{footnote}}Source: Example Reference{{/footnote}}. |
325 |
|
-{{putFootnotes/}} |
|
355 |
+{{box cssClass="highlight"}} |
|
356 |
+Insert your highlighted content here. |
|
357 |
+{{/box}} |
326 |
326 |
{{/example}} |
|
359 |
+{{/expandable}} |
327 |
327 |
|
|
361 |
+---- |
328 |
328 |
|
329 |
|
-=== **Code Macro**: Renders code snippets with syntax highlighting. === |
|
363 |
+== Info and Warning Boxes (`/info`, `/warning`) == |
330 |
330 |
|
331 |
|
-{{code}} |
332 |
|
-{{code language="python"}} |
333 |
|
-def hello_world(): |
334 |
|
- print("Hello, world!") |
335 |
|
-{{/code}} |
336 |
|
-{{/code}} |
|
365 |
+{{expandable summary="β οΈ Info and Warning Macros (`/info`, `/warning`)"}} |
|
366 |
+{{example}} |
|
367 |
+{{info}}This is an info box.{{/info}} |
337 |
337 |
|
|
369 |
+{{warning}}This is a warning box.{{/warning}} |
|
370 |
+{{/example}} |
|
371 |
+{{/expandable}} |
338 |
338 |
|
339 |
|
-=== **Gallery Macro**: Creates an image gallery from attached images. === |
|
373 |
+---- |
340 |
340 |
|
341 |
|
-{{code}} |
342 |
|
-{{gallery}} |
343 |
|
-[[image1.jpg]] |
344 |
|
-[[image2.jpg]] |
345 |
|
-{{/gallery}} |
346 |
|
-{{/code}} |
|
375 |
+== Footnotes (`/footnote`, `/put footnotes`) == |
347 |
347 |
|
|
377 |
+{{expandable summary="π§Ύ Footnote + PutFootnotes (`/footnote`, `/put footnotes`)"}} |
|
378 |
+{{example}} |
|
379 |
+This is a footnoted statement{{footnote}}https://www.example.com{{/footnote}}. |
348 |
348 |
|
349 |
|
-=== **TOC (Table of Contents) Macro**: Generates a table of contents based on page headings. === |
|
381 |
+{{putFootnotes/}} |
|
382 |
+{{/example}} |
|
383 |
+{{/expandable}} |
350 |
350 |
|
351 |
|
-{{code}} |
352 |
|
-{{toc/}} |
353 |
|
-{{/code}} |
|
385 |
+---- |
354 |
354 |
|
355 |
|
-== Video Macro == |
|
387 |
+== Expandable Macro (`/expandable`) == |
356 |
356 |
|
357 |
|
-The Video macro embeds videos. |
|
389 |
+{{expandable summary="π§© Expandable Macro (`/expandable`)"}} |
|
390 |
+{{example}} |
|
391 |
+{{expandable summary="Click to expand"}} |
|
392 |
+This content is hidden until clicked. |
|
393 |
+{{/expandable}} |
|
394 |
+{{/example}} |
|
395 |
+{{/expandable}} |
358 |
358 |
|
|
397 |
+---- |
|
398 |
+ |
|
399 |
+== Embed Macro (`/embed content`) == |
|
400 |
+ |
|
401 |
+{{expandable summary="π Embed Macro (YouTube etc.) (`/embed content`)"}} |
359 |
359 |
{{example}} |
360 |
|
-{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
|
403 |
+{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
361 |
361 |
{{/example}} |
|
405 |
+{{/expandable}} |
362 |
362 |
|
|
407 |
+---- |
363 |
363 |
|
364 |
|
-== Example Macro == |
|
409 |
+== Code Macro (`/code`) == |
365 |
365 |
|
366 |
|
-The example macro displays the output of a macro or script or anything that you like |
|
411 |
+{{expandable summary="π» Code Block Macro (`/code`)"}} |
|
412 |
+{{example}} |
|
413 |
+{{code language="python"}} |
|
414 |
+def hello_world(): |
|
415 |
+ print("Hello, world!") |
|
416 |
+{{/code}} |
|
417 |
+{{/example}} |
|
418 |
+{{/expandable}} |
367 |
367 |
|
368 |
|
-== Expandable Macro == |
|
420 |
+---- |
369 |
369 |
|
370 |
|
-The following example demonstrates how to present complex information cleanly using ` |
|
422 |
+== Image Insert (`[[image:...]]`) == |
371 |
371 |
|
|
424 |
+{{expandable summary="πΌοΈ Image Macro (`[[image:filename.jpg]]`)"}} |
372 |
372 |
{{example}} |
373 |
|
-{{expandable summary="Study: The Wilson Effect: The Increase in Heritability of IQ With Age"}} |
374 |
|
-**Source:** *Twin Research and Human Genetics (Cambridge University Press)* |
375 |
|
-**Date of Publication:** *2013* |
376 |
|
-**Author(s):** *Thomas J. Bouchard Jr.* |
377 |
|
-**Title:** *"The Wilson Effect: The Increase in Heritability of IQ With Age"* |
378 |
|
-**DOI:** [10.1017/thg.2013.54](https://doi.org/10.1017/thg.2013.54) |
379 |
|
-**Subject Matter:** *Intelligence, Heritability, Developmental Psychology* |
|
426 |
+[[image:1747262485678-297.png]] |
|
427 |
+{{/example}} |
|
428 |
+{{/expandable}} |
380 |
380 |
|
381 |
|
-{{expandable summary="π Key Statistics"}} |
382 |
|
-1. **General Observations:** |
383 |
|
- - The study documents how the **heritability of IQ increases with age**, reaching an asymptote at **0.80 by adulthood**. |
384 |
|
- - Analysis is based on **longitudinal twin and adoption studies**. |
|
430 |
+---- |
385 |
385 |
|
386 |
|
-2. **Subgroup Analysis:** |
387 |
|
- - Shared environmental influence on IQ **declines with age**, reaching **0.10 in adulthood**. |
388 |
|
- - Monozygotic twins show **increasing genetic similarity in IQ over time**, while dizygotic twins become **less concordant**. |
|
432 |
+== Audio Embed (HTML tag or `/embed JWPlayer`) == |
389 |
389 |
|
390 |
|
-3. **Other Significant Data Points:** |
391 |
|
- - Data from the **Louisville Longitudinal Twin Study and cross-national twin samples** support findings. |
392 |
|
- - IQ stability over time is **influenced more by genetics than by shared environmental factors**. |
|
434 |
+{{expandable summary="π Audio Embed (`<audio>` tag or `/embed JWPlayer`)"}} |
|
435 |
+{{example}} |
|
436 |
+{{html}} |
|
437 |
+<audio controls> |
|
438 |
+ <source src="/bin/download/Sandbox/TestPage2/Anti-Black%20racial%20slur%20was%20found%20written%20on%20high%20school%20desk%20in%20Rockville.mp3" type="audio/mpeg"> |
|
439 |
+ Your browser does not support the audio element. |
|
440 |
+</audio> |
|
441 |
+{{/html}} |
|
442 |
+{{/example}} |
393 |
393 |
{{/expandable}} |
394 |
394 |
|
395 |
|
-{{expandable summary="π¬ Findings"}} |
396 |
|
-1. **Primary Observations:** |
397 |
|
- - Intelligence heritability **strengthens throughout development**, contrary to early environmental models. |
398 |
|
- - Shared environmental effects **decrease by late adolescence**, emphasizing **genetic influence in adulthood**. |
|
445 |
+---- |
399 |
399 |
|
400 |
|
-2. **Subgroup Trends:** |
401 |
|
- - Studies from **Scotland, Netherlands, and the US** show **consistent patterns of increasing heritability with age**. |
402 |
|
- - Findings hold across **varied socio-economic and educational backgrounds**. |
|
447 |
+== Video Embed Macro (`/video`) == |
403 |
403 |
|
404 |
|
-3. **Specific Case Analysis:** |
405 |
|
- - Longitudinal adoption studies show **declining impact of adoptive parental influence on IQ** as children age. |
406 |
|
- - Cross-sectional twin data confirm **higher IQ correlations for monozygotic twins in adulthood**. |
|
449 |
+{{expandable summary="π¬ Video Macro (`/video`)"}} |
|
450 |
+{{example}} |
|
451 |
+{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} |
|
452 |
+{{/example}} |
407 |
407 |
{{/expandable}} |
408 |
408 |
|
409 |
|
-{{expandable summary="π Critique & Observations"}} |
410 |
|
-1. **Strengths of the Study:** |
411 |
|
- - **Robust dataset covering multiple twin and adoption studies over decades**. |
412 |
|
- - **Clear, replicable trend** demonstrating the increasing role of genetics in intelligence. |
|
455 |
+---- |
413 |
413 |
|
414 |
|
-2. **Limitations of the Study:** |
415 |
|
- - Findings apply primarily to **Western industrialized nations**, limiting generalizability. |
416 |
|
- - **Lack of neurobiological mechanisms** explaining how genes express their influence over time. |
|
457 |
+== Full Example: Expandable Study Summary (`/expandable`) == |
417 |
417 |
|
418 |
|
-3. **Suggestions for Improvement:** |
419 |
|
- - Future research should investigate **gene-environment interactions in cognitive aging**. |
420 |
|
- - Examine **heritability trends in non-Western populations** to determine cross-cultural consistency. |
|
459 |
+{{expandable summary="π Full Use Case β Study Summary Macro (`/expandable`)"}} |
|
460 |
+{{example}} |
|
461 |
+{{expandable summary="Study: The Wilson Effect"}} |
|
462 |
+**Source:** *Twin Research and Human Genetics (2013)* |
|
463 |
+**Author:** *Thomas J. Bouchard Jr.* |
|
464 |
+**DOI:** [10.1017/thg.2013.54](https://doi.org/10.1017/thg.2013.54) |
|
465 |
+ |
|
466 |
+{{expandable summary="π Key Statistics"}} |
|
467 |
+- IQ heritability rises to **0.80** by adulthood |
|
468 |
+- Shared environment drops to **0.10** |
421 |
421 |
{{/expandable}} |
422 |
422 |
|
423 |
|
-{{expandable summary="π Relevance to Subproject"}} |
424 |
|
-- Provides **strong evidence for the genetic basis of intelligence**. |
425 |
|
-- Highlights the **diminishing role of shared environment in cognitive development**. |
426 |
|
-- Supports research on **cognitive aging and heritability across the lifespan**. |
|
471 |
+{{expandable summary="π¬ Findings"}} |
|
472 |
+- Genetic influence strengthens over time |
|
473 |
+- Monozygotic twinsβ IQ similarity increases with age |
427 |
427 |
{{/expandable}} |
428 |
428 |
|
429 |
|
-{{expandable summary="π Suggestions for Further Exploration"}} |
430 |
|
-1. Investigate **neurogenetic pathways underlying IQ development**. |
431 |
|
-2. Examine **how education and socioeconomic factors interact with genetic IQ influences**. |
432 |
|
-3. Study **heritability trends in aging populations and cognitive decline**. |
|
476 |
+{{expandable summary="π Critique & Observations"}} |
|
477 |
+- Strength: Large dataset, longitudinal |
|
478 |
+- Limitation: Mostly Western countries |
433 |
433 |
{{/expandable}} |
434 |
434 |
|
435 |
|
-{{expandable summary="π Download Full Study"}} |
|
481 |
+{{expandable summary="π Relevance"}} |
|
482 |
+- Strong support for genetic IQ theories |
|
483 |
+- Diminishing environmental influence |
|
484 |
+{{/expandable}} |
|
485 |
+ |
|
486 |
+{{expandable summary="π Download"}} |
436 |
436 |
[[Download Full Study>>attach:10.1017_thg.2013.54.pdf]] |
437 |
437 |
{{/expandable}} |
|
489 |
+ |
438 |
438 |
{{/expandable}} |
439 |
439 |
{{/example}} |
|
492 |
+{{/expandable}} |
440 |
440 |
|
|
494 |
+---- |
441 |
441 |
|
442 |
|
- |
|
496 |
+== Bonus: Boilerplate Example Template == |
|
497 |
+ |
|
498 |
+{{expandable summary="π Example Macro Template (`/example`)"}} |
|
499 |
+{{example}} |
|
500 |
+{{example}} |
|
501 |
+Your macro goes here. |
|
502 |
+{{/example}} |
|
503 |
+{{/example}} |
|
504 |
+{{/expandable}} |
|
505 |
+ |
|
506 |
+ |