Template:ExtensionInstall/pt

{{#switch: {{#if: {{{vagrant|}}} |
 * Se estiver a utilizar {{ll|MediaWiki-Vagrant|Vagrant}}, instale com

Instalação manual
}} }} {{ {{TNTN|documentation}} |content=
 * e coloque o ficheiro, ou ficheiros, num diretório chamado, na sua pasta.
 * Acrescente o seguinte código ao fundo do ficheiro :
 * - Na página especial Special:Version da sua wiki verifique se a extensão foi instalada.
 * #default=

Uso
{	"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" }

Exemplos
Encontra abaixo alguns exemplos de como usar esta predefinição:

Tudo
}}