Template:Notation: Difference between revisions

From FusionGirl Wiki
Jump to navigationJump to search
(A1: delink .md source refs)
(Phase H2: class-only styling (no inline backgrounds); theme-aware via Common.css)
Line 17: Line 17:
! Parameter !! Notes
! Parameter !! Notes
|-
|-
| psi_convention || How ψ vs Ψ vs φ are used on this page.
| psi_convention || How ψ vs Ψ vs φ are used on this page. (Optional.)
|-
|-
| signature || `mostly-plus (−,+,+,+)` or `mostly-minus (+,−,−,−)`.
| signature || <code>mostly-plus (−,+,+,+)</code> or <code>mostly-minus (+,−,−,−)</code>. (Optional.)
|-
|-
| units || `SI`, `natural (ℏ=c=1)`, `Gaussian`, etc.
| units || <code>SI</code>, <code>natural (ℏ=c=1)</code>, <code>Gaussian</code>, etc. (Optional.)
|-
|-
| index_convention || optional — Greek/Latin index ranges.
| index_convention || optional — Greek/Latin index ranges.
Line 28: Line 28:
|}
|}


Source: <code>05-augmented-pages/02-page-templates.md §1</code>.
All parameters are optional. If none are supplied, the box renders an empty body.
 
== Styling ==
Styling is provided by <code>MediaWiki:Common.css</code> via the class <code>notation-box</code>, with light + dark theme support.


[[Category:Psionics templates]]
[[Category:Psionics templates]]
[[Category:FusionGirl Templates]]
[[Category:FusionGirl Templates]]
</noinclude><includeonly><div class="notation-box" style="margin:0.6em 0; padding:0.5em 0.8em; border:1px dashed #777; background:#fafaf2; font-size:90%;">
</noinclude><includeonly><div class="notation-box">
'''Notation on this page'''
'''Notation on this page'''
{| style="background:transparent;"
{| class="notation-box-table"
|-{{#if:{{{psi_convention|}}}|
{{#if:{{{psi_convention|}}}|
! style="text-align:left; vertical-align:top; width:11em;" | ψ-convention
|-
| {{{psi_convention}}}
! ψ-convention
|-}}{{#if:{{{signature|}}}|
| {{{psi_convention}}} }}{{#if:{{{signature|}}}|
! style="text-align:left;" | Metric signature
|-
| {{{signature}}}
! Metric signature
|-}}{{#if:{{{units|}}}|
| {{{signature}}} }}{{#if:{{{units|}}}|
! style="text-align:left;" | Units
|-
| {{{units}}}
! Units
|-}}{{#if:{{{index_convention|}}}|
| {{{units}}} }}{{#if:{{{index_convention|}}}|
! style="text-align:left; vertical-align:top;" | Index convention
|-
| {{{index_convention}}}
! Index convention
|-}}{{#if:{{{extra|}}}|
| {{{index_convention}}} }}{{#if:{{{extra|}}}|
! style="text-align:left; vertical-align:top;" | Other
|-
| {{{extra}}}
! Other
|-}}
| {{{extra}}} }}
|}
|}
</div></includeonly>
</div></includeonly>

Revision as of 06:16, 12 May 2026

Standard notation header for any equation-bearing page. Documents ψ-convention, metric signature, and unit system in a compact box.

Usage

{{Notation
| psi_convention = lowercase ψ = field amplitude; uppercase Ψ = energy density T⁰⁰(ψ)
| signature      = mostly-plus (−,+,+,+)
| units          = SI
| index_convention = Greek μ,ν,ρ,σ ∈ {0,1,2,3,4} (5D); Latin i,j,k ∈ {1,2,3} (spatial)
| extra          = ℏ = c = 1 unless noted
}}

Parameters

Parameter Notes
psi_convention How ψ vs Ψ vs φ are used on this page. (Optional.)
signature mostly-plus (−,+,+,+) or mostly-minus (+,−,−,−). (Optional.)
units SI, natural (ℏ=c=1), Gaussian, etc. (Optional.)
index_convention optional — Greek/Latin index ranges.
extra optional — any other site-wide convention notes.

All parameters are optional. If none are supplied, the box renders an empty body.

Styling

Styling is provided by MediaWiki:Common.css via the class notation-box, with light + dark theme support.