Template:Bare URL PDF: Difference between revisions
(Adding {{pp-template}}) |
(Created page with "<noinclude>{{pp-template|small=yes}}</noinclude>{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B= <!--{{Bare URL PDF}} begin-->{{Fix | name = {{{name|Bare-inline}}}...") |
(No difference)
|
Revision as of 14:57, 20 May 2022
This template is used on approximately 34,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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>
- Result: [1]
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
- This template places the article into both of the following categories:
- Category:All articles with bare URLs for citations — 266 pages
- Category:Articles with bare URLs for citations or a dated subcategory thereof, currently
- Category:Articles with PDF format bare URLs for citations — 222 pages
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.
Bare URL PDF
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
reason | reason | no description | Unknown | optional |
date | date | no description | Unknown | optional |
See also
{{Bare URL inline}}
{{Bare URL AV media}}
{{Bare URL DOC}}
{{Bare URL image}}
{{Bare URL plain text}}
{{Bare URL spreadsheet}}
{{Cleanup bare URLs}}
{{Citations broken}}
- Wikipedia:Link rot
- Wikipedia:Template messages/Cleanup
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
reason | reason | no description | Unknown | optional |
date | date | no description | Unknown | optional |