Template:Box: Difference between revisions
m Document all eleven box snippets and add derivation example |
m Update reference for more distinct box colours |
||
| Line 8: | Line 8: | ||
! Template !! Snippet !! Colour !! Heading | ! Template !! Snippet !! Colour !! Heading | ||
|- | |- | ||
| [[Template:Key result|Key result]] || <code>key</code> || | | [[Template:Key result|Key result]] || <code>key</code> || Fuchsia || Key result: title (optional) | ||
|- | |- | ||
| [[Template:Proof|Proof]] || <code>pf</code> || Green || Proof: title (optional) | | [[Template:Proof|Proof]] || <code>pf</code> || Green || Proof: title (optional) | ||
|- | |- | ||
| [[Template:Derivation|Derivation]] || <code>deriv</code> || | | [[Template:Derivation|Derivation]] || <code>deriv</code> || Navy || Derivation: title (optional) | ||
|- | |- | ||
| [[Template:Example|Example]] || <code>ex</code> || | | [[Template:Example|Example]] || <code>ex</code> || Golden yellow || Example: title (optional) | ||
|- | |- | ||
| [[Template:Aside|Aside]] || <code>aside</code> || Orange || Aside: title (optional) | | [[Template:Aside|Aside]] || <code>aside</code> || Orange || Aside: title (optional) | ||
| Line 22: | Line 22: | ||
| [[Template:Definition|Definition]] || <code>defn</code> || Blue || Definition: term | | [[Template:Definition|Definition]] || <code>defn</code> || Blue || Definition: term | ||
|- | |- | ||
| [[Template:Theorem|Theorem]] || <code>thm</code> || | | [[Template:Theorem|Theorem]] || <code>thm</code> || Violet || Theorem: name | ||
|- | |- | ||
| [[Template:Exercise|Exercise]] || <code>exercise</code> || | | [[Template:Exercise|Exercise]] || <code>exercise</code> || Lime green || Exercise (fixed heading) | ||
|- | |- | ||
| [[Template:Notice|Notice]] || <code>notice</code> || | | [[Template:Notice|Notice]] || <code>notice</code> || Rose pink || No heading | ||
|- | |- | ||
| [[Template:Box|Box]] || <code>box</code> || Cyan || No heading | | [[Template:Box|Box]] || <code>box</code> || Cyan || No heading | ||
Latest revision as of 20:12, 11 October 2026
Use {{Box|Your content}} for simple text. Use {{Box|body=$E=mc^2$}} when content contains equals signs; the snippet inserts this named form automatically.
Callout templates
Use title= for an optional title and body= for the contents. The editor snippets use title and body tab stops.
| Template | Snippet | Colour | Heading |
|---|---|---|---|
| Key result | key |
Fuchsia | Key result: title (optional) |
| Proof | pf |
Green | Proof: title (optional) |
| Derivation | deriv |
Navy | Derivation: title (optional) |
| Example | ex |
Golden yellow | Example: title (optional) |
| Aside | aside |
Orange | Aside: title (optional) |
| Warning | warn |
Red | Warning: title (optional) |
| Definition | defn |
Blue | Definition: term |
| Theorem | thm |
Violet | Theorem: name |
| Exercise | exercise |
Lime green | Exercise (fixed heading) |
| Notice | notice |
Rose pink | No heading |
| Box | box |
Cyan | No heading |
Key resultFourier orthogonality
The central result of this section.
ProofDerivation
Apply orthogonality and integrate term by term.
DerivationFourier coefficients
Multiply by a basis function and integrate over one period.
ExampleSquare wave
A worked calculation.
AsideGeometric interpretation
An optional observation.
WarningConvergence
Check the assumptions before applying this result.
A general-purpose box.
Definition: Period
The interval over which a function repeats.
Theorem: Parseval
The energy is preserved.
Exercise
Find the Fourier coefficients.
Additional information.