Template:Bare URL spreadsheet/doc
This is a documentation subpage for Template:Bare URL spreadsheet. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
This template is an inline alternative to {{Cleanup bare URLs}}, for use ONLY with links to spreadsheet files.
Usage
Paste this after a bare-URL reference/link to a spreadsheet file:
{{Bare URL spreadsheet|date=December 2024}}
It is best to place the tag inside a citation, just before the closing </ref>
tag:
<ref>http://example.com/foo.xls {{bare URL spreadsheet|date=December 2024}}</ref>
- Result: [1]
References
This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL spreadsheet file]", 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 spreadsheet|{{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 — 0 pages
- Category:Articles with bare URLs for citations or a dated subcategory thereof, currently
- Category:Articles with spreadsheet file bare URLs for citations — 0 pages
Why?
See WP:Bare URLs
How to respond to this tag
See WP:HOWCITE
Template Data
TemplateData for Bare URL spreadsheet
<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>
See also
{{Bare URL inline}}
{{Bare URL AV media}}
{{Bare URL DOC}}
{{Bare URL PDF}}
{{Bare URL image}}
{{Bare URL plain text}}
{{Cleanup bare URLs}}
{{Citations broken}}
- Wikipedia:Link rot
- Wikipedia:Template messages/Cleanup
<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>