Khác biệt giữa bản sửa đổi của “Trợ giúp:Cước chú”

Nội dung được xóa Nội dung được thêm vào
Dòng 199:
Trường hợp phức tạp hơn là khi cùng cước chú được gọi trong các trang khác nhau trong văn bản. Phương pháp mẹo trong tình huống này có thể xem tại [[:en:Page:Vocabulary of Menander (1913).djvu/24|Wikisource tiếng Anh ở đây]].
 
=== MultipleNhiều pagestrang thattham referencekhảo thecùng samemột footnotecước chú ===
{{hatnote|ThisGiải solutionpháp onlynày workschỉ onhoạt pagesđộng thattại arecác transcludedtrang togetherđược innhúng thechung Maintrong namespacekhông gian Chính.}}
 
Đôi khi, một trang tham khảo đến một cước chú nằm ở trang trước đó của tác phẩm. Đây là một giải pháp để làm cho cả hai trang và toàn bộ văn bản được nhúng nhìn đúng:
Sometimes, a page references a footnote located on another page earlier in the work. Here is one solution to make both pages and the whole transcluded document look right:
 
;Trang có chứa cước chú
;Page containing the footnote
Trang có chứa cước chú nên đặt tên cho tham khảo. Ví dụ:
The page containing the footnote should name the reference. Example:
 
<syntaxhighlight lang="HTML5">ThisTrang pagenày referencestham thekhảo footnoteđến forcước thechú firstlần timeđầu tiên.<ref name="nametên-oftham-the-refkhảo">ThisĐây is thecước footnotechú thatđược istham referencedkhảo bybởi multiplenhiều pagestrang.</ref></syntaxhighlight>
 
;Trang khác cũng tham khảo đến cước chú
;Other page referencing the footnote
Trong phần '''thân''' trang, tham khảo chỉ nên có tên. Ví dụ:
In the '''body''' of the page, the reference should be given the name only. Example:
 
<syntaxhighlight lang="HTML5">TheTrang otherkhác pagecũng referencingtham thekhảo footnoteđến shouldcước onlychú includechỉ itsnên name intên thetrong bodyphần ofvăn the textbản.<ref name="nametên-oftham-the-refkhảo" /></syntaxhighlight>
 
Trobng phần '''chân trang''', một trong các lựa chọn sau phải xuất hiện, tùy vào định dạng tham khảo dùng ở các nơi khác trong tác phẩm:
In the '''footer''' of the page, one of the following options must appear, depending on which reference format is being used elsewhere in the work:
{|
| With <code><nowiki><references /></nowiki></code>:
<syntaxhighlight lang="HTML5"><references>
<ref name="nametên-oftham-the-refkhảo">This isĐây the footnotecước thatchú isđược referencednhiều bytrang multipletham pageskhảo.</ref>
</references></syntaxhighlight>
| With <code>{{tl|smallrefschú thích nhỏ}}</code>:
<syntaxhighlight lang="HTML5">{{smallrefs|refx=
<ref name="nametên-oftham-the-refkhảo">This isĐây the footnotecước thatchú isđược referencednhiều bytrang multipletham pageskhảo.</ref>
}}</syntaxhighlight>
| With <code>{{tl|reflist}}</code>:
<syntaxhighlight lang="HTML5">{{reflist|refs=
<ref name="nametên-oftham-the-refkhảo">This isĐây the footnotecước thatchú isđược referencednhiều bytrang multipletham pageskhảo.</ref>
}}</syntaxhighlight>
|}
SeeXem [[:en:Page:Oregon Historical Quarterly vol. 4.djvu/35]] and [[:en:Page:Oregon Historical Quarterly vol. 4.djvu/38]] forđể biết acách demonstrationdùng.