Difference between revisions of "Template:Branches of physics"

From blackwiki
Jump to navigation Jump to search
imported>Srleffler
(rv unexplained changes in order. Returning to Sept. 3 version.)
imported>Zlk199011
Line 16: Line 16:
 
  | group1 = [[Classical mechanics]]   
 
  | group1 = [[Classical mechanics]]   
 
  | list1 =
 
  | list1 =
* [[Acoustics]]
 
 
* [[Ballistics]]
 
* [[Ballistics]]
 
* [[Continuum mechanics|Continuum]]
 
* [[Continuum mechanics|Continuum]]
Line 23: Line 22:
 
* [[Hamiltonian mechanics|Hamiltonian]]
 
* [[Hamiltonian mechanics|Hamiltonian]]
 
* [[Lagrangian mechanics|Lagrangian]]
 
* [[Lagrangian mechanics|Lagrangian]]
  | group2 = [[Statistical mechanics|Statistical mechanics]]
+
* [[Acoustics]]
 +
  | group2 = [[Classical electromagnetism|Electrodynamics]]
 
  | list2 =
 
  | list2 =
 +
* [[Electrostatics]]
 +
* [[Magnetostatics]]
 +
* [[Plasma physics]]
 +
| group3 = [[Statistical mechanics|Statistical mechanics]]
 +
| list3 =
 
* [[Thermodynamics]] <!-- intentional un-alphabetization -->
 
* [[Thermodynamics]] <!-- intentional un-alphabetization -->
 
* [[Condensed matter physics|Condensed matter]]
 
* [[Condensed matter physics|Condensed matter]]
Line 32: Line 37:
 
** [[Soft matter|Soft]]
 
** [[Soft matter|Soft]]
 
** [[Solid-state physics|Solid-state]]
 
** [[Solid-state physics|Solid-state]]
| group3 = [[Classical electromagnetism|Electrodynamics]]
 
| list3 =
 
* [[Electrostatics]]
 
* [[Magnetostatics]]
 
* [[Plasma physics]]
 
 
}}
 
}}
  
Line 42: Line 42:
 
| list3 =
 
| list3 =
 
  {{Navbox|subgroup
 
  {{Navbox|subgroup
  | group1 = [[Atomic, molecular, and optical physics|Atomic, molecular<br/>and optical physics]]
+
  | group1 = [[Quantum mechanics]]  
 
  | list1 =
 
  | list1 =
 +
* [[Quantum electrodynamics]]
 +
* [[Quantum field theory]]
 +
* [[Quantum gravity]]
 +
| group2 = [[Relativistic mechanics|Relativity]]
 +
| list2 =
 +
* [[General relativity|General]]
 +
* [[Special relativity|Special]]
 +
| group3 = [[Particle physics]] <!--{{longitem|[[Standard Model]]<br />and beyond }}-->
 +
| list3 =
 +
* [[Accelerator physics|Accelerator]]
 +
* [[Astroparticle physics|Astroparticle]]
 +
* [[Nuclear physics|Nuclear]]
 +
* [[Quantum chromodynamics]]
 +
| group4 = [[Atomic, molecular, and optical physics|Atomic, molecular<br/>and optical physics]]
 +
| list4 =
 
* [[Atomic physics]]
 
* [[Atomic physics]]
 
* [[Molecular physics]]
 
* [[Molecular physics]]
Line 49: Line 64:
 
* [[Photonics]]
 
* [[Photonics]]
 
* [[Quantum optics]]
 
* [[Quantum optics]]
  | group2 = [[Physical cosmology|Cosmology]]
+
  | group5 = [[Physical cosmology|Cosmology]]
  | list2 =
+
  | list5 =
 
* [[Astrophysics]]
 
* [[Astrophysics]]
 
** [[Nuclear astrophysics|Nuclear]]
 
** [[Nuclear astrophysics|Nuclear]]
Line 57: Line 72:
 
** [[Heliophysics]]
 
** [[Heliophysics]]
 
* [[Space physics]]
 
* [[Space physics]]
| group3 = [[Particle physics]] <!--{{longitem|[[Standard Model]]<br />and beyond }}-->
 
| list3 =
 
* [[Accelerator physics|Accelerator]]
 
* [[Astroparticle physics|Astroparticle]]
 
* [[Nuclear physics|Nuclear]]
 
* [[Quantum chromodynamics]]
 
| group4 = [[Quantum mechanics]]
 
| list4 =
 
* [[Quantum electrodynamics]]
 
* [[Quantum field theory]]
 
* [[Quantum gravity]]
 
| group5 = [[Relativistic mechanics|Relativity]]
 
| list5 =
 
* [[General relativity|General]]
 
* [[Special relativity|Special]]
 
 
}}
 
}}
  

Revision as of 12:18, 1 December 2018

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Branches of physics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Branches of physics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Branches of physics|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.