User talk:Robinr78/common.js: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<pre>
<pre>
var customizeToolbar = function () {
var customizeToolbar = function () {
/* stable as of 2019-1014-1251 */
/* stable as of 2019-1028-1730 */
var customizeToolbar = function () {
 
/* ======================================Add SM-201 & category Sections */
/* ======================================Add SM-201 & category Sections */


Line 30: Line 32:
'Format': {
'Format': {
'label': 'Format'  
'label': 'Format'  
}
}
} );
/* ------------------- add files group ----------------------*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'SM-201',
'groups': {
'Files': {
'label': 'Files'
}
}
}
}
Line 63: Line 75:
}
}
} );
} );




Line 107: Line 117:
}
}
});
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Inc',
tools: {
"Nowiki": {
label: 'Nowiki',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg',
action: {
type: 'encapsulate',
options: {
pre: "<nowiki>",
                                        post:"</nowiki>"
}
}
}
}
});


/*  Add footer buttons ============================================================*/
/*  Add footer buttons ============================================================*/
Line 245: Line 276:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  "{{Macroheader}}",
pre:  "{{Macroheader}} ",
                                         post: "{{Macrofooter}}"
                                         post: "{{Macrofooter}}"
}
}
Line 252: Line 283:
}
}
});
});


/* Add Microfooter */
/* Add Microfooter */
Line 266: Line 296:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  "{{Microheader}}",
pre:  "{{Microheader}} ",
                                         post: "{{Microfooter}}"
                                         post: "{{Microfooter}}"
}
}
Line 275: Line 305:




/* Add PMfooters */
/* Add RLPMfooters */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
Line 287: Line 317:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  "{{Pmheader}}",
pre:  "{{Pmheader}} ",
                                         post: "{{Pmfooter}}"
                                         post: "{{Pmfooter}}"
}
}
Line 295: Line 325:
});
});


/* Add RL footers */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Footer',
tools: {
"Resource Guide": {
label: 'Resources',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
action: {
type: 'encapsulate',
options: {
pre:  "{{rl-header}} ",
                                        post: "{{rl-footer}}"
}
}
}
}
});
/* Add Storyfooters */
/* Add Storyfooters */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
Line 307: Line 357:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Storyheader}}<br>",
pre: "{{Storyheader}} ",
                                         post:"{{Storyfooter}}<br>"
                                         post:"{{Storyfooter}}"
}
}
}
}
Line 327: Line 377:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Timeheader}}<br>",
pre: "{{Timeheader}} ",
                                         post:"{{Timefooter}}<br>"
                                         post:"{{Timefooter}}"
}
}
}
}
Line 376: Line 426:
}
}
} );
} );


/* Add  'clear'  =====================*/
/* Add  'clear'  =====================*/
Line 398: Line 449:
});
});


