الگو:ماسهبازی کاربر+/توضیحات
آخرین ویرایش :
۸ تیر ۱۳۹۷
| این زیرصفحهٔ مستندات الگو:ماسهبازی کاربر+ است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
Meta page
meta:Grants:Project/Rapid/Article template libraries - user sandbox space organization
Help videos
| User help
|
|---|
Seed article in user space
|
Locate seeded article
|
Move completed article to main space
Extras |
| 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
{{ ماسهبازی کاربر+ }}
{{ ماسهبازی کاربر+ | lib = Editathon_X }} - اعلامیه ویرایش کتابخانه الگو مقاله
{{ ماسهبازی کاربر+ | no_sandbox = yes }} - شروع به نوشتن به طور مستقیم به فضای مقاله
{{ ماسهبازی کاربر+ | no_main_lib = yes }} - کتابخانه الگو مقاله مرکزی را حذف کنید
{{ ماسهبازی کاربر+ | code = yes }} - صفحه شروع ویرایشگر wikicode را آغاز کنید
{{ ماسهبازی کاربر+ | empty = yes }} - شروع با صفحه خالی (به جای مقاله عمومی)
{{ ماسهبازی کاربر+ | custom = yes }} - کاربر سفارشی پالت الگو را فعال کنید
Combination
{{ ماسهبازی کاربر+ | 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/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 diplays 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 |
| Template:Invisible | smallbox-mobile, which is only visible in user space
|
| optical help | |
| Template:Key press | library to display keyboards buttons and combinations |
| Template:Visual edit | library for displaying visual elements for help. not optically optimized (i.e. exact colors) |
| Template:TabButton | |
| Template:BlueButton | |
| Template:WhiteButton | |
| Template:VeButton | |
| 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. |
| MediaWiki:Sandboxlink-editnotice-pagename | message to display while user's sandbox is being edited.
|
| 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