模板:Unspaced page end
This template removes the automatic space that is added between pages when they are transcluded.
For example, when a page starts with an unspaced em dash (—), this template can be added to the end of the previous page to prevent a space automatically being added before the dash during transclusion.
Usage
編輯Place at the end of the page:
{{upe}}
Examples
編輯Page source | Page namespace | Transcluded | |
---|---|---|---|
End of first page | end of one sentence fragment{{upe}}
|
end of one sentence fragment | end of one sentence fragment—start of the next |
Start of second page | —start of the next
|
—start of the next |
Page source | Page namespace | Transcluded | |
---|---|---|---|
End of first page | CJK characters 例{{upe}}
|
CJK characters 例 | CJK characters 例子 divided over a page break |
Start of second page | 子 divided over a page break
|
子 divided over a page break |
上述文件嵌入自Template:Unspaced page end/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。 本模板的子頁面。 |