Module:PhysicsQC/doc: Difference between revisions
Jump to navigation
Jump to search
imported>WikiHarold No edit summary |
imported>WikiHarold No edit summary |
||
(No difference)
| |||
Latest revision as of 15:29, 14 April 2026
Module:PhysicsQC
This module renders a structured, collapsible table of contents for the Quantum Collection project.
It separates **content (Q)** from **logic (M)** and is invoked from a book or overview page (B).
Usage
Table of contents (185 articles)
Index
Core theory
Applications and extensions
Full contents
1. Foundations (11) ↑ Back to index
2. Conceptual and interpretations (14) ↑ Back to index
3. Mathematical structure and systems (13) ↑ Back to index
4. Atomic and spectroscopy (14) ↑ Back to index
5. Wavefunctions and modes (9) ↑ Back to index
6. Quantum dynamics and evolution (17) ↑ Back to index
7. Measurement and information (9) ↑ Back to index
8. Quantum information and computing (10) ↑ Back to index
9. Quantum optics and experiments (5) ↑ Back to index
10. Open quantum systems (9) ↑ Back to index
11. Quantum field theory (20) ↑ Back to index
12. Statistical mechanics and kinetic theory (9) ↑ Back to index
13. Condensed matter and solid-state physics (13) ↑ Back to index

149. Physics:Quantum well
154. Physics:Quantum dot
14. Plasma and fusion physics (8) ↑ Back to index
15. Timeline (8) ↑ Back to index
16. Advanced and frontier topics (16) ↑ Back to index
Architecture
- Q (source page) – contains structured content
- M (this module) – processes, counts, and renders
- B (book/page) – invokes the module
Source page (Q) format
The source page must contain:
<includeonly> == Core pathway == # [[Physics:Quantum basics]] # [[Physics:Quantum mechanics]] == Full contents == === Foundations === <li>[[Physics:Quantum basics]]</li> <li>[[Physics:Quantum mechanics]]</li> === Conceptual and interpretations === <li>[[Physics:Quantum Interpretations of quantum mechanics]]</li> === Quantum optics and experiments === <li>[[Physics:Quantum optics beam splitter experiments]]</li> [[Template:Quantum optics operators]] </includeonly>
Features
- Automatic total article count
- Automatic per-section counts
- Continuous numbering across sections
- Independent collapsible sections
- Clean rendering (no manual layout required)
- No JavaScript required
Counting rules
Only items matching:
...
are counted.
The following namespaces are excluded:
- Template:
- File:
- Image:
- Category:
- Help:
- Special:
Rendering behavior
Each section:
- is converted into a collapsible block
- receives an automatic item count
- is assigned correct numbering via
<ol start="...">
The module handles:
- layout
- numbering
- counting
The source page should NOT contain:
- manual collapsible blocks
- manual
<ol>orstart= - layout styling
Important notes
- Templates should NOT be inside
<li>if you want numbering to match totals. - Images and descriptive text are preserved inside sections.
- Section headings must use:
=== Section name ===
Output structure
The module returns:
= Table of content (N articles)= == Core pathway == ... == Full contents == [collapsible sections]
Maintenance
To update content:
- Edit the source page (Q)
- Do NOT modify the module (M)
The module automatically updates:
- numbering
- totals
- layout
Summary
- Q = content and structure
- M = logic and rendering
- B = invocation
This separation ensures scalability, consistency, and minimal maintenance.














