Template:Bare URL PDF/doc

From Pantonian Republic Wiki
< Template:Bare URL PDF
Revision as of 18:56, 18 May 2023 by Sebbog (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Bare URL PDF

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

See also

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