/* Strike through */
/* Add Files group buttons ========================================================== */
$('#wpTextbox1').wikiEditor('addToToolbar', {
 
/* Toolbar copy button =======================*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Files',
tools: {
tools: {
"Strike": {
"Copy": {
label: 'Strike',
label: 'Copy',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
icon: 'http://www.sm-201.org/a/images/2/22/Button-copy.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<s>',
pre:  'Copyright info not available/ownership unkown',
post: '</s>',
post: ''
}
}
}
}
}
}
}
}
});
} );
 


/* Toolbar date button =======================*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Date": {
label: 'Date',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
action: {
type: 'encapsulate',
options: {
pre:  '06/01/2018',
post: ''
}
}
}
}
} );


/* Toolbar gallery button =======================*/
/* Toolbar gallery button =======================*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Files',
tools: {
tools: {
"Gallery": {
"Gallery": {
Line 432: Line 503:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<gallery mode="packed> ',
pre:  '<gallery mode="packed" heights="200px"> ',
post: '</gallery>'
post: '</gallery>'
}
}
Line 440: Line 511:
} );
} );


/* Toolbar thumb button =======================*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Thumb": {
label: 'Thumb',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/6f/Button_thumb.jpg',
action: {
type: 'encapsulate',
options: {
pre:  '[[File:',
post: '|thumb|right|130px| ]]'
}
}
}
}
} );
/*  Add Book Title    */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Book title": {
label: 'Book Title',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',
action: {
type: 'encapsulate',
options: {
pre:  '"<I>[[',
                                        post: ']]</I>"'
}
}
}
}
});
/* Strike through  =====================*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Strike": {
label: 'Strike',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
action: {
type: 'encapsulate',
options: {
pre:  '<s>',
post: '</s>',
}
}
}
}
});


/* Toolbar [[ ]] Button  */
/* Toolbar [[ ]] Button  */
Line 578: Line 710:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Artists]] [[Category:Art forms]]',
pre:  '{{Artists}} {{Art forms}} {{Art techniques}} ',
post: ''
post: ' {{BDSM artists}} {{Fetish artists}} {{Pin-up artists}} {{Vintart}} '
}
}
}
}
Line 599: Line 731:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Authors]]',
pre:  '{{Adult authors}} {{BDSM authors}} {{Fetish authors}} ',
post: ''
post: '{{SciFi authors}} '
}
}
}
}
Line 619: Line 751:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Human anatomy]]',
pre:  '{{anatomy}}',
post: ''
post: ''
}
}
Line 639: Line 771:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Book]]',
pre:  '{{Books}} {{Art books}} {{BDSM books}} {{Fetbooks}} {{Novels}} {{Photobooks}} {{Vintbooks}} ',
post: ''
post: ''
}
}
Line 658: Line 790:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Classes]]',
pre:  '{{Classes}} {{BD classes}} {{schools}}',
post: ''
post: ''
}
}
Line 679: Line 811:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Club]]',
pre:  '{{Club}} {{Clubbing}} {{org}} {{night}} {{bd club}}',
post: ''
post: ''
}
}
Line 699: Line 831:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Corsetry]]',
pre:  '{{Corsets}} {{Corsetry}}',
post: ''
post: ''
}
}
Line 719: Line 851:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{cat2|Directors | Producers}} '
pre:  '{{Directors}} {{Producers}} '
/* post: '' */
/* post: '' */
}
}
Line 739: Line 871:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Events]]',
pre:  '{{events}} {{BD events}}',
post: ''
post: ''
}
}
Line 760: Line 892:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Fetish articles]]',
pre:  '{{fetish articles}} {{fetish clubs}} {{fetish events}}',
   post: ''   
   post: ''   
}
}
Line 781: Line 913:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Filmography]]',
pre:  '{{Filmography}}',
post: ''
post: ''
}
}
Line 801: Line 933:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Health]]',
pre:  '{{Health}}',
post: ''
post: ''
}
}
Line 821: Line 953:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:History]]',
pre:  '{{BD history}} {{History}}',
post: ''
post: ''
}
}
Line 842: Line 974:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Icons]] [[Category:Index]]',
pre:  '{{Icons}} {{Index}} {{menu}}',
post: ''
post: ''
}
}
Line 863: Line 995:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Links]]',
pre:  '{{Links}} {{lists}}',
post: '[[Category:Lists]]'
post: ''
}
}
}
}
Line 884: Line 1,016:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Magazines]][[Category:Bondage magazines]][[Category:Fetish magazines]]',
pre:  '{{Mags}} {{Bondmags}} {{Fetmags}}',
post: ''
post: ''
}
}
Line 893: Line 1,025:




/* Toolbar Magazine category Button */
/* Toolbar Models category Buttons */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Cats',
section: 'Cats',
Line 905: Line 1,037:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{cat3|Bondage models|Fetish models|Pinup models}}',
                                pre:  '{{Bondmodel}} {{fetmodel}} {{pinmodel}}',
post: ''
post: ''
}
}
Line 927: Line 1,059:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Info box]]',
pre:  '{{Info box}}',
post: ''
post: ''
}
}
Line 948: Line 1,080:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Bondage photographers]] [[Fetish photographers]]',
                                pre:  '{{Bondphotog}} {{Fetphotog}} {{Pinphotog}}',
post: '[[Pinup photographers]]'  
                                post: ''  
}
}
}
}
Line 969: Line 1,101:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Places]] [[Cateory:Settings]]',
                                pre:  '{{places}} {{locations}} {{settings}}',
post: ''  
post: ''  
}
}
Line 991: Line 1,123:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Spiderpool]]',
                                pre:  '{{Spiderpool}}',
post: ''  
                                post: ''  
}
}
}
}
Line 1,014: Line 1,146:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{cat3|Professional Doms|Professional Subs| Prodom venues}}',
pre: '{{prodom}} {{prosub}} {{provenue}}',
post: ''
post: ''
}
}
Line 1,035: Line 1,167:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Stories by Robin]]',
pre:  '{{Stories by Robin}} {{articles by Robin}}',
post: ''
post: ''
}
}
Line 1,056: Line 1,188:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Sessions]]',
pre:  '{{Sessions}} {{session content}} ',
post: ''
post: ''
}
}
Line 1,063: Line 1,195:
}
}
} );
} );


