Template:Bare URL inline/doc
From HandWiki
< Template:Bare URL inline
Revision as of 04:12, 6 August 2021 by imported>Jworkorg (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is an inline alternative to {{Tl|Cleanup bare URLs}}. === Us...")
This is a documentation subpage for Template:Bare URL inline 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}}.
Usage
Paste this after a bare-URL reference/link:
{{Bare URL inline|date=December 2024}}
Examples:
[https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/]{{bare URL inline|date=December 2024}}
https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/{{bare URL inline|date=December 2024}}
- Result: https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/[bare URL]
- This is obviously better changed to the format above this example, or put into a
{{ref}}
tag.
- This is obviously better changed to the format above this example, or put into a
- Result: https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/[bare URL]
With a <ref>
tag:
<ref>https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/</ref>{{bare URL inline|date=December 2024}}
It can also be done inside a citation, just before the closing </ref>
tag:
<ref>https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/ {{bare URL inline|date=December 2024}}</ref>
- Result: [2]
Template:Talkref
This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL]", 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 inline|{{subst:DATE}}}}
shortcut method, because template substitution does not work inside <ref>...</ref>
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.
Why?
See WP:Bare URLs
How to respond to this tag
See WP:HOWCITE