الگو:Cnote2
| این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
گزینههای دیگر از طریق {{Ref}}، {{Note}}، {{Ref label}}، {{Note label}}، {{Cref}}، {{Cnote}} و غیره قابل دسترس هستند. این الگو جامعترین است. مقالهها بیشتر بر این فرض ساخته میشوند که چگونه یک مقاله به عنوان نمونهای برای مقاله دیگر عمل میکند. برای فهرستی از مقالاتی که از این الگو استفاده میکنند پیوندها به این صفحه را ببینید.
این الگو همراه با الگوهای زیر بکار میرود:
- {{Cref2}}
- {{Cnote2}}
- {{Cnote2 Begin}}
- {{Cnote2 End}}
هدف
[ویرایش]این الگو برای تکمیل برچسب <reference /> استفاده میشود و برای (۱) سبک فهرست، (۲) دنباله فهرست، (۳) گروهبندی پنهان و (۴) جاسازی، گزینهای را ارائه نمیدهد. این الگو برای یادداشتهای توضیحی طراحی شده است. با این حال ممکن است برای ارجاعدهی نیز استفاده شود.
سامانه پانویسها هماکنون شامل موارد زیر است:
- سبک فهرست— راهنما:پانویس#برچسب استناد (en)
- گروهها— راهنما:پانویس#گروهها (en)
- جاسازی— پانویسها: منابع جاسازیشده (en)
پارامترها
[ویرایش]Cref2
[ویرایش]Cref2 به صورت درونخطی در متن قرار میگیرد. سه پارامتر وجود دارند. نخستین پارامتر، الزامی و دو مورد آخر اختیاری هستند.
- نخستین پارامتر target (هدف) است و باید با مورد استفاده شده در Cnote2 مطابقت داشته باشد.
- پارامتر اختیاری دوم occurrence (رخداد) را مشخص میکند. برای نمونه، برخی از مقالات به بیش از یک cref درونخطی نیاز دارند که در متن مقاله قرار میگیرند. تعداد دفعاتی که Cref2 به ترتیب رخ میدهد از ۱ آغاز میشود. بیشترین مقدار با هدف سَبک، ۶ است.
- سومین پارامتر اختیاری گروه است که مورد درونخطی به آن تعلق دارد. برای نمونه، گروه Cnote2 و Cref2 پارامتر گروه را برای تمایز بین هر گروه، جداگانه اعمال میکنند.
{{Cref2|N}}
اگر بیش از یک Cref2 وجود دارد که باید به Cnote2 با نشانگر "A" پیوند یابد، دومین پارامتر "رخداد" را اعمال کنید.
اگر دو گروه Cref2 وجود دارند، باید ۱) یک "هدف" کمی توصیفیتر را اعمال کنید، یا ۲) از پارامتر "گروه" استفاده کنید.
Cnote2
[ویرایش]Cnote2 پنج پارامتر دارد: (۱) هدف، (۲) متن، (۳) شماره، (۴) مقدار و (۵) گروه. دو پارامتر نخست، الزامی و سه پارامتر بعدی اختیاری هستند. هر Cnote2 میتواند با حداکثر یک فاصله سفید (whitespace) از دیگری جدا شود. ممکن است فهرستهای کوچکتر نیازی به این جداسازی نداشته باشند و فهرستهای بزرگتر و پیچیدهتر با این کار از خوانایی بهتری بهرهمند شوند.
«هدف» که اول قرار میگیرد، مورد درون خطی را مشخص میکند که باید با Cref2 که به آن پیوند مییابد مطابقت داشته باشد. «متن»، محتوای یادداشت را مشخص میکند. اگر هر یک از این دو پارامتر مورد نیاز خالی باشند، یک پیام خطا ظاهر میشود.
گاهی اوقات یک مقاله ممکن است چندین رخداد درونخطی داشته باشد. برای نمونه، یک منبع یا یادداشت توضیحی ممکن است بیش از یک بار استفاده شود. Cnote2 با Cref2 متفاوت است. «n» تعداد دفعات تکرار Cref2 را مشخص میکند. برای مثال، اگر دو رخداد وجود داشته باشند، n=2 است. در برخی موارد ممکن است خواسته شود که همه پیوندهای یک رخداد درونخطی (شبیه به خاموش کردن "backlinkها" در Cite.php، یا القای حس یک فهرست معمولی) حذف شوند. در این موارد n=0 را تنظیم کنید.
{{Cnote2 Begin}}
{{Cnote2|A|text text text text}}
{{Cnote2|B|2= do this if you need to use an equal sign}}
{{Cnote2|C|n=1|text text text text}}
{{Cnote2|D|n=6|text text text text}}
{{Cnote2|E|n=3|text text text text}}
{{Cnote2|F|n=0|text text text text}}
{{Cnote2 End}}
چهارمین پارامتر، «مقدار» است که به ویرایشگر اجازه میدهد تا دنبالهای را که آیتمهای فهرستشده را شمارهگذاری یا حروفگذاری میکند، قطع کند. برای نمونه، به طور پیشفرض ترتیب آیتمهای فهرست به صورت A، B، C، D، E، F، G... است یا اگر سبک فهرست شمارهگذاری شده باشد، به صورت ۱، ۲، ۳، ۴، ۵، ۶، ۷... است. برای تغییر این دنباله، یک عدد صحیح غیر صفر مثبت را به پارامتر «مقدار» اختصاص دهید. به عنوان مثال، اگر 3 (به انگلیسی وارد کنید) به Cnote2 دوم منتقل شود، ترتیب به صورت A، C، D، E، F، G، H... یا ۱، ۳، ۴، ۵، ۶، ۷، ۸ خواهد بود.
برخی از مقالات بسیار بزرگ به بیش از یک فهرست Cnote2 یا Cref2 نیاز دارند. پارامتر «گروه» ممکن است به خاطر (۱) کاهش سردرگمی بالقوه بین فهرستها و (۲) ثابت ماندن و عدم تغییر cref درونخطی با یک هدف توصیفیتر بکار رود. یک کاراکتر یا رشتهای از کاراکترها را به پارامتر گروه وارد کنید.
text{{Cref2|A|group=1}} text{{Cref2|B|group=1}}
text{{Cref2|A|group=2}} text{{Cref2|B|group=2}}
{{Cnote2 Begin}}
{{Cnote2|A|group=1|text text text text}}
{{Cnote2|B|group=1|text text text text}}
{{Cnote2 End}}
{{Cnote2 Begin}}
{{Cnote2|A|n=3|group=2|text text text text}}
{{Cnote2|B|n=5|group=2|text text text text}}
{{Cnote2 End}}
Cnote2 Begin
[ویرایش]Cnote2 Begin همانند {{Refbegin}} دو پارامتر دارد.
- colwidth عرض ستون پویا (مانند 30em). این روشِ وارد کردن عرض فقط در مرورگرها خاص کار میکند. توجه داشته باشید که میتوانید تعداد ستونها را دقیقاً با جایگزینی colwidth=30em با "2" یا "3" مشخص کنید.)
- liststyle سبک فهرستی را که میخواهید استفاده کنید وارد کنید. پیشفرض آن upper-alpha است.
{{Cnote2 Begin|liststyle=upper-roman|colwidth=30em}}
{{Cnote2|I|text text text text|group=roman sample}}
{{Cnote2|II|text text text text|group=roman sample}}
{{Cnote2|III|text text text text|group=roman sample}}
{{Cnote2 End}}
Cnote2 End
[ویرایش]در پایان فهرست Cnote2 الگوی {{Cnote2 End}} را قرار دهید.
نمونه
[ویرایش]ساده
[ویرایش]سامانه الگوی Cnote2 شبیه به برچسب <reference /> است. Cref2 را درون خط و note2 را در ضمیمههای استاندارد قرار دهید. به یاد داشته باشید که همیشه Cnote2 را مرتب نگه دارید. در غیر این صورت ممکن است برای خواننده گیج کننده باشد.
Austen's artistic apprenticeship lasted from her teenage years until she
was about thirty-five years old. During this period, she experimented
with various literary forms, including the epistolary novel which she
tried and then abandoned, and wrote and extensively revised three major
novels and began a fourth.{{Cref2|i}} Austen's works critique the novels of
sensibility of the second half of the eighteenth century and are part of
the transition to nineteenth-century realism.{{Cref2|ii}}
...
{{Cnote2 Begin|liststyle=lower-roman|colwidth=40em}}
{{Cnote2|i|These included the original versions of and revisions to
the novels later published as Sense and Sensibility, Pride and Prejudice
and Northanger Abbey, and a novel fragment, The Watsons}}
{{Cnote2|ii|Oliver MacDonagh says that Sense and Sensibility "may
well be the first English realistic novel" based on its detailed
and accurate portrayal of what he calls "getting and spending"
in an English gentry family.}}
{{Cnote2 End}}
Austen's artistic apprenticeship lasted from her teenage years until she was about thirty-five years old. During this period, she experimented with various literary forms, including the epistolary novel which she tried and then abandoned, and wrote and extensively revised three major novels and began a fourth.[i] Austen's works critique the novels of sensibility of the second half of the eighteenth century and are part of the transition to nineteenth-century realism.[ii]
...
- ^ These included the original versions of and revisions to
the novels later published as Sense and Sensibility, Pride and Prejudice
and Northanger Abbey, and a novel fragment, The Watsons - ^ Oliver MacDonagh says that Sense and Sensibility "may
well be the first English realistic novel" based on its detailed and accurate portrayal of what he calls "getting and spending"
in an English gentry family.
با چند رخداد
[ویرایش]منابع یا یادداشتهای توضیحی نباید بیش از اندازه مورد استفاده قرار بگیرند. بیشترین استفاده، به دلایل سبک، شش بار است. غالباً اگر تعداد رخداد بیش از شش باشد، ویرایشگران اغلب "backlinks را خاموش میکنند". برای انجام این کار cnote2 مقدار n=0 را وارد کنید. این نمونه، دو رخداد و استفاده احتمالی از فضای سفید را نشان میدهد.
Global warming is the increase in the average temperature of the
Earth's near-surface air and oceans since the mid-twentieth century
and its projected continuation. Global surface temperature increased
0.74 ± 0.18 °C (1.33 ± 0.32 °F) during the last century.{{cref2|1|1}}
The Intergovernmental Panel on Climate Change (IPCC) concludes that
anthropogenic greenhouse gases are responsible for most of the observed
temperature increase since the middle of the twentieth century,{{cref2|1|2}}
and that natural phenomena such as solar variation and volcanoes
probably had a small warming effect from pre-industrial times to
1950 and a small cooling effect afterward.{{cref2|2|1}}{{cref2|3}}
...
{{Cnote2 Begin|liststyle=decimal|2}}
{{Cnote2|1|n=2|{{cite web
|url=http://www.ipcc.ch/pdf/assessment-report/ar4/wg1/ar4-wg1-spm.pdf
|author=IPCC
|format=PDF
|title=Summary for Policymakers
|date=2007
|publisher=Intergovernmental Panel on Climate Change}}}}
{{Cnote2|2|{{cite web
|url=http://www.ipcc.ch/pdf/assessment-report/ar4/wg1/ar4-wg1-chapter9.pdf
|format=PDF
|title=Understanding and Attributing Climate Change
|date=2007
|publisher=Intergovernmental Panel on Climate Change
|last=Hegerl
|first=Gabriele C.}}}}
{{Cnote2|3|{{cite journal
|last=Ammann
|first=Caspar
|date=2007
|journal=PNAS
|title=Solar influence on climate during the past millennium
|doi=10.1073/pnas.0605064103
|pmid=17360418
|pmc=1810336|display-authors=etal}}}}
{{Cnote2 End}}
Global warming is the increase in the average temperature of the Earth's near-surface air and oceans since the mid-twentieth century and its projected continuation. Global surface temperature increased 0.74 ± 0.18 °C (1.33 ± 0.32 °F) during the last century.[1] The Intergovernmental Panel on Climate Change (IPCC) concludes that anthropogenic greenhouse gases are responsible for most of the observed temperature increase since the middle of the twentieth century,[1] and that natural phenomena such as solar variation and volcanoes probably had a small warming effect from pre-industrial times to 1950 and a small cooling effect afterward.[2][3]
...
- ^ a b IPCC (2007). "Summary for Policymakers" (PDF). Intergovernmental Panel on Climate Change.
- ^ Hegerl, Gabriele C. (2007). "Understanding and Attributing Climate Change" (PDF). Intergovernmental Panel on Climate Change.
- ^ Ammann, Caspar; et al. (2007). "Solar influence on climate during the past millennium". PNAS. 104 (10): 3713–3718. doi:10.1073/pnas.0605064103. PMC 1810336. PMID 17360418.
See also
[ویرایش]{{refn|name=name|group=groupname|Reference or note including <ref></ref>}}، الگویی که امکان استفاده از منابع جاسازی شده و نام گروههای جایگزین را میدهد.- ویکیپدیا:الگوهای استناد (en)
- ویکیپدیا:شیوه ارجاع به منابع (en)
- en:Wikipedia:Footnote3
- en:Wikipedia:Footnote4