Template:ExtensionInstall/ru

{{#switch: {{#if: {{{vagrant|}}} |
 * Если используется {{ll|MediaWiki-Vagrant|Vagrant}}, устанавливайте с

Ручная установка
}} }} {{ {{TNTN|documentation}} |content=
 * и распакуйте файл(ы) в папку с именем « » в папке  вашего сайта.
 * Добавьте следующий код в файл (в самый конец):
 * - Перейдите на страницу «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" }

Примеры
Ниже приведены несколько примеров того, как использовать этот шаблон:

Всё вместе
}}