Template:Bare URL PDF/doc: Difference between revisions

From CAPipedia
en>BrownHairedGirl
→‎See also: * {{Tlx|Bare URL AV media}} * {{Tlx|Bare URL DOC}}
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:09, 23 January 2024

[[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>