پرش به محتوا

الگو:Cnote2 End

از ویکی‌پدیا، دانشنامهٔ آزاد
    توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

    گزینه‌های دیگر از طریق {{Ref}}، {{Note}}، {{Ref label}}، {{Note label}}، {{Cref}}، {{Cnote}} و غیره قابل دسترس هستند. این الگو جامع‌ترین است. مقاله‌ها بیشتر بر این فرض ساخته می‌شوند که چگونه یک مقاله به عنوان نمونه‌ای برای مقاله دیگر عمل می‌کند. برای فهرستی از مقالاتی که از این الگو استفاده می‌کنند پیوندها به این صفحه را ببینید.

    این الگو همراه با الگوهای زیر بکار می‌رود:

    هدف

    [ویرایش]

    این الگو برای تکمیل برچسب <reference /> استفاده می‌شود و برای (۱) سبک فهرست، (۲) دنباله فهرست، (۳) گروه‌بندی پنهان و (۴) جاسازی، گزینه‌ای را ارائه نمی‌دهد. این الگو برای یادداشت‌های توضیحی طراحی شده است. با این حال ممکن است برای ارجاع‌دهی نیز استفاده شود.

    سامانه پانویس‌ها هم‌اکنون شامل موارد زیر است:

    پارامترها

    [ویرایش]

    Cref2 به صورت درون‌خطی در متن قرار می‌گیرد. سه پارامتر وجود دارند. نخستین پارامتر، الزامی و دو مورد آخر اختیاری هستند.

    • نخستین پارامتر target (هدف) است و باید با مورد استفاده شده در Cnote2 مطابقت داشته باشد.
    • پارامتر اختیاری دوم occurrence (رخداد) را مشخص می‌کند. برای نمونه، برخی از مقالات به بیش از یک cref درون‌خطی نیاز دارند که در متن مقاله قرار می‌گیرند. تعداد دفعاتی که Cref2 به ترتیب رخ می‌دهد از ۱ آغاز می‌شود. بیشترین مقدار با هدف سَبک، ۶ است.
    • سومین پارامتر اختیاری گروه است که مورد درون‌خطی به آن تعلق دارد. برای نمونه، گروه Cnote2 و Cref2 پارامتر گروه را برای تمایز بین هر گروه، جداگانه اعمال می‌کنند.
    {{Cref2|N}}
    

    [N]

    اگر بیش از یک Cref2 وجود دارد که باید به Cnote2 با نشانگر "A" پیوند یابد، دومین پارامتر "رخداد" را اعمال کنید.

    first occurrence{{Cref2|A|1}} second occurrence{{Cref2|A|2}}
    

    first occurrence[A] second occurrence[A]

    اگر دو گروه Cref2 وجود دارند، باید ۱) یک "هدف" کمی توصیفی‌تر را اعمال کنید، یا ۲) از پارامتر "گروه" استفاده کنید.

    long target name;{{Cref2|nb N}} first group first occurrence;{{Cref2|N|group=1}}
    second group first occurrence{{Cref2|N|1|group=2}} second{{Cref2|N|2|group=2}}
    

    long target name;[nb N] first group first occurrence;[N] second group first occurrence[N] second[N]

    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}}
    
    1. ^
      text text text text
    2. ^
      do this if you need to use an equal sign
    3. ^
      text text text text
    4. ^ a b c d e f
      text text text text
    5. ^ a b c
      text text text text
    6. text text text text

    چهارمین پارامتر، «مقدار» است که به ویرایشگر اجازه می‌دهد تا دنباله‌ای را که آیتم‌های فهرست‌شده را شماره‌گذاری یا حروف‌گذاری می‌کند، قطع کند. برای نمونه، به طور پیش‌فرض ترتیب آیتم‌های فهرست به صورت A، B، C، D، E، F، G... است یا اگر سبک فهرست شماره‌گذاری شده باشد، به صورت ۱، ۲، ۳، ۴، ۵، ۶، ۷... است. برای تغییر این دنباله، یک عدد صحیح غیر صفر مثبت را به پارامتر «مقدار» اختصاص دهید. به عنوان مثال، اگر 3 (به انگلیسی وارد کنید) به Cnote2 دوم منتقل شود، ترتیب به صورت A، C، D، E، F، G، H... یا ۱، ۳، ۴، ۵، ۶، ۷، ۸ خواهد بود.

    {{Cnote2 Begin}}
    {{Cnote2|G|n=3|value=7|text text text text}}
    {{Cnote2|H|text text text text}}
    {{Cnote2|I|n=2|text text text text}}
    {{Cnote2|J|text text text text}}
    {{Cnote2 End}}
    
    1. ^ a b c
      text text text text
    2. ^
      text text text text
    3. ^ a b
      text text text text
    4. ^
      text text text text

    برخی از مقالات بسیار بزرگ به بیش از یک فهرست 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}}
    

    text[A] text[B] text[A] text[B]

    1. ^
      text text text text
    2. ^
      text text text text
    1. ^ a b c
      text text text text
    2. ^ a b c d e
      text text text text

    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}}
    
    1. ^
      text text text text
    2. ^
      text text text text
    3. ^
      text text text text
    {{Cnote2 Begin|liststyle=decimal-leading-zero|2}}
    {{Cnote2|01|text text text text}}
    {{Cnote2|02|text text text text}}
    {{Cnote2|03|text text text text}}
    {{Cnote2 End}}
    
    1. ^
      text text text text
    2. ^
      text text text text
    3. ^
      text text text text

    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]

    ...

    1. ^
      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
    2. ^
      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]

    ...

    1. ^ a b
      IPCC (2007). "Summary for Policymakers" (PDF). Intergovernmental Panel on Climate Change.
    2. ^
      Hegerl, Gabriele C. (2007). "Understanding and Attributing Climate Change" (PDF). Intergovernmental Panel on Climate Change.
    3. ^
      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

    [ویرایش]

    منابع

    [ویرایش]