Template:Oldid2/doc: Difference between revisions

Content deleted Content added
m Using level-2 header for "Usage"
m Reverted 2 edits by 206.45.29.211 (talk) to last revision by Tryptofish
 
(16 intermediate revisions by 14 users not shown)
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{High-use|29532}}
 
== Usage ==
An enhancement of {{tl|oldid}} which does not need the page title to be specified (since there are no oldid conflicts between pages) and which also allows linking to a specific section in the page.
 
Typical usage: {{tlp|oldid2|Revision number|Section name|Label}}
* {{tlx|oldid2|<var>Revision number</var>|<var>Label</var>}}
 
* {{tlx|oldid2|<var>Revision number</var>|<var>Section name</var>|<var>Label</var>}}
 
{| class="wikitable"
Line 23 ⟶ 28:
|}
 
Note that if the third parameter is used, even if empty, the 2nd specifies the section of the page, instead, and the 3rd specifies the link text.
 
== Redirects ==
* {{tl|Revision link}}
* {{tl|Revlink}}
 
== See also ==
* {{tl|Oldid}}
* [[Special:Permalink]]
* {{tl|Cross-wiki oldid}}
* {{tl|Cross-wiki language oldid}}
* {{tl|Diff2}}
* [[Help:Permanent link]]
 
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Oldid templates]]
[[Category:Internal link templates]]
 
}}</includeonly>