Template:Bare URL non-HTML/doc

From CAPipedia
Revision as of 13:10, 23 January 2024 by Mclarty (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Category:Template documentation pages{{#translation:}}]]

This template is an inline alternative to {{Cleanup bare URLs}}, for use ONLY with links to non-HTML files.

Note that for some widely-used content types, more specific templates are available. See #See also.

Usage

Paste this after a bare-URL reference/link to an image file:

{{Bare URL non-HTML|date=December 2024}}

It is best to place the tag inside a citation, just before the closing </ref> tag:

References

This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL non-HTML]", 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 image|{{subst:DATE}}}} shortcut method, because template substitution does not work inside <ref>...</ref> tags.

Tracking categories

Purge this page to update pages-in-category counts

Why?

See WP:Bare URLs

How to respond to this tag

See WP:HOWCITE

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Bare URL non-HTML in articles based on its TemplateData.

TemplateData for Bare URL non-HTML

<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>

See also

<templatedata> { "params": { "name": {}, "reason": {}, "date": {} } } </templatedata>