Iz Wikipedije, proste enciklopedije


[[Template:{{{Name}}}|p]] · [[|p]] · [{{fullurl:Template:{{{Name}}}|action=edit}} u] · [{{fullurl:Template:{{{Name}}}|action=history}} z]

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

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

Usage[uredi kodo]

Please remove the parameters that are left blank.

|Name       =
|Image      =
|Label      =
|KeyItems   =
|Topic1     =
|Items1     =
|Topic2     =
|Items2     =
|Topic8     =
|Items8     =
|Scientists =

Parameters[uredi kodo]

Mandatory[uredi kodo]

The name of the template, which is needed for the "v · d · e" ("view · discuss · edit") links to work properly on all pages where the template is used. You can enter {{subst:PAGENAME}} for this value as a shortcut.
The Name or Category of the Subfields, can also be a link
The links to the subfield, please use <br \> for new line and {{·}} for separating the fields.

Optional[uredi kodo]

Title of this box, if different from Name.
An image under the name of the template. Use either Image or Label
A general Label, most likely a math formula like
<math>\part \int L ds = 0</math>. Use either Label or Image
Description or link of the Image or Label
Important links for the field at large, that will be out of collapsible boxes.
Other subfields. Up to 8 topics (Topic2..Topic8) are supported.
The links to the subfields, please use <pre><br \> for new line and · for separating the fields
A List of Scientists with important contributions in this field.

Examples[uredi kodo]

Example 1[uredi kodo]

|Name  = Plasmaphysics
|Title = Plasma Physics
|Image = Plasma.jpg
|LabelId = [[Plasma lamp]]
|KeyItems = [[Plasma]] · [[MHD]]
|Topic1 = Description
|Items1 = [[Vlasov]] · [[MHD]]<br \> [[Two-Fluid]]

Example 2[uredi kodo]

|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]]

Example 3[uredi kodo]

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

|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


and the topic Concepts uncollapses

Results[uredi kodo]

Example 1 Example 2 Example 3
Plasma Physics
Plasma lamp
Plasma · MHD
p · p · u · z
Continuum mechanics
Conservation of mass
Conservation of momentum
Navier-Stokes equations
p · p · u · z

See also[uredi kodo]