Template:Oldid2/doc: Difference between revisions

Content deleted Content added
Usage: Adding note
m Reverted 2 edits by 206.45.29.211 (talk) to last revision by Tryptofish
 
(28 intermediate revisions by 18 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:
* {{tlx|oldid2|<var>Revision number</var>|<var>Label</var>}}
 
* {{tlx|oldid2|<var>Revision number</var>|<var>Section name</var>|<var>Label</var>}}
 
=== Usage ===
{| class="wikitable"
! Code
! Output
|-
| {{tlx|oldid2|123456789|External links|Pgp688's version of "Boston Latin School"}}
| {{oldid2|123456789|External links|Pgp688's editversion toof "Boston Latin School"}}
|-
| {{tlx|oldid2|123456789}}
Line 11 ⟶ 22:
|-
| {{tlx|oldid2|123456789|Pgp688's version of "Boston Latin School"}}
| {{oldid2|123456789|Pgp688's editversion toof "Boston Latin School"}}
|-
| {{tlx|oldid2|123456789|External links|Pgp688's version of "Boston Latin School"}}
| {{oldid2|123456789|External links|Pgp688's edit to "Boston Latin School"}}
|-
| {{tlx|oldid2|123456789|External links|<nowiki/>}}
Line 20 ⟶ 28:
|}
 
Note that if <nowiki>{{{3}}}</nowiki> (the third parameter) doesis haveused, even aif variableempty, <nowiki>{{{2}}}</nowiki>the 2nd specifies the section of the page, instead, and <nowiki>{{{3}}}</nowiki>the 3rd specifies the link text.
 
== Redirects ==
* {{tl|Revision link}}
* {{tl|Revlink}}
 
=== See also ===
* [[Template:{{tl|Oldid]]}}
* [[TemplateSpecial:Diff2Permalink]]
* {{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>