Template:Annotated article links/sandbox
Appearance
![]() | This is the template sandbox page for Template:Annotated article links (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
Usage
[edit]For any given page, this template produces links to supporting pages for that page (via {{pagelinks}}
) as well as the pages's short description.
The |dash=
parameter changes the separator between the utility links and the short description annotation. It defaults to an en dash (–
).
Examples
[edit]{{laal|The May Pamphlet}}
→ The May Pamphlet (edit | talk | history | links | watch | logs) – 1945 anarchist essays by Paul Goodman{{laal|The May Pamphlet|dash=,}}
→ The May Pamphlet (edit | talk | history | links | watch | logs), 1945 anarchist essays by Paul Goodman{{laal|2020 United States presidential election|dash=,}}
→ 2020 United States presidential election (edit | talk | history | links | watch | logs){{laal|List of lists of lists}}
→ List of lists of lists (edit | talk | history | links | watch | logs) – List of indexes to lists on a topic
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Annotated article links in articles based on its TemplateData.
TemplateData for Annotated article links
A template which outputs utility links to a page, annotated with the page's short description (if one exists)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 | The name of the page being linked to
| Page name | required |
Separator | dash | The separators between the utility links and the short description
| Line | optional |