Template:Anchor
Appearance
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this template's documentation (edit) (about template documentation). |
No TemplateStyles exist (create). Remember to add after the opening <includeonly> tag:
|
<templatestyles src="Template:Anchor/styles.css" />
|
Example(s)
[edit source]{{anchor|variables|page=Controlling output format}}gives:
{{anchor|variables|use some Variables|page=Controlling output format}}gives:
See Also
[edit source]{{Anc}}, the partner template to this one, used to set (and auto-format) named anchors.
Template Data
[edit source]Links to an HTML anchor (named anchor) as set by the {Anc} template, which automatically pre-formats the anchor, forcing lowercase and replacing spaces with dashes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Enter the name for the anchor, omitting any special characters as documented in the {anc} template. Note that spaces are auto-replaced by dashes, and lowercase is forced, only for the link itself. | String | optional |
| 2 | 2 | Enter any text to override the display text, which overrides the link (display) text only. | String | optional |
| page | page | If the anc (anchor using the {anc} template) isn't located on the same page, specify the page (including namespaces). | Page name | optional |
Manual documentation templates