Template:Bare URL AV media/doc

From CAPipedia
Revision as of 13:09, 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 multimedia files, i.e. those containing audio and/or video.

These files will have a mime type beginning with audio/ or video/, and will usually have one of the following extensions: .aac, .avi, .mid, .midi, .mp3, .mp4, .mpeg, .oga, .ogv, .opus, .ts, .wav, .weba, .webm, .3gp, .3g2.

Usage

Paste this after a bare-URL reference/link to a multimediafile:

{{Bare URL AV media|date=November 2024}}

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

  • <ref>https://www.aaa.si.edu/assets/audio/podcasts/monuments-men-AAA_andrew-ritchie-1977.mp3 {{bare URL AV media|date=November 2024}}</ref>

References

This will still categorize the page for cleanup without cluttering the present paragraph with "[bare URL AV media]", 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 AV media|{{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 AV media in articles based on its TemplateData.

TemplateData for Bare URL AV media

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

See also

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