틀:Anchor/doc
둘러보기로 이동
검색으로 이동
Use this template to create an HTML anchor at a point on a page. Anchors allow linking to a specific line on a page, which the client browser will automatically scroll to.
Usage
{{ anchor | <anchor name> | toc = 1–6/y/yes (optional) }}
- First unnamed parameter
Name of the anchor.
- toc
If this parameter is set, an invisible heading will be added, for linking from the table of contents. The level of the heading can be passed as the parameter's value (
through 1
); it will default to 6
if anything else is passed.
3
Linking to anchors
Once an anchor is created, a link can be directed to it by adding a
symbol to the page name, followed by the anchor name, e.g. #
[[Page name#Anchor name]]
Example:
[[Dyes#Bright Yellow Dye|Dyes § Bright Yellow Dye]]
produces: Dyes § Bright Yellow Dye
분류:
- 구식 enclose 속성을 사용하는 문서
- Pages using DynamicPageList3 dplvar parser function
- Template documentation