Template:SDlink/sandbox
Appearance
This is the template sandbox page for Template:SDlink (diff). See also the companion subpage for test cases. |
Usage
[edit]This template is a version of {{Annotated link}} that checks for and fixes a bug in the handling of a numbered parameter.
Example
[edit]An Example article
includes a short description template with a numeric first parameter — {{Short description|1=A description}}
Using {{Annotated link|Example article}}
will display incorrectly as Example article — 1=A description
Using {{SDlink|Example article}}
will display correctly as Example article — A description
Syntax
[edit]See {{Annotated link}} for full details.