Template:ExtensionInstall/zh

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

手动安装
}} }} {{ {{TNTN|documentation}} |content=
 * 文件，并将其放置在您 文件夹中的 目录内.
 * 将下列代码放置在您的的底部：
 * - 在您的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", "type": "string" },		"download-link": { "label": "Download link", "description": "Overwrite the download link.", "default": "Link to ExtensionDistributor with the extension name.", "type": "url" },		"localsettings": { "label": "LocalSettings", "description": "Pass custom php code that the user should include in LocalSettings.php.", "example": "$wgUseAjax = true;" },		"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", "default": "false" },		"composer": { "label": "Composer", "description": "If the extension uses Composer to manage dependencies, set this parameter to any value.", "type": "boolean", "default": "false" },		"custom-steps0": { "label": "Custom steps 0", "description": "Additional steps before download, e.g. other required extensions (as an unordered \"* list\")", "type": "content" },		"custom-steps": { "label": "Custom steps", "description": "Additional steps (as an unordered \"* list\")", "type": "content" },		"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" }

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

任何
}}