/* Toolbar Spanking categories Button  */
/* Toolbar Spanking categories Button  */
Line 1,077: Line 1,208:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                                pre:  '[[Category:Spanking articles]]'
pre:  '{{cat-Spanking-a}} {{sa-spanking furniture}} {{cat-Spanking-f}} {{sa-spanking implements}} {{cat-Spanking-i}} ',
/* post: '' */
post: '{{sa-spanking positions}} {{cat-Spanking-p}} {{sa-spanking terms}} {{cat-Spanking-t}}'  
}
}
}
}
Line 1,098: Line 1,229:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[Category:Sex toys]] [[Category:Bondage equipment]]',
                                        pre:  '{{Sex toys}} {{Bondequip}} {{Basic terms}}',
post: ''
post: ''
}
}
Line 1,126: Line 1,257:
}
}
} );
} );




Line 1,143: Line 1,273:
} );
} );
}
}
</pre>

Revision as of 00:28, 29 October 2019

var customizeToolbar = function () {
/* stable as of 2019-1028-1730 */
var customizeToolbar = function () {

/* ======================================Add SM-201 & category Sections */

$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'SM-201': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'SM-201'
	}
	}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'Cats': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'Cats'
	}
	}
} );


/* ===============================================================Add groups */

/* -------------------add Format group ------------------- */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'section': 'SM-201',
	'groups': {
		'Format': {
			'label': 'Format' 
		}
	}
} );

/* ------------------- add files group ----------------------*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'section': 'SM-201',
	'groups': {
		'Files': {
			'label': 'Files' 
		}
	}
} );

/* ------------------- add <inc> group ----------------------*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'section': 'SM-201',
	'groups': {
		'Inc': {
			'label': 'Inc' 
		}
	}
} );

/* ------------------- add footers group ----------------------*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'section': 'SM-201',
	'groups': {
		'Footer': {
			'label': 'Footer' 
		}
	}
} );

/* ------------------- add Categories group -----------------*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'section': 'Cats',
	'groups': {
		'Cats': {
			'label': 'Cats'
		}
	}
} );


/* Add <Inc> buttons ============================================================ */

$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Inc',
	tools: {
		"Incl": {
			label: 'Incl',
			type: 'button',
   icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: ""
				}
			}
		}
	}
});


$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Inc',
	tools: {
		"Noinclude": {
			label: 'Noinclude',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "",
                                        post:""
				}
			}
		}
	}
});

$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Inc',
	tools: {
		"Nowiki": {
			label: 'Nowiki',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "",
                                        post:""
				}
			}
		}
	}
});



/*  Add footer buttons ============================================================*/
/* Add Footers */

