Template:Parsoid file/ja
| Parsoid ファイル: {{{1}}} | |
|---|---|
| 場所: | / |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | コードを検索 • 説明文書を検索 |
Displays an informative box about a file in the Parsoid library, with links to its source code in master, stable, and legacy branches, and links to its classes and interfaces in the generated PHP documentation.
{{Parsoid file|FILENAME|PATH
|class1=CLASS
|class2=CLASS
|class3=CLASS
|...
|interface1=INTERFACE
|interface2=INTERFACE
|interface3=INTERFACE
|NotInGit=REASON
}}
- FILENAME は、拡張子も含むファイル名です。
- If the file has been recently renamed, you can use the
stable=and thelegacy=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.
- If the file has been recently renamed, you can use the
- PATH はファイルへのパスです。先頭に / を付けず、末尾には / を付けてください。 ルート ディレクトリにあるファイルの場合は空欄のままにしてください。
class引数はすべて省略可能です。指定すると、生成済みの説明文書にリンクされます。 CLASS は、URL 内で使用されるため、クラス名にすべきです。 例:「Parser」を指定すると「classParser.html」へのリンクが生成されます。 このテンプレートではクラスのパラメーターをclass1-class6の 6 個まで指定できます。- INTERFACE も同様です。 このテンプレートではインターフェイスのパラメーターを 3 個まで指定できます。
NotInGit引数は省略可能です。何らかの理由でファイルが Git 内にない場合のみ使用してください (作者は、これにはLocalSettings.phpのみが該当すると考えます)。 REASON は、基礎情報ボックス内に表示される理由です。NotInGitは大文字・小文字が区別されることにご注意ください!
The Parsoid documentation uses this template.
例
{{Parsoid file|README.md|}}
| Parsoid ファイル: README.md | |
|---|---|
| 場所: | |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | コードを検索 • 説明文書を検索 |
{{Parsoid file|Parsoid.php|src/
|class1=Wikimedia\Parsoid\Parsoid
}}
| Parsoid ファイル: Parsoid.php | |
|---|---|
| 場所: | src/ |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | Wikimedia\Parsoid\Parsoid |
{{Parsoid file|StubMetadataCollector.php|src/Config/
|class1=Wikimedia\Parsoid\Config\StubMetadataCollector
|interface1=Wikimedia\Parsoid\Core\ContentMetadataCollector
}}
| Parsoid ファイル: StubMetadataCollector.php | |
|---|---|
| 場所: | src/Config/ |
| ソース コード: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| クラス: | Wikimedia\Parsoid\Config\StubMetadataCollector • Wikimedia\Parsoid\Core\ContentMetadataCollector |
{{Parsoid file|autoload.php|vendor/
|NotInGit=インストール時に作成される
}}
| Parsoid ファイル: autoload.php | |
|---|---|
| 場所: | vendor/ |
| ソース コード: | Git にありません (インストール時に作成される) |
| クラス: | |
関連項目
- {{Git file}} – a simple link to a file on gerrit (from mediawiki/core or otherwise)
- カテゴリ:クラス名のないParsoidコードのページ – incompletely filled pages are automatically listed by this template
Displays an informative box about a file in the Parsoid library, with links to its source code in master, stable, and legacy branches, and links to its classes and interfaces in the generated PHP documentation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| nodisplaytitle | nodisplaytitle | no description | Unknown | optional |
| File name | 1 | no description | Unknown | required |
| File path | 2 | no description | Unknown | required |
| Not in Git? | NotInGit | Whether the version is in Git version control (only rarely used for files like LocalSettings.php and DevelopmentSettings.php) | Boolean | optional |
| Stable MediaWiki version | stable | no description | Unknown | optional |
| Legacy MediaWiki version | legacy | no description | Unknown | optional |
| LTS MediaWiki Version | lts | Long-Term Support version for MediaWiki | Unknown | optional |
| Class 1 | class1 | no description | Unknown | suggested |
| Class 2 | class2 | no description | Unknown | optional |
| Class 3 | class3 | no description | Unknown | optional |
| Class 4 | class4 | no description | Unknown | optional |
| Class 5 | class5 | no description | Unknown | optional |
| Class 6 | class6 | no description | Unknown | optional |
| Interface 1 | interface1 | no description | Unknown | suggested |
| Interface 2 | interface2 | no description | Unknown | optional |
| Interface 3 | interface3 | no description | Unknown | optional |
| Example | example | no description | Unknown | optional |
Maintenance: noslash