Template:Oldid2/doc: Difference between revisions

Content deleted Content added
Redirects: Add {{Revlink}}
Blanked the page
Tags: Blanking Reverted Mobile edit Mobile web edit
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:
* {{tlx|oldid2|<var>Revision number</var>|<var>Label</var>}}
 
* {{tlx|oldid2|<var>Revision number</var>|<var>Section name</var>|<var>Label</var>}}
 
{| class="wikitable"
! Code
! Output
|-
| {{tlx|oldid2|123456789|External links|Pgp688's version of "Boston Latin School"}}
| {{oldid2|123456789|External links|Pgp688's version of "Boston Latin School"}}
|-
| {{tlx|oldid2|123456789}}
| {{oldid2|123456789}}
|-
| {{tlx|oldid2|123456789|Pgp688's version of "Boston Latin School"}}
| {{oldid2|123456789|Pgp688's version of "Boston Latin School"}}
|-
| {{tlx|oldid2|123456789|External links|<nowiki/>}}
| {{oldid2|123456789|External links|}}
|}
 
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 HERE, THANKS -->
 
[[Category:Oldid templates]]
[[Category:Internal link templates]]
 
}}</includeonly>