Template:SkinInstall/zh

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

手动安装
}}
 * 文件，并将其放置在您 文件夹中的 目录内.
 * 将下列代码放置在您的LocalSettings.php的底部：

{{documentation|content= {{lua|Module:Extension}}
 * ✅ - 在您的wiki上打开，以确认佈景主題已成功安装.

用法
各参数是可选的！


 * : 手动设置皮肤名称（默认为当前页面名，不带名字空间前缀）.
 * : 覆盖下载链接（默认是 DownloadGitSnapshot）
 * : Directory that repo should be installed in and front-end resources are exposed through (defaults to, change to   if needed).
 * : Pass custom php code that the user should include in LocalSettings.php
 * : Additional steps (as an unordered )
 * : New way to install  or.

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

任何
{	"params": { "1": {			"label": { "en": "Skin name over-ride", "fr": "Nom de l'habillage" },			"description": { "en": "Set the skin name manually ", "fr": "Redéfinit manuellement le nom de l'habillage" },			"type": "string", "default": { "en": "name of the current page name without namespace prefix", "fr": "nom de la page actuelle sans le préfixe de l'espace de noms" }		},		"download-link": { "label": { "en": "Download link over-ride", "fr": "Lien de téléchargement" },			"description": { "en": "Overwrite the download link ", "fr": "Redéfinit le lien de téléchargement" },			"type": "string", "default": { "fr": "", "en": "" }		},		"basedir": { "label": { "en": "Installation directory", "fr": "Répertoire du dépôt" },			"description": { "en": "Directory that repo should be installed in and front-end resources are exposed through (defaults to skins, change to extensions if needed).", "fr": "Répertoire d'installation du dépôt et des ressoures accessibles par l'interface utilisateur (defaults to skins, change to extensions if needed)." },			"type": "string", "default": { "fr": "Utilisé par les habillages, et à mettre à jour pour les extensions si nécessaire." }		},		"registration": { "label": { "en": "New-style registration", "fr": "Enregistrement nouveau style" },			"description": { "en": "Whether to use the new style to register the skin", "fr": "Indique s'il faut utiliser la nouvelle méthode pour enregistrer l'habillage" },			"type": "boolean" },		"localsettings": { "label": { "en": "LocalSettings code", "fr": "Code de LocalSettings" },			"description": { "en": "Custom PHP code that the user should include in LocalSettings.php", "fr": "Code PHP personnalisé à inclure par l'utilisateur dans LocalSettings.php" },			"type": "string" },		"custom-steps": { "label": { "en": "Custom steps", "fr": "Actions complémentaires" },			"description": { "en": "Additional steps (as an unordered * list) that you need to undertake to install the skin.", "fr": "Etapes supplémentaires (dans le désordre) à réaliser pour installer l'habillage." },			"type": "string" },		"nocredits": { "label": { "fr": "Aucun crédit" },			"description": { "fr": "Indique l'attribution de crédits" },			"type": "boolean" }	},	"paramOrder": [ "1",		"download-link", "registration", "basedir", "localsettings", "custom-steps", "nocredits" ],	"description": " " } }}