Template:Link current revision/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This template creates a link to the current revision of a page.

Syntax

[edit source]

{{subst:Link current revision|1}}

{{subst:Link current revision|1|2}}

Note: This won't work on the page "1" itself (a link to Special:PermanentLink will be created).

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Link current revision in articles based on its TemplateData.

TemplateData for Link current revision

A template for linking the current revision of a page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Target page1

Target page, the current revision of which will be linked.

Page namerequired
Link text2

The text to display.

Stringoptional