模板:Section
外觀
Usage
[編輯]{{section|name|text}} {{section|name}}
Creates a section anchor which can be linked to (the browser will move down to that section) with [[#name]] (same page) or [[page title#name]] (different page).
Notes
[編輯]- Certain characters, particularly spaces, will break the anchor name. Numbers, letters, hyphens, and underscores are universally accepted, so names should probably be restricted to these.
- Anchor names shouldn't depend on the name of the section, or on anything that may change in the future. The section numbers are safe to use, as they won't change if the work is edited. For example, "2a-a" is good, but "Section_2a-subsection_b" is bad because "Section" and "subsection" may be renamed by a future user using a different source.
上述文件嵌入自Template:Section/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。 本模板的子頁面。 |