0 Votes

Start here if you're new

Version 35.1 by Ryan C on 2025/05/14 16:18

πŸ“š Macro Examples & Formatting Guide


πŸ“– Table of Contents


πŸ§ͺ Macro Showcase: Source + Output + Slash Command

All macros are shown with the WYSIWYG `/command`, an expandable explanation, and an editable source/output block using example


Table of Contents Macro (`/toc`)


Gallery Macro (`/gallery`)

πŸ–ΌοΈ Gallery Macro (`/gallery`)
{{gallery}}
[[1747262485678-297.png]]
[[image:photo2.jpg]]
{{/gallery}}

Carousel Macro (`/carousel`)


Box Macro (`/box`)

πŸ“¦ Box Macro (`/box`)

Insert your highlighted content here.

{{box cssClass="highlight"}}
Insert your highlighted content here.
{{/box}}

Info and Warning Boxes (`/info`, `/warning`)

⚠️ Info and Warning Macros (`/info`, `/warning`)
Information

This is an info box.

Warning

This is a warning box.

{{info}}This is an info box.{{/info}}

{{warning}}This is a warning box.{{/warning}}

Footnotes (`/footnote`, `/put footnotes`)

🧾 Footnote + PutFootnotes (`/footnote`, `/put footnotes`)

This is a footnoted statement1.

  1. ^ https://www.example.com
This is a footnoted statement{{footnote}}https://www.example.com{{/footnote}}.

{{putFootnotes/}}

Expandable Macro (`/expandable`)

🧩 Expandable Macro (`/expandable`)
Click to expand

This content is hidden until clicked.

{{expandable summary="Click to expand"}}
This content is hidden until clicked.
{{/expandable}}

Embed Macro (`/embed content`)

🌐 Embed Macro (YouTube etc.) (`/embed content`)
{{embed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}

Code Macro (`/code`)

πŸ’» Code Block Macro (`/code`)
def hello_world():
   print("Hello, world!")
{{code language="python"}}
def hello_world():
    print("Hello, world!")
{{/code}}

Image Insert (`...`)

πŸ–ΌοΈ Image Macro (`filename.jpg`)

1747262485678-297.png

[[image:1747262485678-297.png]]

Audio Embed (HTML tag or `/embed JWPlayer`)

πŸ”Š Audio Embed (`<audio>` tag or `/embed JWPlayer`)

{{html}}
<audio controls>
  <source src="/bin/download/Sandbox/TestPage2/Anti-Black%20racial%20slur%20was%20found%20written%20on%20high%20school%20desk%20in%20Rockville.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio>
{{/html}}

Video Embed Macro (`/video`)

🎬 Video Macro (`/video`)


{{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}

Full Example: Expandable Study Summary (`/expandable`)

πŸ“š Full Use Case – Study Summary Macro (`/expandable`)
Study: The Wilson Effect

Source: *Twin Research and Human Genetics (2013)*  
Author: *Thomas J. Bouchard Jr.*  
DOI: [10.1017/thg.2013.54](https://doi.org/10.1017/thg.2013.54)  

πŸ“Š Key Statistics

- IQ heritability rises to 0.80 by adulthood  
- Shared environment drops to 0.10

πŸ”¬ Findings

- Genetic influence strengthens over time  
- Monozygotic twins’ IQ similarity increases with age

πŸ“ Critique & Observations

- Strength: Large dataset, longitudinal  
- Limitation: Mostly Western countries

πŸ“Œ Relevance

- Strong support for genetic IQ theories  
- Diminishing environmental influence

{{expandable summary="Study: The Wilson Effect"}}
**Source:** *Twin Research and Human Genetics (2013)*  
**Author:** *Thomas J. Bouchard Jr.*  
**DOI:** [10.1017/thg.2013.54](https://doi.org/10.1017/thg.2013.54)  

{{expandable summary="πŸ“Š Key Statistics"}}
- IQ heritability rises to **0.80** by adulthood  
- Shared environment drops to **0.10**
{{/expandable}}

{{expandable summary="πŸ”¬ Findings"}}
- Genetic influence strengthens over time  
- Monozygotic twins’ IQ similarity increases with age
{{/expandable}}

{{expandable summary="πŸ“ Critique & Observations"}}
- Strength: Large dataset, longitudinal  
- Limitation: Mostly Western countries
{{/expandable}}

{{expandable summary="πŸ“Œ Relevance"}}
- Strong support for genetic IQ theories  
- Diminishing environmental influence
{{/expandable}}

{{expandable summary="πŸ“„ Download"}}
[[Download Full Study>>attach:10.1017_thg.2013.54.pdf]]
{{/expandable}}

{{/expandable}}

Bonus: Boilerplate Example Template

πŸ“‹ Example Macro Template (`/example`)

Your macro goes here.

Your macro goes here.
{{example}}
Your macro goes here.
{{/example}}