Difference between revisions of "Template:Rev"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</>" to "")
m (Text replacement - "<tvar|1>" to "")
 
Line 18: Line 18:
 
<pre>{{Rev}} / {{Rev|?}}</pre>
 
<pre>{{Rev}} / {{Rev|?}}</pre>
  
{{Rev|cat=no}}  (''categorizes into <tvar|1>{{ll|Category:Pages with a wanted revision number}}'')
+
{{Rev|cat=no}}  (''categorizes into {{ll|Category:Pages with a wanted revision number}}'')
 
<pre>
 
<pre>
 
* {{Rev|1}}
 
* {{Rev|1}}

Latest revision as of 18:05, 21 December 2019


[[phabricator:rSVN{{{1}}}|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|?}}

r? (categorizes into Category:Pages with a wanted revision number )

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