Template:Rev: Difference between revisions

From Bonkipedia
[[mw:]]>BDavis (WMF)
(Change SVN link target to https://static-codereview.wikimedia.org rather than the deprecated SVN repo on phabricator (phab:T308061))
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:51, 12 November 2022


r{{{1}}}

Template documentation

This template can be used to link to a specific SVN revision.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
revision1

The SVN revision number, or “?” if unknown. “?” categorizes the page to “Pages with a wanted revision number”

Example
1234
Linerequired
link text2

Text of the revision link. Not used if the revision number is “?”

Default
r<revision ID>, e.g. r1234
Lineoptional

Usage

{{Rev}} / {{Rev|?}}

<span class="plainlinks" title="<translate nowrap> A revision number is wanted.</translate> <translate nowrap> Click here to edit and add it!</translate>">r? (categorizes the page into Category:Pages with a wanted revision number )

* {{Rev|1}}
* {{Rev|54321|woops}}