Template:User sandbox+
Meta page
meta:Grants:Project/Rapid/Article template libraries - user sandbox space organization
Help videos
| User help
|
|---|
Install |
Seed article in user space |
Locate seeded article |
Edit article |
Move completed article to main space
Extras Add hover highlighting |
| Prepare an editathon
|
|---|
Start building editathon's article library inside instructor's personal sandbox |
Setup editathon library's missing article templates |
Edit (more) a library's article template |
Make editathon library globally visible (temporarily)
Extras Remove editathon library from instructor's sandbox Enhance main library with missing editathon's article templates |
Usage
Place wiki code (examples just below), on top of user's sandbox page:
{{ user sandbox+ }}
{{ user sandbox+ | lib = Editathon_X }} - declare editathon article template library
{{ user sandbox+ | no_sandbox = yes }} - start writing directly to article space
{{ user sandbox+ | code = yes }} - start page on wikicode editor
{{ user sandbox+ | custom = yes }} - enable user custom article template palette
Combination
{{ user sandbox+ | lib = Medicine | no_sandbox = yes }}
Project pages table
| Template | Explanation |
|---|---|
| user sandbox+ | |
| Template:User sandbox+ | base template that detects space (i.e. main / user / user sub-sandbox), edit mode or not, and page creation origin space, and adapts functionality
|
| Template:User sandbox+/doc | template documentation |
| Template:User sandbox+/preload | default page content for creation of user's main sandbox |
| Template:User sandbox+/create | handles new page creation centrally
|
| Template:User sandbox+/new page instructions (ve) | instructions during page creation, for VE |
| Template:User sandbox+/new page instructions (ce) | instructions during page creation, for CE |
| Template:User sandbox+/flush page | instructions to hide a sub-sandbox form central sandbox list
|
| Template:User sandbox+/move page to article | foolproof move of a user sandbox to main (article) space
|
| article templates | |
| Template:Article templates/group | |
| Template:Article templates/create | page creation from library of article templates
|
| Template:Article templates/lcreate | page creation from library of article templates by using a "red link"
|
| Template:Article templates/preload | preload for article templates generation (preloads for article types) |
| Template:Article templates/empty page | preload for creating an empty page |
| Template:Article templates/generic article | preload for creating a generic article |
| Template:Article templates/generic article (codeedit) | preload for creating a generic article in code editor
|
| Template:Article templates/libraries/preload | preload for libraries generation |
| Template:Article templates/libraries/main | main library |
| Template:Article templates/libraries/user palette preload | preload for generating user custom palette of article templates |
| Template:Article templates/libraries/user available list | displays list of available templates to be used in user's palette
includes user's custom page templates. |
| assistive | |
| Template:Collapse-mobile | collapsible functionality, original from meta, without show/hide that displays well in mobiles, even if always expanded |
| Template:Help-collapsible | collapsible help functionality, supporting nested help levels |
| Template:Smallbox-mobile | tiny message box, for inline use, that does not hide in mobile view |
| optical help | |
| Template:Key press | library to display keyboards buttons and combinations |
| Template:Blue button | |
| Template:User sandbox+/hoverhighlight.js | contains .js code for hover highlighting support
|
| useful mediawiki pages | |
| MediaWiki:Sandboxlink-preload-pagename | select default sandbox while creating user's sabdbox.
|
| MediaWiki:Sandboxlink-editintro-pagename | message to display while user's sandbox is being created. |
| other | |
| Template:User sandbox+/translations | |
| Template:Article templates | |
Hover highlighting support: add to Mediawiki:Common.js
$('.hover-bgc').hover( function() {
$(this).attr("data-hover-bgc-original", $(this).css("background-color"));
var parentSpec = $(this).parent('.hover-bgc-parent').attr('data-hover-bgc-child');
var newColor = ((typeof parentSpec !== typeof undefined) && (parentSpec !== false)) ? parentSpec : $(this).attr('data-hover-bgc');
$(this).css({ "background-color" : newColor});
}, function() {
$(this).css({ "background-color" : $(this).attr('data-hover-bgc-original') });
});
Template:Article templates/libraries/XXXX
Template:Article templates/XXXX
- Anatomy
- Archaeological site
- Artist
- Artist/sandbox
- Artistic tool
- Artwork
- Cave
- City
- Clothing type
- Cuisine
- Custom
- Dance
- Drug, treatment, or device
- Film
- Folk tale
- Game
- Library
- Medical condition
- Medical specialty
- Medical test
- Mountain
- Museum
- Music album
- Musical theatre
- Opera
- Park
- Person
- Profession
- Prose
- River
- Ship
- Sign or symptom
- Species (archaea)
- Surgery or procedure
- Technique
- Tool
- Toy
- Video game
- Weapon
- Writer
- create
- doc
- empty page
- generic article
- generic article (codeedit)
- group
- lcreate
- lcreate/doc
- libraries
- libraries/Medicine
- libraries/Nigeria ethnic groups Editathon
- libraries/Prokaryotes
- libraries/WLW
- libraries/develop-main
- libraries/main
- libraries/preload
- libraries/user available list
- libraries/user palette preload
- preload
- sandbox
- testcases
Template data
TemplateData for User sandbox+
Add this to your sandbox subpage to turn it into a workstation for making new articles/drafts from a library of premade template articles. User Sandbox+ is a tool for drafting or publishing new articles, and accessing and starting new subpages to your user sandbox. It also gives you easy access to a list of template articles/pages which provides a framework to build off of, rather than starting with a blank page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description | Unknown | optional |
| 2 | 2 | no description | Unknown | optional |
| No sandbox? | no_sandbox | "yes" or "no" for directly starting the new article in – and saving it to – Mainspace, rather than saving it as a draft in Userspace under sandbox.
| Boolean | optional |
| Code? | code | "yes" or "no" for starting a new article in Source Edit mode rather than Visual Edit mode.
| Boolean | optional |
| Library | lib | Name of the library you want to load on your Sandbox+ menu. Preloads "main" by default. List of library names can be found in Template:Article_templates/libraries | Content | suggested |
| Custom palettes? | custom | "yes" or "no" for enabling the display of the button for customizing the Sandbox+ menu. | Boolean | optional |