Template:Interview/media/each/doc

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

Usage

[edit]

This subtemplate of {{interview/media}} takes the list of media used for the interview as named parameter list, and the name of a single standard interview medium as sole unnamed parameter. If the standard medium occurs as a substring of the list, it categorizes the page in the named interview-medium subcategory, [[Category:Interview/standard-name]].

Internals

[edit]

If the standard medium name is not supported by a subcategory, and the transcluding page is in template space, this subtemplate generates an error message containing a link offering to create the subcategory, using a preload page providing the appropriate customizations, Template:Interview/media/preload.