Template:MediaWiki file/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
{{MediaWiki files}} {{lawyers/ docs}}
 
(No difference)

Latest revision as of 16:36, 27 February 2023

Usage

This template is a typing aid that creates a link to a MediaWiki source file.

Parameters

  • The only parameter is the base name of the file. The first character is automatically capitalized; if the source file name uses camel case, then |file= must use the same case.
If the base name is not defined, then the link is to the root of the MediaWiki master files.

Examples

Markup Renders as
{{MediaWiki file}}
{{MediaWiki file|sanitizer}}