![]() | This is a
documentation
subpage for
User:Archimerged/PhysicsNavigation. It may contain usage information, categories and other content that is not part of the original user template page. |
This template creates a navigation template for a larger subject when supplied with the desired topic and subtopics. It is especially purposed for browsing in a physics subfield, while mentioning all necessary topics
Please remove the parameters that are left blank.
{{PhysicsNavigation |Name = {{subst:PAGENAME}} |Image = |Label = |KeyItems = |Topic1 = |Items1 = |Topic2 = |Items2 = ... |Topic8 = |Items8 = |Scientists = }}
{{subst:PAGENAME}}
for this value as a shortcut.{{
nowrap begin}}
at the front, separate fields with
{{·w}}
or
{{•w}}
, and put the required {{
nowrap end}}
last. This is much easier than piping each link:
[[Link name|Link name]]
.-->
and ending with <!--
followed by two newlines.
|
<math>\partial \int L ds = 0</math>
.{{PhysicsNavigation |Name = Plasma physics |Image = Plasma.jpg |LabelId = [[Plasma lamp]] |KeyItems = [[Plasma]]{{·}}[[MHD]] |Topic1 = Description |Items1 = {{nowrap begin}} <!-- -->{{·w}}[[Vlasov equation]] <!-- -->{{·w}}[[MHD]] <!-- -->{{·w}}[[Plasma channel]] <!-- -->{{·w}}[[Plasma parameters]] <!-- -->{{·w}}[[Magnetohydrodynamics]] <!-- -->{{·w}}[[Electric field screening]] <!-- -->{{·w}}[[List of plasma physicists]] <!-- -->{{nowrap end}} <!-- -->{{·w}}[[List of publications in physics#Plasma physics<!-- -->|Important publications in plasma physics]]<!-- -->{{·w}}[[IEEE Nuclear and Plasma Sciences Society]]<!-- -->{{·w}} }}
{{PhysicsNavigation |Name = Continuum mechanics |Image = BernoullisLawDerivationDiagram.png |KeyItems = [[Conservation of mass]]<br />[[Conservation of momentum]]<br /> [[Navier-Stokes equations]] |Topic1 = [[Classical mechanics]] |Items1 = [[Stress (physics)|Stress]] · [[Strain (materials science)|Strain]] · [[Tensor]]<br /> |Topic2 = [[Solid mechanics]] |Items2 = [[Solid]]s · [[Elasticity (physics)|Elasticity]]<br /> [[Plasticity (physics)|Plasticity]] · [[Hooke's law]]<br />[[Rheology]] · [[Viscoelasticity]] |Topic3 = [[Fluid mechanics]] |Items3 = [[Fluid]]s · [[Fluid statics]]<br />[[Fluid dynamics]] · [[Viscosity]] · [[Newtonian fluid]]s<br />[[Non-Newtonian fluid]]s<br />[[Surface tension]] |Scientists = [[Isaac Newton|Newton]] · [[George Gabriel Stokes|Stokes]] · [[Claude-Louis Navier|Navier]] |}}
That the navigation box automatically collapses if the user views an item which is defined inside a <italic>Topic<italic/>. You have to pass the cTopic variable to PhysicsNavigation.
cTopic = {{{cTopic}}}
for example
{{PhysicsNavigation |Name = String theory |Image = Point&string.png |KeyItems = [[Superstring theory]] |Topic1 = Theory |Items1 = [[Bosonic string theory]]<br />[[M-theory]] ([[M-theory (simplified)|simplified]])<br /> [[type I string theory|Type I string]] · [[type II string theory|Type II string]]<br /> [[String field theory]] · [[Heterotic string]] |Topic2 = Concepts |Items2 = [[String (physics)|Strings]] · [[Branes]] |Topic3 = Related Topics |Items3 = [[Supersymmetry]] · [[Supergravity]] · [[Quantum gravity]] |Scientists = [[Edward Witten|Witten]] |cTopic = {{{cTopic}}} }}
inside the article's page, add the template plus the parameter cTopic= which is named after the browsed topic. Note both names have to match exactly ! For example, in the page about Branes add
{{String-theory|cTopic=Concepts}}
and the topic Concepts uncollapses.
Example 1 | Example 2 | Example 3 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
· | <small> middot |
· | middot |
· | <small> bold middot |
· | bold middot |
• | <small> bullet |
• | bullet |
• | bold bullet |
– | ndash |
— | mdash |
When making dotted lists you might need to handle proper word wrapping (line breaking):
![]() | This is a
documentation
subpage for
User:Archimerged/PhysicsNavigation. It may contain usage information, categories and other content that is not part of the original user template page. |
This template creates a navigation template for a larger subject when supplied with the desired topic and subtopics. It is especially purposed for browsing in a physics subfield, while mentioning all necessary topics
Please remove the parameters that are left blank.
{{PhysicsNavigation |Name = {{subst:PAGENAME}} |Image = |Label = |KeyItems = |Topic1 = |Items1 = |Topic2 = |Items2 = ... |Topic8 = |Items8 = |Scientists = }}
{{subst:PAGENAME}}
for this value as a shortcut.{{
nowrap begin}}
at the front, separate fields with
{{·w}}
or
{{•w}}
, and put the required {{
nowrap end}}
last. This is much easier than piping each link:
[[Link name|Link name]]
.-->
and ending with <!--
followed by two newlines.
|
<math>\partial \int L ds = 0</math>
.{{PhysicsNavigation |Name = Plasma physics |Image = Plasma.jpg |LabelId = [[Plasma lamp]] |KeyItems = [[Plasma]]{{·}}[[MHD]] |Topic1 = Description |Items1 = {{nowrap begin}} <!-- -->{{·w}}[[Vlasov equation]] <!-- -->{{·w}}[[MHD]] <!-- -->{{·w}}[[Plasma channel]] <!-- -->{{·w}}[[Plasma parameters]] <!-- -->{{·w}}[[Magnetohydrodynamics]] <!-- -->{{·w}}[[Electric field screening]] <!-- -->{{·w}}[[List of plasma physicists]] <!-- -->{{nowrap end}} <!-- -->{{·w}}[[List of publications in physics#Plasma physics<!-- -->|Important publications in plasma physics]]<!-- -->{{·w}}[[IEEE Nuclear and Plasma Sciences Society]]<!-- -->{{·w}} }}
{{PhysicsNavigation |Name = Continuum mechanics |Image = BernoullisLawDerivationDiagram.png |KeyItems = [[Conservation of mass]]<br />[[Conservation of momentum]]<br /> [[Navier-Stokes equations]] |Topic1 = [[Classical mechanics]] |Items1 = [[Stress (physics)|Stress]] · [[Strain (materials science)|Strain]] · [[Tensor]]<br /> |Topic2 = [[Solid mechanics]] |Items2 = [[Solid]]s · [[Elasticity (physics)|Elasticity]]<br /> [[Plasticity (physics)|Plasticity]] · [[Hooke's law]]<br />[[Rheology]] · [[Viscoelasticity]] |Topic3 = [[Fluid mechanics]] |Items3 = [[Fluid]]s · [[Fluid statics]]<br />[[Fluid dynamics]] · [[Viscosity]] · [[Newtonian fluid]]s<br />[[Non-Newtonian fluid]]s<br />[[Surface tension]] |Scientists = [[Isaac Newton|Newton]] · [[George Gabriel Stokes|Stokes]] · [[Claude-Louis Navier|Navier]] |}}
That the navigation box automatically collapses if the user views an item which is defined inside a <italic>Topic<italic/>. You have to pass the cTopic variable to PhysicsNavigation.
cTopic = {{{cTopic}}}
for example
{{PhysicsNavigation |Name = String theory |Image = Point&string.png |KeyItems = [[Superstring theory]] |Topic1 = Theory |Items1 = [[Bosonic string theory]]<br />[[M-theory]] ([[M-theory (simplified)|simplified]])<br /> [[type I string theory|Type I string]] · [[type II string theory|Type II string]]<br /> [[String field theory]] · [[Heterotic string]] |Topic2 = Concepts |Items2 = [[String (physics)|Strings]] · [[Branes]] |Topic3 = Related Topics |Items3 = [[Supersymmetry]] · [[Supergravity]] · [[Quantum gravity]] |Scientists = [[Edward Witten|Witten]] |cTopic = {{{cTopic}}} }}
inside the article's page, add the template plus the parameter cTopic= which is named after the browsed topic. Note both names have to match exactly ! For example, in the page about Branes add
{{String-theory|cTopic=Concepts}}
and the topic Concepts uncollapses.
Example 1 | Example 2 | Example 3 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
· | <small> middot |
· | middot |
· | <small> bold middot |
· | bold middot |
• | <small> bullet |
• | bullet |
• | bold bullet |
– | ndash |
— | mdash |
When making dotted lists you might need to handle proper word wrapping (line breaking):