Template:Bare URL image
| Warning | This template is used on approximately 2,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is an inline alternative to {{Cleanup bare URLs}}, for use ONLY with links to image files.
Usage[change]
Paste this after a bare-URL reference/link to an image file:
{{Bare URL image|date=November 2025}}
It is best to place the tag inside a citation, just before the closing </ref> tag:
<ref>http://www.navsource.org/archives/08/0858412.jpg {{bare URL image|date=November 2025}}</ref>- Result: [1]
This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL image]", and it will also help track down the citation to improve by keeping the cleanup tag in the citation. When doing it this way, the date must be manually entered; it cannot be done with the {{Bare URL image|{{subst:DATE}}}} shortcut method, because template substitution does not work inside <ref>...</ref> tags.
Tracking categories[change]
- This template places the article into both of the following categories:
- Category:All articles with bare URLs for citations — 73 pages
- Category:Articles with bare URLs for citations or a dated subcategory thereof, currently
- Category:Articles with image file bare URLs for citations — 2 pages
Why?[change]
See WP:Bare URLs
How to respond to this tag[change]
See WP:HOWCITE
Template Data[change]
TemplateData for Bare URL image
<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>
See also[change]
{{Bare URL inline}}{{Bare URL PDF}}{{Bare URL AV media}}{{Bare URL DOC}}{{Bare URL plain text}}{{Bare URL spreadsheet}}{{Cleanup bare URLs}}{{Citations broken}}- Wikipedia:Link rot
- Wikipedia:Template messages/Cleanup
<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>