Template:Article link

From blackwiki
Jump to navigation Jump to search

Script error: No such module "Section link".

Template documentation

This is a special-purpose variant of {{Section link}} for linking from a talk page to the corresponding article. It does not display the article name, but infers it from the talk page it is used on. {{Article link|Section}} expands to {{Section link|1={{ARTICLEPAGENAME}}|2=Section|nopage=y}} and renders as Script error: No such module "Section link"..

It may also be accessed vis the shortcut {{alink}}. It supports multiple sections (up to 8), just like Script error: No such module "Section link"., e.g. {{Alink|One|Two|Three|Four|Five}}Script error: No such module "Section link"..

This is useful for creating a clickable link to a particular section in an article as part of talk page discussions.

It may also be used within an article. {{slink||Section}} may be replaced by {{alink|Section}}, saving one | symbol.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Article link

This template is used to generate a link from a talk page to a certain section of the corresponding article, rendered with an appropriate section mark (§). This template may generate consecutive links to several sections of the same page.

Template parameters

ParameterDescriptionTypeStatus
Section name 11

Name of the (first) section to which the link must be created. This parameter is mandatory.

Stringrequired
Section name 22

This template can link to additional sections within one page. You may supply another section name in this field.

Stringoptional
Section name 33

This template can link to additional sections within one page. You may supply another section name in this field.

Stringoptional
Section name 44

This template can link to additional sections within one page. You may supply another section name in this field.

Stringoptional