Template:ExtensionInstall/zh

{{#switch: {{#if: {{{vagrant|}}} |
 * 如果使用{{ll|MediaWiki-Vagrant|Vagrant}}，请通过 安装

手动安装
}} }} {{ {{TNTN|documentation}} |content=
 * 文件，并将其放置在您 文件夹中的 目录内.
 * 将下列代码放置在您的LocalSettings.php的底部：
 * - 在您的wiki上导航至Special:Version，以验证扩展已成功安装.
 * #default=

用法
{	"description": "Add instructions about installing an extension.", "params": { "1": {			"label": "Extension name", "description": "Set the extension name manually.", "default": "The current page name without namespace prefix.", "type": "string", "autovalue": ", i.e. the page name without namespace nor subpages" },		"vagrant": { "label": "Vagrant role name", "description": "If given, shows how to install extension with the vagrant's enable-role command" },		"download-link": { "label": "Download link", "description": "Overwrite the download link.", "default": "Link to ExtensionDistributor with the extension name." },		"localsettings": { "label": "LocalSettings", "description": "Pass custom php code that the user should include in LocalSettings.php." },		"db-update": { "label": "Database update", "description": "If the extension has one or more database tables that need to be created through update.php, set this parameter to any value.", "type": "boolean" },		"custom-steps0": { "label": "Custom steps 0", "description": "Additional steps before download, e.g. other required extensions (as an unordered \"* list\")" },		"custom-steps": { "label": "Custom steps", "description": "Additional steps (as an unordered \"* list\")" },		"registration": { "label": "Supports registration", "description": "Changes the template to use  if it supports registration. Set to any value if the extension supports registration, or to   if it only supports registration and doesn't support the old-style of loading.", "type": "string" },		"no-registration-version": { "label": "No registration version", "description": "The MediaWiki version for which extension registration should not be used", "default": "1.24" }	},	"format": "inline" }

例子
以下是如何使用此模板的例子：

任何
}}