Template:Bare URL PDF/doc

< Template:Bare URL PDF

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=April 2024}}

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=April 2024}}</ref>

Template:Talkref 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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Bare URL PDF

<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>

See also

<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>