User:Daric Gaersmith/Templates/ResetSandbox
This is a custom template created in a user space. It is not to be transcluded into any other namespace. |
Please feel free to discuss this custom template, but please do not edit it.
sandbox pa | |||||
|
Summary[edit]
This template creates a standardized header for placing at the top of sandboxes in my userspace. The main features are that it can {{#save}}
the current purpose, collaborabtion, and status of the sandbox for use by other pages (as exemplified in my Userspace Layout template), and that it incorporates the functionality of the {{Editing Allowed}} template for its collaborabtion settings. For further details about how this all works, please see my "smart sandbox" explanation. There is also an archived discussion from the time when this template was being created, which may prove helpful for other Editors who want to fork this template for their own use.
Parameters[edit]
The title of the box at the top of the sandbox is taken from the first parameter†, which also determines the icon in the left of the box. The message that appears inside the box is dependent on the second and third parameters passed. If the third parameter is omitted, it will default to the default setting of only allowing the owner to edit this sandbox.
Parameter | Scope | Description |
---|---|---|
sndbx |
required | The name of the sandbox, in lowercase letters only. |
purpose |
required | A simple sentence that describes the current purpose of the sandbox. Keep it brief, as this will appear in lists. Can be accessed from other pages through the use of {{#load}} . |
collab |
optional | This is exactly the same as {{Editing Allowed}}. Can be omitted for default, or choose from one of the following:
|
users |
see note | This is exactly the same as {{Editing Allowed}}. If collab is set to user, this parameter can contain a list of user names, which can be formatted, including the use of the {{user}} template. |
status |
optional | Displays an icon to show the current status of the sandbox. Defaults to fill.
|
{{#titleparts}}
and lowercasing the page name, that way I could still bottle it and sell it to other editors on this wiki.Example[edit]
{{User:Daric_Gaersmith/Templates/ResetSandbox |sndbx= |purpose= |collab= |users= |status= }} <!-- Code above this line is for my sandbox template only. Please do not edit anything above this line. -->