Wiki source code of Start here if you're new
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
35.1 | 1 | = π Macro Examples & Formatting Guide = |
![]() |
1.1 | 2 | |
![]() |
4.1 | 3 | ---- |
![]() |
1.1 | 4 | |
![]() |
35.1 | 5 | == π Table of Contents == |
![]() |
1.1 | 6 | |
![]() |
8.1 | 7 | {{toc/}} |
![]() |
1.1 | 8 | |
![]() |
4.1 | 9 | ---- |
![]() |
1.1 | 10 | |
![]() |
35.1 | 11 | == π§ͺ Macro Showcase: Source + Output + Slash Command == |
![]() |
12.1 | 12 | |
![]() |
35.1 | 13 | All macros are shown with the WYSIWYG `/command`, an expandable explanation, and an editable source/output block using example |
![]() |
22.1 | 14 | |
![]() |
34.1 | 15 | ---- |
16 | |||
![]() |
35.1 | 17 | == Table of Contents Macro (`/toc`) == |
![]() |
34.1 | 18 | |
![]() |
35.1 | 19 | {{expandable summary="π Table of Contents Macro (`/toc`)"}} |
20 | {{example}} | ||
21 | {{toc/}} | ||
22 | {{/example}} | ||
23 | {{/expandable}} | ||
![]() |
34.1 | 24 | |
![]() |
26.1 | 25 | ---- |
![]() |
22.1 | 26 | |
![]() |
35.1 | 27 | == Gallery Macro (`/gallery`) == |
![]() |
22.1 | 28 | |
![]() |
35.1 | 29 | {{expandable summary="πΌοΈ Gallery Macro (`/gallery`)"}} |
![]() |
22.1 | 30 | {{example}} |
31 | {{gallery}} | ||
![]() |
30.1 | 32 | [[1747262485678-297.png]] |
![]() |
22.1 | 33 | [[image:photo2.jpg]] |
34 | {{/gallery}} | ||
35 | {{/example}} | ||
![]() |
35.1 | 36 | {{/expandable}} |
![]() |
22.1 | 37 | |
![]() |
35.1 | 38 | ---- |
![]() |
22.1 | 39 | |
![]() |
35.1 | 40 | == Carousel Macro (`/carousel`) == |
![]() |
32.1 | 41 | |
![]() |
35.1 | 42 | {{expandable summary="π½οΈ Carousel Macro (`/carousel`)"}} |
![]() |
31.1 | 43 | {{example}} |
44 | {{carousel/}} | ||
45 | {{/example}} | ||
![]() |
35.1 | 46 | {{/expandable}} |
![]() |
31.1 | 47 | |
![]() |
35.1 | 48 | ---- |
![]() |
25.1 | 49 | |
![]() |
35.1 | 50 | == Box Macro (`/box`) == |
51 | |||
52 | {{expandable summary="π¦ Box Macro (`/box`)"}} | ||
![]() |
22.1 | 53 | {{example}} |
54 | {{box cssClass="highlight"}} | ||
55 | Insert your highlighted content here. | ||
56 | {{/box}} | ||
57 | {{/example}} | ||
![]() |
35.1 | 58 | {{/expandable}} |
![]() |
22.1 | 59 | |
![]() |
35.1 | 60 | ---- |
![]() |
25.1 | 61 | |
![]() |
35.1 | 62 | == Info and Warning Boxes (`/info`, `/warning`) == |
![]() |
22.1 | 63 | |
![]() |
35.1 | 64 | {{expandable summary="β οΈ Info and Warning Macros (`/info`, `/warning`)"}} |
![]() |
22.1 | 65 | {{example}} |
![]() |
35.1 | 66 | {{info}}This is an info box.{{/info}} |
![]() |
22.1 | 67 | |
![]() |
35.1 | 68 | {{warning}}This is a warning box.{{/warning}} |
![]() |
22.1 | 69 | {{/example}} |
![]() |
35.1 | 70 | {{/expandable}} |
![]() |
22.1 | 71 | |
![]() |
35.1 | 72 | ---- |
![]() |
28.1 | 73 | |
![]() |
35.1 | 74 | == Footnotes (`/footnote`, `/put footnotes`) == |
75 | |||
76 | {{expandable summary="π§Ύ Footnote + PutFootnotes (`/footnote`, `/put footnotes`)"}} | ||
![]() |
27.1 | 77 | {{example}} |
![]() |
35.1 | 78 | This is a footnoted statement{{footnote}}https://www.example.com{{/footnote}}. |
![]() |
24.1 | 79 | |
![]() |
26.1 | 80 | {{putFootnotes/}} |
![]() |
27.1 | 81 | {{/example}} |
![]() |
35.1 | 82 | {{/expandable}} |
![]() |
26.1 | 83 | |
![]() |
35.1 | 84 | ---- |
![]() |
26.1 | 85 | |
![]() |
35.1 | 86 | == Expandable Macro (`/expandable`) == |
![]() |
25.1 | 87 | |
![]() |
35.1 | 88 | {{expandable summary="π§© Expandable Macro (`/expandable`)"}} |
![]() |
22.1 | 89 | {{example}} |
![]() |
35.1 | 90 | {{expandable summary="Click to expand"}} |
91 | This content is hidden until clicked. | ||
![]() |
22.1 | 92 | {{/expandable}} |
93 | {{/example}} | ||
![]() |
35.1 | 94 | {{/expandable}} |
![]() |
22.1 | 95 | |
![]() |
35.1 | 96 | ---- |
![]() |
25.1 | 97 | |
![]() |
35.1 | 98 | == Embed Macro (`/embed content`) == |
![]() |
1.1 | 99 | |
![]() |
35.1 | 100 | {{expandable summary="π Embed Macro (YouTube etc.) (`/embed content`)"}} |
101 | {{example}} | ||
102 | {{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} | ||
103 | {{/example}} | ||
104 | {{/expandable}} | ||
![]() |
1.1 | 105 | |
![]() |
35.1 | 106 | ---- |
![]() |
1.1 | 107 | |
![]() |
35.1 | 108 | == Code Macro (`/code`) == |
![]() |
1.1 | 109 | |
![]() |
35.1 | 110 | {{expandable summary="π» Code Block Macro (`/code`)"}} |
![]() |
32.1 | 111 | {{example}} |
![]() |
35.1 | 112 | {{code language="python"}} |
113 | def hello_world(): | ||
114 | print("Hello, world!") | ||
115 | {{/code}} | ||
![]() |
32.1 | 116 | {{/example}} |
![]() |
35.1 | 117 | {{/expandable}} |
![]() |
32.1 | 118 | |
![]() |
35.1 | 119 | ---- |
![]() |
32.1 | 120 | |
![]() |
35.1 | 121 | == Image Insert (`[[image:...]]`) == |
![]() |
1.1 | 122 | |
![]() |
35.1 | 123 | {{expandable summary="πΌοΈ Image Macro (`[[image:filename.jpg]]`)"}} |
![]() |
32.1 | 124 | {{example}} |
![]() |
33.1 | 125 | [[image:1747262485678-297.png]] |
![]() |
32.1 | 126 | {{/example}} |
![]() |
35.1 | 127 | {{/expandable}} |
![]() |
2.1 | 128 | |
![]() |
4.1 | 129 | ---- |
![]() |
2.1 | 130 | |
![]() |
35.1 | 131 | == Audio Embed (HTML tag or `/embed JWPlayer`) == |
![]() |
6.1 | 132 | |
![]() |
35.1 | 133 | {{expandable summary="π Audio Embed (`<audio>` tag or `/embed JWPlayer`)"}} |
![]() |
15.1 | 134 | {{example}} |
![]() |
35.1 | 135 | {{html}} |
136 | <audio controls> | ||
137 | <source src="/bin/download/Sandbox/TestPage2/Anti-Black%20racial%20slur%20was%20found%20written%20on%20high%20school%20desk%20in%20Rockville.mp3" type="audio/mpeg"> | ||
138 | Your browser does not support the audio element. | ||
139 | </audio> | ||
140 | {{/html}} | ||
![]() |
15.1 | 141 | {{/example}} |
![]() |
35.1 | 142 | {{/expandable}} |
![]() |
6.1 | 143 | |
![]() |
35.1 | 144 | ---- |
![]() |
15.1 | 145 | |
![]() |
35.1 | 146 | == Video Embed Macro (`/video`) == |
![]() |
6.1 | 147 | |
![]() |
35.1 | 148 | {{expandable summary="π¬ Video Macro (`/video`)"}} |
![]() |
15.1 | 149 | {{example}} |
150 | {{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}} | ||
151 | {{/example}} | ||
![]() |
35.1 | 152 | {{/expandable}} |
![]() |
6.1 | 153 | |
![]() |
35.1 | 154 | ---- |
![]() |
22.1 | 155 | |
![]() |
35.1 | 156 | == Full Example: Expandable Study Summary (`/expandable`) == |
![]() |
22.1 | 157 | |
![]() |
35.1 | 158 | {{expandable summary="π Full Use Case β Study Summary Macro (`/expandable`)"}} |
![]() |
21.1 | 159 | {{example}} |
![]() |
35.1 | 160 | {{expandable summary="Study: The Wilson Effect"}} |
161 | **Source:** *Twin Research and Human Genetics (2013)* | ||
162 | **Author:** *Thomas J. Bouchard Jr.* | ||
163 | **DOI:** [10.1017/thg.2013.54](https://doi.org/10.1017/thg.2013.54) | ||
![]() |
6.1 | 164 | |
![]() |
15.1 | 165 | {{expandable summary="π Key Statistics"}} |
![]() |
35.1 | 166 | - IQ heritability rises to **0.80** by adulthood |
167 | - Shared environment drops to **0.10** | ||
![]() |
15.1 | 168 | {{/expandable}} |
![]() |
6.1 | 169 | |
![]() |
15.1 | 170 | {{expandable summary="π¬ Findings"}} |
![]() |
35.1 | 171 | - Genetic influence strengthens over time |
172 | - Monozygotic twinsβ IQ similarity increases with age | ||
![]() |
15.1 | 173 | {{/expandable}} |
![]() |
6.1 | 174 | |
![]() |
17.1 | 175 | {{expandable summary="π Critique & Observations"}} |
![]() |
35.1 | 176 | - Strength: Large dataset, longitudinal |
177 | - Limitation: Mostly Western countries | ||
![]() |
15.1 | 178 | {{/expandable}} |
![]() |
6.1 | 179 | |
![]() |
35.1 | 180 | {{expandable summary="π Relevance"}} |
181 | - Strong support for genetic IQ theories | ||
182 | - Diminishing environmental influence | ||
![]() |
15.1 | 183 | {{/expandable}} |
![]() |
6.1 | 184 | |
![]() |
35.1 | 185 | {{expandable summary="π Download"}} |
186 | [[Download Full Study>>attach:10.1017_thg.2013.54.pdf]] | ||
![]() |
15.1 | 187 | {{/expandable}} |
188 | |||
189 | {{/expandable}} | ||
![]() |
35.1 | 190 | {{/example}} |
![]() |
15.1 | 191 | {{/expandable}} |
![]() |
35.1 | 192 | |
193 | ---- | ||
194 | |||
195 | == Bonus: Boilerplate Example Template == | ||
196 | |||
197 | {{expandable summary="π Example Macro Template (`/example`)"}} | ||
198 | {{example}} | ||
199 | {{example}} | ||
200 | Your macro goes here. | ||
![]() |
21.1 | 201 | {{/example}} |
![]() |
35.1 | 202 | {{/example}} |
203 | {{/expandable}} | ||
![]() |
20.1 | 204 |