الگو:PhysicsNavigation/توضیحات
| این زیرصفحهٔ مستندات الگو:PhysicsNavigation است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
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 =
|Image =
|Label =
|KeyItems =
|Topic1 =
|Items1 =
|Topic2 =
|Items2 =
...
|Topic8 =
|Items8 =
|دانشمندان =
}}
پارامترها
[ویرایش | اشتراکگذاری]الزامی
[ویرایش | اشتراکگذاری]- Name
- 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 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
- Topic1
- The Name or Category of the Subfields, can also be a link
- Items1
- The links to the subfield, please use
<br \>for new line and{{·}}for separating the fields.
- The links to the subfield, please use
اختیاری
[ویرایش | اشتراکگذاری]- Image
- تصویری که در زیر نام الگو قرار میگیرد. از میان Image و Label یکی باید انتخاب شود.
- Label
- A general Label, most likely a math formula like
<math>\part \int L ds = 0</math>. Use either Label or Image :;LabelId :::Description or link of the Image or Label :;KeyItems :::Important links for the field at large, that will be out of collapsible boxes. :;Topic2 :::Other subfields. Up to 8 topics (Topic2..Topic8) are supported. :;Items2 :::The links to the subfields, please use <pre><br \>
for new line and · for separating the fields
- A general Label, most likely a math formula like
- دانشمندان
- فهرستی از اسامی دانشمندانی که نقشی اساسی در این شاخه از علم داشتهاند.
مثالها
[ویرایش | اشتراکگذاری]مثال ۱
[ویرایش | اشتراکگذاری]{{PhysicsNavigation
|Name = Plasmaphysics
|Image = Plasma.jpg
|LabelId = [[Plasma lamp]]
|KeyItems = [[Plasma]] · MHD
|Topic1 = Description
|Items1 = [[Vlasov]] · MHD<br \> [[Two-Fluid]]
}}
مثال ۲
[ویرایش | اشتراکگذاری]پیوند: الگو:مکانیک محیطهای پیوسته
{{PhysicsNavigation
|Name = مکانیک محیطهای پیوسته
|Image = BernoullisLawDerivationDiagram.svg
|KeyItems = [[بقاء جرم]]<br />[[بقاء مقدار حرکت]]<br />[[معادلات ناویه-استوکس]]
|Topic1 = [[مکانیک کلاسیک]]
|Items1 = [[ضربه (فیزیک)|ضربه]] · [[کشش (علم مواد)|کشش]] · [[تنسور]]<br />
|Topic2 = [[مکانیک جامدات]]
|Items2 = [[جامد]]ها · [[ارتجاع (فیزیک)|ارتجاع]]<br />
[[مومسانی]] · [[قانون هوک]]<br />[[جریان]] · [[ویسکوالاستیسیته]]
|Topic3 = [[مکانیک سیالات]]
|Items3 = [[سیال|سیالات]] · [[ایستاشناسی سیالات]]<br />[[دینامیک سیالات]] · [[گرانروی]] [[سیال نیوتنی]] · [[سیال غیر نیوتنی]] [[کشش سطحی]]
|دانشمندان = [[ایزاک نیوتون|نیوتون]] · [[جورج گابریل استوک|استوک]] · [[کلوده لوییس ناویه|ناویه]] · [[کوشی]]· [[رابرت هوک|هوک]]
|}}
مثال ۳
[ویرایش | اشتراکگذاری]پیوند: الگو:الکترومغناطیس
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 = الکترومغناطیس
|Image = Solenoid.svg
|KeyItems = [[الکتریسیته]] · [[آهنربا|مغناطیس]]
|Topic1= [[الکترواستاتیک]]
|Items1= [[بار الکتریکی]] · [[قانون کلمب]]<br />[[میدان الکتریکی]] · [[قانون گاوس]]<br/>
[[پتانسیل الکتریکی]]<br />[[گشتاور دوقطبی الکتریکی]]
|Topic2=[[مگنتواستاتیک]]
|Items2=[[قانون آمپر]] · [[جریان الکتریکی]]<br />[[میدان مغناطیسی]] · [[شار مغناطیسی]]<br />
[[قانون بیو−ساوار]]<br />[[گشتاور مغناطیسی|گشتاور دوقطبی مغناطیسی]]
|Topic3=[[الکترودینامیک کلاسیک|الکترودینامیک]]
|Items3=[[خلأ]]<br >[[نیروی لورنتز]]<br >[[نیروی محرکه الکتریکی]] · [[القای مغناطیس]]<br />
[[قانون القای فاراده|قانون فاراده]] · [[جابجایی جریان]]<br />
[[معادلات ماکسول]] · [[میدان الکترومغناطیس]]<br />[[امواج الکترومغناطیس]]<br />
[[جریان گردابی]] · [[تنسور تنش ماکسول|تنسور ماکسول]]
|Topic4=[[شبکه الکتریکی]]
|Items4=[[هدایت الکتریکی]] <br /> [[مقاومت (قطعه الکتریکی)|مقاومت]] · [[خازن]] · [[القاگر]] </br>
[[امپدانس الکتریکی|امپدانس]] · [[رزوناتور]] · [[هادی امواج الکترومغناطیسی]]
|Topic5=[[نظریه نسبیت]]
|Items5=[[پتانسیل لنارد−ویخرت]]<br/>[[تنسور الکترومغناطیسی]]<br />[[تنسور تنش−انرژی الکترومغناطیسی]]
|دانشمندان =[[چارلز آگوستین دو کلمب|کلمب]] · [[آندره-ماری آمپر|آمپر]] · [[جیمز کلرک ماکسول|ماکسول]]
|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
{{الکترومغناطیس|cTopic=[[مگنتواستاتیک]]}}
and the topic مگنتواستاتیک uncollapses
نتیجه
[ویرایش | اشتراکگذاری]| مثال ۱ | مثال ۲ | مثال ۳ | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|