Template documentation (for the template shown above, sometimes hidden or invisible)

Template for template documentation pages to indicate dependencies of a template, such as the presence of CSS or JavaScript snippets. This helps maintainers who are unfamiliar with a template's working to learn how a template works when it needs fixing, deprecating, or extension.

Usage

{{Template dependencies|css=[[MediaWiki:Common.css]]|js=[[MediaWiki:Common.css]]}}

Parameters

Optional
css
The file name(s) where the associated CSS source code is written.
Optional
js
The file name(s) where the associated JS source code is written.
Optional
importjs
The name(s) of the ImportJS scripts that this template relies on.

Examples

{{Template dependencies|css=[[MediaWiki:Common.css]]|js=[[MediaWiki:Common.css]]|importjs=ArchiveTool and DiscussionsFeed}}

results in

Mbox default.png
This template depends on CSS
Mbox default.png
This template depends on JavaScript
Mbox default.png
This template depends on ImportJS scripts
ArchiveTool, DiscussionsFeed
Documentation transcluded from Template:Template dependencies/doc.
Community content is available under CC-BY-SA unless otherwise noted.