Difference between revisions of "Template:Link current revision"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
imported>Pppery
(RM tfd tag)
 
Line 1: Line 1:
<noinclude>{{Template for discussion/dated|page=Link current revision|link=Wikipedia:Templates for discussion/Log/2017 February 24#Template:Link current revision|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}</noinclude>[[Special:PermanentLink/{{<includeonly>safesubst:</includeonly>REVISIONID:{{{1}}}}}|{{{{{|safesubst:}}}#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]<noinclude>
+
[[Special:PermanentLink/{{<includeonly>safesubst:</includeonly>REVISIONID:{{{1}}}}}|{{{{{|safesubst:}}}#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 22:28, 27 February 2017

{{{1}}}

50px Template documentation[view] [edit] [history] [purge]

Usage

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

Syntax

{{subst:link current revision|1}}

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

Note: If this is used on the page "1" itself, it will create a link to the previous revision.

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 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.

Pagerequired
Link text2

The text to display.

Stringoptional