Template:Bare URL inline/doc: Difference between revisions

From CivWiki
Jump to navigation Jump to search
en>SMcCandlish
(update, about using it INSIDE the <ref>; better example formatting; don't imply that WP can be cited as a source (WP:CIRCULAR).)
m (1 revision imported)
 
(No difference)

Latest revision as of 16:26, 24 February 2020

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

Usage

Paste this after a bare-URL reference/link:

{{Bare URL inline|date=June 2024}}

Examples:

With a <ref> tag:

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

References

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 2024}}</ref>

References

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