Template:Source/medium
Appearance
<unspecified medium>
[edit] Template documentation
This template is used on over 50 pages. Changes to this template may cause some server load, and mistakes will be visible on many pages. Please carefully test any edits before making them, and avoid making unnecessary edits. |
This template generates a space and a medium tag, to appear at the end of a source citation (or near the end, if followed by a link to a file on commons).
Note this is not transcluded unless needed, so should be far less heavily used than {{source}}.
Usage
Required parameter medium
names the medium. Must be one of the allowed values, which at this writing are video
, audio
, PDF
, word
.
Optional parameter lang
names the language.
Examples
- "video" — Megadodo Publications, December 7, 2014 (Video)
- "French audio" — Megadodo Publications, December 7, 2014 (Audio) (French)
- "document" — Megadodo Publications, December 7, 2014 (PDF)
- "document" — Megadodo Publications, December 7, 2014 (Word document)
Internals
The template validates the medium
, decides whether to use particle "an" rather than "a" with it, generates the space, and delegates to subtemplate {{source/medium/tag}}.