Template:Source/medium

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

<unspecified medium>

[edit] Template documentation

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

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}}.

See also