Template:MediaWiki file: Difference between revisions
Template page
More actions
Created page with "<code class="plainlinks">{{#if:{{{1|}}} |[https://doc.wikimedia.org/mediawiki-core/master/php/{{ucfirst:{{{1|}}}}}_8php_source.html {{ucfirst:{{{1|}}}}}.php] |[https://doc.wikimedia.org/mediawiki-core/master/php/files.html MediaWiki master files] }}</code><noinclude> {{documentation}} </noinclude>" |
(No difference)
|
Latest revision as of 01:12, 3 March 2025
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}} |
|
}}