Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  



























Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 When to use  





2 How to use  





3 Conversion to CS1|2  














Template:Usurped/doc







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 


















From Wikipedia, the free encyclopedia
 

< Template:Usurped

usurped is for displaying square and bare archive URLs, when the underlying source URL has been usurped.

The template wraps it so future processes are aware it is a usurped domain. This prevents tools like IABot, reFill and Citation bot (and humans) from converting square or bare archive URLs into a CS1|2 template and thus accidentally re-activating the usurped URL.

It is important to use 1= otherwise any "=" in the URL itself will cause a problem.

When to use[edit]

How to use[edit]

If a usurped URL is bare or square, and is also an archive, wrap it in {{usurped}} as follows:

produces: Example[usurped]
produces: https://web.archive.org/web/2011010101/http://usurped-domain.com[usurped]

If a usurped URL has no archive available, the URL or citation should be deleted entirely from Wikipedia as non-verifiable per WP:V. If the citation would be verifiable without a URL simply delete the URL; otherwise, delete the entire citation.

If the usurped URL is in a CS1|2 template such as {{cite web}} simply change |url-status=usurped and add an archive URL to |archive-url=

If a CS1|2 template and no archive is available, the URL or citation should be deleted entirely from Wikipedia as non-verifiable per WP:V. If the citation would be verifiable without a URL simply delete the URL; otherwise, delete the entire citation.

Decision tree of the above steps: WP:USURPURL

Conversion to CS1|2[edit]

It is recommended to convert citations using {{usurped}} to CS1|2 eg. {{cite web}} where it makes sense. Add |url-status=usurped and the archive URL to |archive-url=


This template will add a tag to a source, notifying readers that this source has been usurped.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Reference1

The reference that will have a usurped tag.

Example
[https://web.archive.org/web/2011010101/http://usurped-domain.com Example]
Stringrequired

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Usurped/doc&oldid=1191978187"

Hidden category: 
Template documentation pages
 



This page was last edited on 26 December 2023, at 23:00 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki