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 61:
=== Hiển thị cước chú ===
 
Cách cơ bản nhất để hiển thị cước chú là dùng thẻ <nowiki><references/></nowiki>. Thẻ này nên đặt ở:
=== Displaying the footnotes ===
# Phía cuối trang trong [[Trợ giúp:Không gian tên|không gian chính]], ngau phía sau [[Trợ giúp:Nhúng chéo|văn bản được nhúng]] và trước thể loại và các mục ở cuối trang khác.
# Trong [[Trợ giúp:Trang mục lục#Chân trang|trường "chân trang"]] tại mỗi trang trong không gian tên Trang có chứa cước chú. Mặc định, tất cả các trang sẽ đựoc tự động thêm chân trang này nhưng nó sẽ bị ghi đè khi cần.
 
Thẻ này sẽ tự động tạo ra danh sách được đánh số thứ tự gồm tất cả các mục có thẻ <nowiki><ref></nowiki> trong trang. Việc văn bản được gắn thẻ được viết trực tiếp vào trang bằng cách sửa đổi hay được nhúng từ không gian tên Trang không còn quan trọng. Danh sách sẽ được sắp xếp theo thứ tự mà cước chú xuất hiện trong trang (tức là, cước chú đầu tiên là số 1, cước chú thứ hai là số 2, v.v.).
The most basic way of displaying footnotes is with the <nowiki><references/></nowiki> tag. This should be placed:
# At the bottom of the page in the [[Help:Namespace|main namespace]], immediately after the [[Help:Transclude|transcluded text]] and before the categories and other footer items.
# In the [[Help:Index pages#Footer|"footer" field]] of the each page in the Page namespace that contains footnotes. By default, all index pages automatically add this footer but this can be overridden manually at the index page.
 
Tiếp tục ví dụ ở trên:
This tag will automatically create a numbered list of all items in <nowiki><ref></nowiki> tags on the page. It does not matter if the tagged text has been directly written into the page by editing or if it has been transcluded from the Page namespace. The list will be sorted in the order the footnotes exist on the page (ie. first footnote is number 1, second footnote is number 2, etc).
 
Using the example above:
 
 
{| class="wikitable" style="width:75%; margin:0 auto 0 auto;"
! Văn bản wiki
! Wikitext
| <nowiki><references/></nowiki>
|-
! Xuất hiện
! Appearance
| <references/>
|}
 
 
Optionally,Thay instead of thethẻ <nowiki><references/></nowiki> tag, onebạn có thể dùng ofmột thetrong followingcác templatesthẻ maysau beđể usedthay insteadthế:
* {{tl|reflist}}
* {{tl|smallrefs}}