Template:Bare URL non-HTML/doc
This is a documentation subpage for Template:Bare URL non-HTML. It may contain usage information, categories and other content that is not part of the original template page. |
This template is an inline alternative to {{Cleanup bare URLs}}, for use ONLY with links to non-HTML files.
Note that for some widely-used content types, more specific templates are available. See #See also.
Usage
[edit]Paste this after a bare-URL reference/link to an image file:
{{Bare URL non-HTML|date=November 2024}}
It is best to place the tag inside a citation, just before the closing </ref>
tag:
<ref>http://example.com/foobar.zip {{bare URL non-HTML|date=November 2024}}</ref>
- Result: [1]
References
This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL non-HTML]", 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 image|{{subst:DATE}}}}
shortcut method, because template substitution does not work inside <ref>...</ref>
tags.
Tracking categories
[edit]- This template places the article into both of the following categories:
- Category:All articles with bare URLs for citations — 41,185 pages
- Category:Articles with bare URLs for citations or a dated subcategory thereof, currently
- Category:Articles with non-HTML file bare URLs for citations — 6 pages
Why?
[edit]See WP:Bare URLs
How to respond to this tag
[edit]See WP:HOWCITE
Template Data
[edit]TemplateData for Bare URL non-HTML
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
[edit]{{Bare URL inline}}
{{Bare URL image}}
{{Bare URL AV media}}
{{Bare URL DOC}}
{{Bare URL PDF}}
{{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 |