Template:MW file/ja

使用法
Displays an informative box about a file in MediaWiki core, with links to its source code in master, stable, and legacy branches, and links to its classes and interfaces in the generated PHP documentation.


 * FILENAME は､拡張子も含むファイル名です.
 * If the file has been recently renamed, you can use the  and the   parameters to provide the old name so links work; you'll need to update the template invocation as the release in which the file was renamed moves from master->stable->legacy.
 * PATH はファイルへのパスです. 先頭に / を付けず、末尾には / を付けてください. ルート ディレクトリにあるファイルの場合は空欄のままにしてください.
 * class 引数はすべて省略可能です. 指定すると、生成済みの説明文書にリンクされます. CLASS should be the class name, as used in the URL. 例:「Parser」を指定すると「classParser.html」へのリンクが生成されます.  The template allows up to six class parameters,  -
 * INTERFACE is similar. The template allows up to three interface parameters
 * The  argument is optional and should only be used if the file is not in Git for some reason (I think this only applies to LocalSettings.php). REASON is the reason that is displayed in the infobox. Note that  is case sensitive!

Be careful not to include spaces on either side of the |PATH|FILE|CLASS parameters.

このテンプレートは、マニュアルで広範囲にわたって使用されています.