Template:SDlink: Difference between revisions
Template page
More actions
Created page with "<includeonly><!-- -->[[{{{1}}}{{!}}{{{2|{{{1}}}}}}]]<!--Write piped link to article -->{{#if: {{{abbreviation|}}}| ({{{abbreviation|}}})|}}<!--If parameter abbreviation exists, write abbreviation in parentheses with leading space -->{{#if: {{{aka|}}}|, also known as {{{aka|}}}|}}<!--If parameter aka exists, write following standard prefix string -->{{#switch:{{Template parameter value|{{{1}}}|Short description|1|1|1}}||blank|none|null|not required|redundant| =|..." |
(No difference)
|
Latest revision as of 05:12, 23 February 2025
Usage
This template is a version of {{Annotated link}} that checks for and fixes a bug in the handling of a numbered parameter.
Example
An Example article
includes a short description template with a numeric first parameter — {{Short description|1=A description}}
Example article}} will display incorrectly as Example article — 1=A description
Example article}} will display correctly as Example article — A description
Syntax
See {{Annotated link}} for full details.