Template:Bare URL PDF/doc

&#x3c;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&#x3e;

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:

Examples:


 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * Result:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * Result: https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf
 * This is obviously better put into a tag.

With a ref tag:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;ref&#x3e;https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf&#x3c;/ref&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * Result: &#x3c;ref&#x3e;https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf&#x3c;/ref&#x3e;

It is better to place the tag a citation, just before the closing c tag:
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;ref&#x3e;https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf&#x3c;/nowiki&#x3e; &#x3c;nowiki&#x3e;&#x3c;/ref&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;
 * Result: &#x3c;ref&#x3e;https://researchbriefings.files.parliament.uk/documents/CBP-8749/CBP-8749.pdf &#x3c;/ref&#x3e;

This will still categorize the page for cleanup without cluttering the present paragraph with "&#x3c;sup&#x3e;[bare URL]&#x3c;/sup&#x3e;", 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 &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; shortcut method, because template substitution does not work inside p tags.


 * This template places the article into both of the following categories:
 * Category:All articles with bare URLs for citations
 * Category:Articles with bare URLs for citations or a dated subcategory thereof.
 * Category:Articles with PDF format bare URLs for citations

Why?
See WP:Bare URLs

How to respond to this tag
See WP:HOWCITE