Template:Bare URL PDF/doc

From CAPipedia
Revision as of 15:50, 18 June 2022 by en>BrownHairedGirl (→‎See also: * {{Tlx|Bare URL AV media}} * {{Tlx|Bare URL DOC}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Category:Template documentation pages{{#translation:}}]]

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

References

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

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

See also

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