Difference between revisions of "Template:Bare URL inline"
Jump to navigation
Jump to search
imported>Hyacinth (| cat-date=Category:Articles needing link rot cleanup) |
imported>AnomieBOT II m (Unsubstifying template, so {{subst:Bare-inline}} results in {{Bare-inline|date=...}}) |
||
| Line 1: | Line 1: | ||
| + | {{ {{{|safesubst:}}}#invoke:Unsubst||$N=Bare-inline |date=__DATE__ |$B= | ||
<!--{{Bare-inline}} begin-->{{Fix | <!--{{Bare-inline}} begin-->{{Fix | ||
| name={{{name|Bare-inline}}} | | name={{{name|Bare-inline}}} | ||
| Line 8: | Line 9: | ||
| cat=[[Category:All articles needing link rot cleanup]] | | cat=[[Category:All articles needing link rot cleanup]] | ||
| cat-date=Category:Articles needing link rot cleanup | | cat-date=Category:Articles needing link rot cleanup | ||
| − | }}<!--{{Bare-inline}} end--><noinclude> | + | }}<!--{{Bare-inline}} end--> |
| + | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:11, 17 November 2013
[bare URL]
This template is an inline alternative to {{Cleanup bare URLs}}.
Usage
Paste this after a bare-URL reference/link:
{{Bare URL inline|date=June 2026}}
Examples:
[https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/]{{bare URL inline|date=June 2026}}https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/{{bare URL inline|date=June 2026}}- 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=June 2026}}
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=June 2026}}</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.
See also
| The above documentation is transcluded from Template:Bare URL inline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |