Bản mẫu:Cref2

Bách khoa toàn thư mở Wikipedia

[{{{1}}}]

Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Tiêu bản này được sử dụng kết hợp với:

Các tiêu bản này tương tự như các tiêu bản cũ {{Cnote}}, {{Cref}}, and {{hcref}}.

Cách sử dụng[sửa mã nguồn]

Tiêu bản này được sử dụng như phần hỗ trợ cho <reference /> tag, nó không thêm trực tiếp vào mục danh sách tham khảo. Tiêu bản này dùng để ghi thêm giải thích.

Các thông số[sửa mã nguồn]

Cref2[sửa mã nguồn]

Cref2 được đặt trong cùng dòng với nội dung văn bản, thông số đầu tiên phải tương ứng với thông số đầu tiên trong tiêu bản Cnote2.

{{Cref2|n}}

Cho kết quả:

[n]

Cnote2[sửa mã nguồn]

Cnote2 có 2 thông số là: thông số đích và chữ. Thông số đích ghi đầu tiên và phải tương ứng với thông số đầu trong Cref2. Thông số thứ 2 là chữ. Nếu trong phần tham số này có chứa kí hiệu thì phải đặt nó trong dấu " " như "2=" (e.g. | ) ví dụ:

{{Cnote2 Begin|list-style=disc}}
{{Cnote2|i|text text text text}}
{{Cnote2|i|2=text and equal sign = text}}
{{Cnote2 End}}

Cho kết quả:

  1. ^
    text text text text
  2. ^
    text and equal sign = text

Cnote2 Begin[sửa mã nguồn]

Cntoe2 Begin, tương tự {{Refbegin}} thì có 2 thông số.

  • colwidth: độ rộng cột như 30em; this only works for certain web browsers. (Note, rather than using colwidth, you can specify the number of columns exactly by replacing the colwidth=30em with either a "2" or "3".)
  • liststyle enter the list style you wish to use, the default is upper-alpha.
{{Cnote2 Begin|liststyle=upper-roman|colwidth=30em}}
{{Cnote2|I|text text text text}}
{{Cnote2|II|text text text text}}
{{Cnote2|III|text text text text}}
{{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[sửa mã nguồn]

Tiêu bản này được đặt vào cuối danh sách Cnote2.

Advanced[sửa mã nguồn]

Occasionally an article may require that the footnote be linked to multiple inline instances. For example, a reference or explanatory note may be used more than once. In this case there is an additional parameter that could can apply to Cref2, and an additional parameter that could be applied to Cnote2.

  • For Cref2, add another integer starting at 1 couting up with each additional inline instance up to six. Such as {{Cref2|1|1}} for the first instance and {{Cref2|1|2}} for the second.
  • Cnote2 is different, "n=" the number of instances. If there are two instance n=2. For the above example, the Cnote2 would be set such that {{Cnote2|1|n=2|text text text}}.

Ví dụ[sửa mã nguồn]

Xem ví dụ trong bài Trái Đất.

Đơn giản[sửa mã nguồn]

The Cnote2 template system is used similar to the <reference /> tag. Place Cref2 inline and the Cnote2 in the standard appendicies. Remember to always keep Cnote2 in order, otherwise this may confuse the reader.

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|A}} 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|B}}

...

{{Cnote2 Begin|liststyle=upper-alpha|colwidth=40em}}
{{Cnote2|A|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|B|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.[A] 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.[B]

...

  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.

Nâng cao[sửa mã nguồn]

Although references or explanatory notes should not be so readily reused, this option provides for those cases which require it.

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|{{chú thích 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|{{chú thích 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
|others=''et al.''
|date=2007
|title=Solar influence on climate during the past millennium
|doi=10.1073/pnas.0605064103
|pmid=17360418}}}}
{{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 (2007). “Solar influence on climate during the past millennium”. et al. doi:10.1073/pnas.0605064103. PMID 17360418. Chú thích journal cần |journal= (trợ giúp)

Xem thêm[sửa mã nguồn]