Template:Skin/zh

{{Documentation|content=

{{lua|Module:Extension|Module:String}} This template should be added to all skin pages on this wiki (but only the main page) to display an information box and categorize the skin.

Usage


Content parameters
This section describes parameters that govern infobox content. For help with  and other control parameters, please see Control parameters. (it must remain valid when bot-copied elsewhere) external link to the readme file external link to the changelog file available parameters for LocalSettings.php example, website or screenshot of working skin compatibility chart, e.g. Template:Extension Testing Bugzilla MediaWiki skin component name

Control parameters
because this isn't an actual skin page and we don't want to add this page to any categories on account of it.

If this is left blank, this template will add the host page to and to one or more additional categories, depending on the values assigned to the Content parameters. subpage; it is not in the Skin: namespace; or if suppressed by 'templatemode=nocats'

Categories added
This template will automatically add the pages it is used on to the Category:All skins category.

In addition, it will categorize the page based on the value of the status parameter:


 * unstable: Category:Unstable skins
 * experimental: Category:Experimental skins
 * stable: Category:Stable skins
 * beta: Category:Beta status skins
 * unmaintained: Category:Unmaintained skins
 * unavailable: Category:Unavailable skins
 * otherwise: Category:Skins with unknown status

Existing skin pages
If you want to add the infobox to an existing page, copy and paste the code at the top of this page.

Create a new skin page
If you want to create a new skin page, enter the name below and click the button. A new page will be created with the infobox template already in place.

Enhancing this template
If you would like to improve on this template, thanks! This is a complicated template so here is some help along the way:

In addition, Template:Skin/Sample stores the boiler plate that is preloaded into newly created pages and contains some basic documentation on how to fill in the template parameters. It needs to be kept in sync with Template:Skin/doc.

The Create skin button
To improve the create skin button behavior:
 * Template:Skin/Sample: The boilerplate skin that is preloaded into newly-created pages.
 * Template:Skin/CreateSkinInputBox: An input box that can be inserted wherever you want users to easily create skins. For documentation on the   tag, please see Extension:InputBox.
 * Skin:TheSkin: - Defines a placeholder, in case a user accidentally hits the create button without changing the skin name.

Infobox parameters
In general:
 * To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the content parameter documentation and link its label to that documentation.

Test case
See if the following pages are still ok, after edited this template.
 * Skin:Vector
 * Template:Skin

}}