This page contains usage information for Template:A.
Template:A creates an anchor to a certain part of a page that can be linked to from or within a given page.
Contents
Usage
{{A |<unnamed 1> |<unnamed 2> }}
Note: Every anchor name needs to be unique on the page it is used on.
In the event that the desired second text is a link, use {{LA}}
instead.
Parameters
<unnamed 1>
Name of the anchor(s). You can link to each of them from other pages by using [[Page name#Anchor name]]
.
<unnamed 2>
(default: "
<unnamed 1>
" )Text to be displayed (if different from the original input).
Examples
{{A |Example anchor }}
Produces:
- Example anchor
The above string can now be linked to using Template:A/doc#Example anchor.
In order to output a different display name, use the second parameter.
{{A |Example anchor 2 |Different display text }}
Produces:
- Example anchor 2
The above string can now be linked to using Template:A/doc#Example anchor 2.
See also
{{LA}}
, used to make link text anchorable.
Community content is available under CC-BY-SA unless otherwise noted.