Jump to content
Wikipedia The Free Encyclopedia

Template:Bare URL PDF

From Wikipedia, the free encyclopedia

[bare URL PDF ]

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

Usage

Paste this after a bare-URL reference/link to a PDF document:

{{Bare URL PDF|date=December 2025}}

It is best to place the tag inside a citation, just before the closing </ref> tag:

  • <ref>https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf {{bare URL PDF|date=December 2025}}</ref>

This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL PDF]", 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 PDF|{{subst:DATE}}}} shortcut method, because template substitution does not work inside <ref>...</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

Template Data

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

TemplateData for Bare URL PDF

Inline tag to indicate a citation is a bare link to a PDF. Recommend to be placed inside the reference just before </ref>.

Template parameters[Edit template data ]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
reasonreason

no description

Unknownoptional
Current datedate

You must provide the full month name and year.

Example
December 2012
Daterequired

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

No description.

Template parameters[Edit template data ]

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
reasonreason

no description

Unknownoptional
datedate

no description

Unknownoptional
The above documentation is transcluded from Template:Bare URL PDF/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.

AltStyle によって変換されたページ (->オリジナル) /