Jump to content

Template:Bare URL inline

From Wikipedia, the free encyclopedia

[bare URL]

Template documentation[view] [edit] [history] [purge]
This template is used on approximately 3,600 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}}.

Usage

Paste this after a bare-URL reference/link:

{{Bare URL inline|date=February 2026}}

It is best to place the tag inside a citation, just before the closing tag:

  • https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/ {{bare URL inline|date=February 2026}}
    • Result: [1]

This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL]", and it will also help track down the citation to improve by keeping the cleanup tag in the citation. It also allows the tag to be removed by tools such as WP:reFill and Citation bot if they fill the reference with a citation template.

When doing it this way, the date must be manually entered; it cannot be done with the {{Bare URL inline|{{subst:DATE}}}} shortcut method, because template substitution does not work inside <ref>... tags.

Tracking categories

Purge this page to update pages-in-category counts

Why?

See WP:Bare URLs

How to respond to this tag

See WP:HOWCITE

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Bare URL inline in articles based on its TemplateData.

TemplateData for Bare URL inline

An inline template which indicates that a reference contains a bare URL, which may be threatened by link rot. It is best to place the tag inside a citation, just before the closing tag.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Reasonreason

A brief reason for the tag. Avoid using wikilinks, as they will be converted to plain text in the output.

Unknownoptional
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested

See also

Inline cleanup tags
Attribution
Clarity
Miscellaneous
Neutrality
Precision
Excessive
Time-sensitivity
Verifiability
Dubious
Bare URLs
Incomplete or broken citation
Missing or problematic reference
Wording
General advice
The above documentation is transcluded from Template:Bare URL inline/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.