| This is adocumentationsubpage forTemplate:Unfit. It may contain usage information,categories and other content that is not part of the original template page. |
| This template is used onmany pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them. |
unfit is for displaying square and barearchive URLs, when the underlying source URL is "unfit". It is not the same as template{{usurped}}, see below when to use "unfit" vs "usurped".
{{unfit|1=[https://web.archive.org/web/2011010101/http://unfit-url.com Example]}}{{unfit|1=https://web.archive.org/web/2011010101/http://unfit-url.com}}The template wraps it so future processes are aware it is an unfit URL. 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 unfit URL.
It is important to use1= otherwise any "=" in the URL itself will cause a problem.
When to use templates{{usurped}} or{{unfit}}?
Not be confused with an inoperable link - in that case there is|url-status=dead or{{dead link}}.
In the vast majority of cases "dead" or "usurped" are the correct options. There are some edge cases where "unfit" is appropriate. If you are unsure, use "dead" or "usurped".
If an unfit URL is bare or square, and is also an archive, wrap it in{{unfit}} as follows:
{{unfit|1=[https://web.archive.org/web/2011010101/http://unfit-url.com Example]}}{{unfit|1=https://web.archive.org/web/2011010101/http://unfit-url.com}}If an unfit URL has no archive available, the URL or citation should be deleted entirely from Wikipedia as non-verifiable perWP:V. If the citation would be verifiable without a URL simply delete the URL; otherwise, delete the entire citation.
If the unfit URL is in a CS1|2 template such as{{cite web}} simply change|url-status=unfit 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 perWP: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
It is recommended to convert citations using{{unfit}} to CS1|2 eg.{{cite web}} where it makes sense. Add|url-status=unfit and the archive URL to|archive-url=
This template will add a tag to a source, notifying readers that this source is unfit. See also Template:usurped
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Reference | 1 | The reference that will have a unfit tag.
| String | required |