Bahaipedia
Bahaipedia
Menu
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Template
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Learn more
Core topics
Bahá’í Faith
Central Figures
Teachings
Practices
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Translations

Template:Oldid2

From Bahaipedia
Jump to:navigation, search

[1]

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 30,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them.

Usage[edit]

An enhancement of {{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:

  • {{oldid2|Revision number|Label}}
  • {{oldid2|Revision number|Section name|Label}}
Code Output
{{oldid2|123456789|External links|Pgp688's version of "Boston Latin School"}} Pgp688's version of "Boston Latin School"
{{oldid2|123456789}} [2]
{{oldid2|123456789|Pgp688's version of "Boston Latin School"}} Pgp688's version of "Boston Latin School"
{{oldid2|123456789|External links|}} [3]

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[edit]

  • {{Revision link}}
  • {{Revlink}}

See also[edit]

  • {{Oldid}}
  • Special:Permalink
  • {{Cross-wiki oldid}}
  • {{Cross-wiki language oldid}}
  • {{Diff2}}
  • Help:Permanent link
The above documentation is transcluded from Template:Oldid2/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://bahaipedia.org/index.php?title=Template:Oldid2&oldid=129138"
Categories:
  • Oldid templates
  • Internal link templates
This page was last edited on 8 December 2023, at 00:23.
Text is available under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Privacy policy
About Bahaipedia
Disclaimers
Powered by MediaWiki