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 180:
Nội dung mới sẽ tạo ra: {{hộp giữa|align=left|Đây là một câu lệnh cơ bản{{#tag:ref|Không phải<ref group="I">Đây là cơ hội để viết điều gì hài hước.</ref> là ngôn ngữ lập trình!|group="O"}}.<references group="O"/><references group="I"/>}}
 
===Nhiều tham khảo cùng chỉ đến một cước chú===
===Multiple references that point to the same footnote===
Đôi khi có nhiều hơn một tham khảo cùng chỉ đến một cước chú, ví dụ.
Sometimes two or more references may point to the same footnote, for example.
 
 
{| class="wikitable" style="width:75%; margin:0 auto 0 auto;"
! Văn bản
! Text
| HereĐây is onemột referencetham khảo<ref name=ref>ThisĐây is thecước footnotechú that canthể beđến reachedđược bytừ theba threethẻ differenttham referencekhảo tagskhác nhau</ref> and heređây is anothermột cái nữa<ref name=ref /> pointingchỉ tođến thecùng samecước footnotechú. HereĐây, lại thêm ismột onecái morenữa<ref name=ref />
|-
! Cước chú
! Footnote
| <references />
|}
 
 
ThisĐể islàm accomplishedđược byđiều usingnày thecần tham số "name" parameter(tên). GiveĐặt thetên firstriêng referencecho atham uniquekhảo nameđầu tiên, introng our exampledụ it istrên là '''ref''' and eachcác subsequenttham referencekhảo thatsau pointschỉ tođến thecùng samecước footnotechú issẽ taggedđược gắn thẻ <nowiki><ref name= /></nowiki> wherenơi youbạn wantmuốn thehiện referencestham to appearkhảo. InTrong ví ourdụ example ittrên is <nowiki><ref name=</nowiki>'''ref''' />
 
<syntaxhighlight lang="HTML5">HereĐây is onemột referencetham khảo<ref name=ref>ThisĐây is thecước footnotechú that canthể beđến reachedđược bytừ theba threethẻ differenttham referencekhảo tagskhác nhau</ref> and heređây is anothermột cái nữa<ref name=ref /> pointingchỉ tođến thecùng samecước footnotechú. HereĐây, lại thêm ismột onecái morenữa<ref name=ref /></syntaxhighlight>
 
ThereTrường arehợp additionalphức complicationstạp whenhơn the samekhi footnotecùng iscước calledchú fromđược moregọi thantrong thancác onetrang pagekhác innhau thetrong textvăn bản. APhương possiblepháp workaroundmẹo introng thesetình situationshuống isnày có thể xem tại [[:en:Page:Vocabulary of Menander (1913).djvu/24|demonstratedWikisource tiếng Anh ở heređây]].
 
=== Multiple pages that reference the same footnote ===