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": "Installation directory", "description": "Directory that repo should be installed in and front-end resources are exposed through (defaults to skins, change to extensions if needed)." },		"registration": { "label": "New-style registration", "description": "Whether to use the new style to register the skin" },		"localsettings": { "label": "LocalSettings code", "description": "Custom PHP code that the user should include in LocalSettings.php" },		"custom-steps": { "label": "Custom steps", "description": "Additional steps (as an unordered * list) that you need to undertake to install the skin." },		"nocredits": {} },	"paramOrder": [ "1",		"download-link", "registration", "basedir", "localsettings", "custom-steps", "nocredits" ],	"description": " " } }}