Difference between revisions of "Template:Anchor"
m (modified description) |
m (typo) |
||
Line 6: | Line 6: | ||
{{Template | {{Template | ||
|description= | |description= | ||
− | Adds | + | Adds a html anchor to the page, which can be referenced by [[#anchor]]. |
|template=<nowiki>{{Anchor|text|anchor}}</nowiki> | |template=<nowiki>{{Anchor|text|anchor}}</nowiki> |
Revision as of 16:14, 20 October 2010
Adds a html anchor to the page, which can be referenced by #anchor.
Template
{{Anchor|text|anchor}}
Parameters
- text
- Display text
- anchor (optional)
- Anchor string. If missing, text is used as anchor string.
Examples
- Input
* The {{Anchor|output}} is described below. * {{Anchor|Any Text with ''style''|myAnchor}}
- Output
- The output is described below.
- Any Text with style
For more examples refer to pages, which use this template: What links here.
Help:Templates describes general usage of templates, including treatment of special characters.
Long page simulation
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10