Difference between revisions of "Template:Bare URL inline"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m (Updated name of template.)
imported>Mr. Guye
m
 
Line 1: Line 1:
 
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 
<!--{{Bare URL inline}} begin-->{{Fix
 
<!--{{Bare URL inline}} begin-->{{Fix
| name={{{name|Bare-inline}}}
+
| name     = {{{name|Bare-inline}}}
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
+
| subst   = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| link = Wikipedia:Bare URLs
+
| link     = Wikipedia:Bare URLs
| text=bare URL
+
| text     = bare URL
| title = {{{reason|A full citation is required to prevent link rot.}}}
+
| title   = {{{reason|A full citation is required to prevent link rot.}}}
| date={{{date|}}}
+
| date     = {{{date|}}}
| cat=[[Category:All articles with bare URLs for citations]]
+
| cat     = [[Category:All articles with bare URLs for citations]]
| cat-date=Category:Articles with bare URLs for citations
+
| cat-date = Category:Articles with bare URLs for citations
}}<!--{{Bare URL inline}} end-->
+
}}<!--{{Bare URL inline}} end-->}}<noinclude>
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 22:10, 12 December 2017

[bare URL]

Template documentation[view] [edit] [history] [purge]

This template is an inline alternative to {{Cleanup bare URLs}}.

Usage

Paste this after a bare-URL reference/link:

{{Bare URL inline|date=October 2025}}

Examples:

With a <ref> tag:

  • <ref>https://www.salon.com/2020/01/31/the-disaster-of-utopian-engineering_partner/</ref>{{bare URL inline|date=October 2025}}

Template:Talkref

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=October 2025}}</ref>

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.

See also