$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Footer',
	tools: {
		"Footer": {
			label: 'Footer',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "  ",
                                        post:"
Chain-09.png
Jump to: Main PageMicropediaMacropediaIconsTime LineHistoryLife LessonsLinksHelp
Chat roomsWhat links hereCopyright infoContact informationCategory:Root
" } } } } }); /* Add Biofooters - Biographies */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Biofooter": { label: 'Biofooter', type: 'button', icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png', action: { type: 'encapsulate', options: { pre: " ;This article is a Biography: ", post:"
Chain-09.png
Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesHelpContact info
" } } } } }); /* Add Historyfooter */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Historyfooter": { label: 'History footer', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png', action: { type: 'encapsulate', options: { pre: "

"{{{1}}}"


", post: "
Chain-09.png

Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesHelpContact Info

" } } } } }); /* Add Iconfooter */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Iconfooter": { label: 'Icon footer', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png', action: { type: 'encapsulate', options: { pre: " ;This article is about the Icons of our Community:
", post: "
Chain-09.png
Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesHelpContact info

" } } } } }); /* Add Libfooter Library*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Libraryfooter": { label: 'Libraryfooter', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png', action: { type: 'encapsulate', options: { pre: " ;This article is part of the SM-201 Library Project
", post: "
Chain-09.png

Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesContact InfoHelp

" } } } } }); /* Add Lifefooter */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Life Lessons footer": { label: 'Lifefooter', type: 'button', icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png', action: { type: 'encapsulate', options: { pre: " ;This article is part of the SM-201 Life's Lessons Project
", post: "
Chain-09.png

Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesContact InfoHelp

" } } } } }); /* Add Macrofooter */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Life Lessons footer": { label: 'Macrofooter', type: 'button', icon: 'http://www.sm-201.org/a/images/f/fc/Editor_mac.png', action: { type: 'encapsulate', options: { pre: " ;This article is part of the SM-201 Macropedia ", post: "
Chain-09.png
Jump to: Main PageMicropediaMacropediaIconsTime LineHistoryLife LessonsLinksHelp
What links hereReferences and SourcesContact infoCategory:Root ⤴
" } } } } }); /* Add Microfooter */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Micropedia footers": { label: 'Microfooter', type: 'button', icon: 'http://www.sm-201.org/a/images/9/95/Editor_mic.png', action: { type: 'encapsulate', options: { pre: " ;This article is part of the SM-201 Micropedia ", post: "
Chain-09.png
Jump to: Main PageMicropediaMacropediaIconsTime LineHistoryLife LessonsLinksHelp
What links hereReferences and SourcesContact Info
" } } } } }); /* Add RLPMfooters */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Robins Personal memories": { label: 'Robin Mem', type: 'button', icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png', action: { type: 'encapsulate', options: { pre: " Use {{pm}} instead of {{pmheader}} ", post: " ;Return to "Robin's History" page
Chain-09.png
Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesHelpContact infoCategory:Root ⤴
" } } } } }); /* Add RL footers */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Resource Guide": { label: 'Resources', type: 'button', icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png', action: { type: 'encapsulate', options: { pre: "
Computer01.jpg

Shaking.jpg
SM-201 Main PageResource Guide Main Page
AKALARAZCACOCTDEFLGAHIIAIDILINKSKYLAMAMDMEMIMNMOMSMTNCNDNENHNJNMNVNYOHOKORPARISCSDTNTXUTVAVTWAWIWVWY
Foreign countries
Alphabetic list of websites and links
0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
Our Resource Guide Codes explainedInternet Country codesList of BBSsList of ZipcodesDefinitions
Mailbox.jpg

Phone08.jpg
", post: "

Click here to modify information in our Resource Guide
Abbreviations, Definitions & Codes used in this Guide
Why are old listings crossed out, but not removed?Help
Chain-09.png
Jump to: Main PageMicropediaMacropediaIconsTime LineHistoryLife LessonsLinks
Chat roomsWhat links hereContact informationCategory:Root" } } } } }); /* Add Storyfooters */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Storyfooter": { label: 'Storyfooter', type: 'button', icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', action: { type: 'encapsulate', options: { pre: "

from Robin's File & Story Archives



"{{{1}}}"

", post:"
Chain-09.png
Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaTime Line
What links hereReferences and SourcesContact InfoHelp
" } } } } }); /* Add Timefooters */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Footer', tools: { "Timefooter": { label: 'Timefooter', type: 'button', icon: 'http://www.sm-201.org/a/images/1/19/Editor_t.png', action: { type: 'encapsulate', options: { pre: " ", post:"
Chain-09.png

Jump to: Main PageHistoryIconsLibraryLife LessonsLinksMicropediaMacropediaWhat links here
Alternative Sexuality Time LineReferences and SourcesHelpContact info
" } } } } }); /*=====================Format Buttons====================================*/ /* Toolbar <Comment Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Comment": { label: 'Comment', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: } } } } } ); /* Toolbar Apostrophe Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Apostrope": { label: 'Apostrphe', type: 'button', icon: 'http://www.sm-201.org/a/images/3/39/Editor_apos.png', action: { type: 'encapsulate', options: { pre: "'", post: "'" } } } } } ); /* Add 'clear' =====================*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Clear": { label: 'Clear', type: 'button', icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', action: { type: 'encapsulate', options: { pre: '
', post: } } } } }); /* Add Files group buttons ========================================================== */ /* Toolbar copy button =======================*/ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Files', tools: { "Copy": { label: 'Copy', type: 'button', icon: 'http://www.sm-201.org/a/images/2/22/Button-copy.jpg', action: { type: 'encapsulate', options: { pre: 'Copyright info not available/ownership unkown', post: } } } } } ); /* Toolbar date button =======================*/ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Files', tools: { "Date": { label: 'Date', type: 'button', icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg', action: { type: 'encapsulate', options: { pre: '06/01/2018', post: } } } } } ); /* Toolbar gallery button =======================*/ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Files', tools: { "Gallery": { label: 'Gallery', type: 'button', icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png', action: { type: 'encapsulate', options: { pre: '' } } } } } ); /* Toolbar thumb button =======================*/ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Files', tools: { "Thumb": { label: 'Thumb', type: 'button', icon: 'http://www.sm-201.org/a/images/6/6f/Button_thumb.jpg', action: { type: 'encapsulate', options: { pre: '[[File:', post: '|thumb|right|130px| ]]' } } } } } ); /* Add Book Title */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Files', tools: { "Book title": { label: 'Book Title', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png', action: { type: 'encapsulate', options: { pre: '"[[', post: ']]"' } } } } }); /* Strike through =====================*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Strike": { label: 'Strike', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png', action: { type: 'encapsulate', options: { pre: '', post: '', } } } } }); /* Toolbar [[ ]] Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Template": { label: 'Link', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png', action: { type: 'encapsulate', options: { pre: '[[', post: ']]' } } } } } ); /* Toolbar double curly brackets Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'format', tools: { "Template": { label: 'Template', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png', action: { type: 'encapsulate', options: { pre: "{{", post: "}}" } } } } } ); /* Quotes */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Quotes": { label: 'Quotes', type: 'button', icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png', action: { type: 'encapsulate', options: { pre: '"', post: '"', } } } } }); /* Center */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Center": { label: 'Center', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png', action: { type: 'encapsulate', options: { pre: '
', post: '
', } } } } }); /* Justify */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Justify": { label: 'Justify', type: 'button', icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png', action: { type: 'encapsulate', options: { pre: '

', post: '

', } } } } }); /* ================================ Add Category Buttons =================================== */ /* Toolbar Category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Cats": { label: 'Category', type: 'button', icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', action: { type: 'encapsulate', options: { pre: '[[Category:', post: ']]' } } } } } ); /* Artist Category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Cats": { label: 'Artist', type: 'button', icon: 'http://www.sm-201.org/a/images/3/32/Button-art.png', action: { type: 'encapsulate', options: { pre: ' ', post: ' Template:Vintart ' } } } } } ); /* Author Category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Cats": { label: 'Authors', type: 'button', icon: 'http://www.sm-201.org/a/images/1/15/Button-quil.png', action: { type: 'encapsulate', options: { pre: ' Template:Fetish authors ', post: ' ' } } } } } ); /* Toolbar Anatomy category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Human anatomy', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e0/Editor_a.png', action: { type: 'encapsulate', options: { pre: ' ; This is an article about Human Anatomy', post: } } } } } ); /* Toolbar Anatomy category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Book', type: 'button', icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png', action: { type: 'encapsulate', options: { pre: '
Bar.jpg

Sources

Notes

{{Footer} } Template:Art books Template:Fetbooks Template:Photobooks Template:Vintbooks ', post: } } } } } ); /* Toolbar "Classes" category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Classes', type: 'button', icon: 'http://www.sm-201.org/a/images/6/67/Cat-class.jpg', action: { type: 'encapsulate', options: { pre: ' Template:Schools', post: } } } } } ); /* Toolbar "Club" category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: ' ', type: 'button', icon: 'http://www.sm-201.org/a/images/3/31/Cat-club.jpg', action: { type: 'encapsulate', options: { pre: ' Template:Org Template:Night ', post: } } } } } ); /* Toolbar "Club" category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Corset', type: 'button', icon: 'http://www.sm-201.org/a/images/0/0d/Cat-corset.jpg', action: { type: 'encapsulate', options: { pre: 'Replace {{corsets}} with {{sa-corsets}}
Corset.jpg
This article is about Corsets and Corsetry
Main article and index is at Corset
', post: } } } } } ); /* Toolbar Director/Producers category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Director', type: 'button', icon: 'http://www.sm-201.org/a/images/4/4a/Cat-meg.jpg', action: { type: 'encapsulate', options: { pre: ' ' /* post: */ } } } } } ); /* Toolbar "Events" category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Events": { label: 'Events', type: 'button', icon: 'http://www.sm-201.org/a/images/9/96/Cat-event.jpg', action: { type: 'encapsulate', options: { pre: ' ', post: } } } } } ); /* Toolbar Fetish category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Fetish', type: 'button', icon: 'http://www.sm-201.org/a/images/9/9f/Cat-ballet.jpg', action: { type: 'encapsulate', options: { pre: 'Template:Fetish articles Template:Fetish clubs Template:Fetish events', post: } } } } } ); /* Toolbar Film category button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Film": { label: 'Film', type: 'button', icon: 'http://www.sm-201.org/a/images/b/bd/Cat-film.jpg', action: { type: 'encapsulate', options: { pre: 'Template:Filmography', post: } } } } } ); /* Toolbar Health category button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Health": { label: 'Health', type: 'button', icon: 'http://www.sm-201.org/a/images/b/ba/Cat-health.jpg', action: { type: 'encapsulate', options: { pre: ' ', post: } } } } } ); /* Toolbar History category button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "History": { label: 'History', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png', action: { type: 'encapsulate', options: { pre: ' ', post: } } } } } ); /* Toolbar Icon category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Icon": { label: 'Icon', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png', action: { type: 'encapsulate', options: { pre: '
The Legends Project

The Legends Project is a concerted attempt to identify and applaud the efforts of those special people that helped establish the BDSM community as we know it today. We will be adding bios for each of these "Legends" along with links to various websites so that you, our readers, can learn more about these people who have made "What is that we do" openly available to you today. If you have factual information or personal insights you would like to add to this article, you may: * Send information to Robin@sm201.org
Once this article becomes a little more complete, this banner will be removed.

;
The Bio template can be used to pre-populate a page for the Legends Project

{{{1}}}', post: } } } } } ); /* Toolbar Link category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Link": { label: 'Link', type: 'button', icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png', action: { type: 'encapsulate', options: { pre: 'Template:Links', post: } } } } } ); /* Toolbar Magazine category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Magazine": { label: 'Magazine', type: 'button', icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', action: { type: 'encapsulate', options: { pre: , post: } } } } } ); /* Toolbar Models category Buttons */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Model": { label: 'Model', type: 'button', icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg', action: { type: 'encapsulate', options: { pre: ' Template:Fetmodel ', post: } } } } } ); /* Toolbar N=Info Box category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Info box": { label: 'Info box', type: 'button', icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png', action: { type: 'encapsulate', options: { pre: 'Template:Info box', post: } } } } } ); /* Toolbar Photography categories Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Photogs', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e8/Cat-photo.jpg', action: { type: 'encapsulate', options: { pre: ' Template:Pinphotog', post: } } } } } ); /* Toolbar Photography categories Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Places', type: 'button', icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png', action: { type: 'encapsulate', options: { pre: ' ', post: } } } } } ); /* Toolbar Photography categories Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Spiderpool', type: 'button', icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg', action: { type: 'encapsulate', options: { pre: 'Template:Spiderpool', post: } } } } } ); /* Toolbar ProDom categories Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "ProDom": { label: 'ProDom', type: 'button', icon: 'http://www.sm-201.org/a/images/a/a8/Cat-pro.jpg', action: { type: 'encapsulate', options: { pre: 'Template:Prodom Template:Prosub Template:Provenue', post: } } } } } ); /* Toolbar Stories by Robin category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Robin": { label: 'Robin', type: 'button', icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png', action: { type: 'encapsulate', options: { pre: 'Template:Stories by Robin ', post: } } } } } ); /* Toolbar Sessions category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Sessions": { label: 'Sessions', type: 'button', icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', action: { type: 'encapsulate', options: { pre: ' Template:Session content ', post: } } } } } ); /* Toolbar Spanking categories Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'Spanking', type: 'button', icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg', action: { type: 'encapsulate', options: { pre: 'Template:Cat-Spanking-a Template:Sa-spanking furniture Template:Cat-Spanking-f Template:Sa-spanking implements Template:Cat-Spanking-i ', post: 'Template:Sa-spanking positions Template:Cat-Spanking-p Template:Sa-spanking terms Template:Cat-Spanking-t' } } } } } ); /* Toolbar Toy box category Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Toy box": { label: 'Toy box', type: 'button', icon: 'http://www.sm-201.org/a/images/1/19/Editor_t.png', action: { type: 'encapsulate', options: { pre: ' ', post: } } } } } ); /* Toolbar BD on TV categories Button */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Cats', group: 'Cats', tools: { "Template": { label: 'BD on TV', type: 'button', icon: 'http://www.sm-201.org/a/images/2/25/Cat-tv.jpg', action: { type: 'encapsulate', options: { pre: , post: } } } } } ); /* Leave everything below this line alone ===================== */ }; /* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) { mw.loader.using( 'user.options' ).then( function () { // This can be the string "0" if the user disabled the preference (phab:T54542#555387) if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) { $.when( mw.loader.using( 'ext.wikiEditor' ), $.ready ).then( customizeToolbar ); } } ); }