Template:SkinInstall/sv

{{#if: {{{vagrant|}}} |
 * Om du använder {{ll|MediaWiki-Vagrant|Vagrant}}, installerar du med

Manuell installering
}}
 * och placera filen/filerna i en katalog som heter  i din  -mapp.
 * Lägg till följande kod längst ner i dina LocalSettings.php:

{{documentation|content= {{lua|Module:Extension}}
 * ✅ - Ta dig till på din wiki för att bekräfta att tillägget har installerats ordentligt.

Användning
Parametrar är valfria!


 * : Ange utseendets namn manuellt (utgår annars från det nuvarande sidnamnet utan namnrymdsprefix).
 * : Överskriver nedladdningslänken (faller tillbaka på 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.

Exempel
Nedan finns ett gäng exempel på hur man använder mallen:

Alla
{	"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": " " } }}