Template:SkinInstall/sv

{{#switch: {{#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.
 * #default=

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": "Skin name over-ride", "description": "Set the skin name manually (defaults to the current page name without namespace prefix)" },		"download-link": { "label": "Download link over-ride", "description": "Overwrite the download link (defaults to )" },		"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" ] } }}