Template:Anchor link/sandbox
Appearance
No anchor specified
This is the template sandbox page for Template:Anchor link (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
[edit]Creates internal links to {{anchor}}s in for a work in main and Page namespace
- mandatory parameters
- 1, anchor = name of anchor
- 2, pageno = page number with the work in the Page: namespace
- optional parameter
- 3, subpage = name of different subpage of the work, where the anchor is on a different subpage
{{anchor link|anchor=101*|pageno=616}}
See its usage at Page:A Compendium of Irish Biography.djvu/617 and A Compendium of Irish Biography/Authorities.
Note: This anchor depends on the name of the work in the Page: namespace to align with the name of the work in main namespace to allow the links to work by default in both places.
See also
[edit]- {{Anchor link 2}}