User:Robinr78/common.js: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | No edit summary | ||
| (102 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| var customizeToolbar = function () { | var customizeToolbar = function () { | ||
| /* stable as of 2025- | /* stable as of 2025-1001 */ | ||
| /* ==================================================   | /* ==================================================   | ||
| Line 6: | Line 6: | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	'sections': { | 	'sections': { | ||
| 		' | 		'Create': { | ||
| 			'type': 'toolbar', // Can also be 'booklet'screen | 			'type': 'toolbar', // Can also be 'booklet'screen | ||
| 			'label': ' | 			'label': 'Create' | ||
| 	} | 	} | ||
| 	} | 	} | ||
| Line 15: | Line 15: | ||
| /* Enable Group:Format: */ | /* Enable Group:Format: */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Format': { | 		'Format': { | ||
| Line 25: | Line 25: | ||
| /* Enable Format:Wiki-que */ | /* Enable Format:Wiki-que */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 44: | Line 44: | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 64: | Line 64: | ||
| /* Enable Format:Apostrophe */ | /* Enable Format:Apostrophe */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 84: | Line 84: | ||
| /* Enable Format:Apostrophe */ | /* Enable Format:Apostrophe */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 105: | Line 105: | ||
| /* Enable Format:button Quotes */ | /* Enable Format:button Quotes */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 115: | Line 115: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: '"', | ||
| 					post: '"', | 					post:'"', | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 125: | Line 125: | ||
| /* Enable Format:List Item */ | /* Enable Format:List Item */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 145: | Line 145: | ||
| /* Enable Format:Template Dot */ | /* Enable Format:Template Dot */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 166: | Line 166: | ||
| /* Enable Format:Template Dot */ | /* Enable Format:Template Dot */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 185: | Line 185: | ||
| /* Enable Format:Tempate:BC */ | /* Enable Format:Tempate:BC */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 206: | Line 206: | ||
| /* Enable Format:<clear /> */ | /* Enable Format:<clear /> */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 227: | Line 227: | ||
| /* Enable Format:Underline */ | /* Enable Format:Underline */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 247: | Line 247: | ||
| /* Enable Format:Strike through*/ | /* Enable Format:Strike through*/ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 267: | Line 267: | ||
| /* Enable Format:small */ | /* Enable Format:small */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 286: | Line 286: | ||
| /* Enable Format:button [[ link ]] */ | /* Enable Format:button [[ link ]] */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 306: | Line 306: | ||
| /* Enable Format:button {{ }} */ | /* Enable Format:button {{ }} */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'format', | 	group: 'format', | ||
| 	tools: { | 	tools: { | ||
| Line 326: | Line 326: | ||
| /* Enable Format:button parenthesis */ | /* Enable Format:button parenthesis */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 346: | Line 346: | ||
| /* Enable Format:button moz-column */ | /* Enable Format:button moz-column */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 366: | Line 366: | ||
| /* Enable Format:button Center */ | /* Enable Format:button Center */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 386: | Line 386: | ||
| /* Enable Format:button Justify */ | /* Enable Format:button Justify */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Format', | 	group: 'Format', | ||
| 	tools: { | 	tools: { | ||
| Line 406: | Line 406: | ||
| /* Enable Group:Inc:  ================================== */ | /* Enable Group:Inc:  ================================== */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Inc': { | 		'Inc': { | ||
| Line 416: | Line 416: | ||
| /* Enable button Heads:Inc:Includeonly */ | /* Enable button Heads:Inc:Includeonly */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Inc', | 	group: 'Inc', | ||
| 	tools: { | 	tools: { | ||
| Line 436: | Line 436: | ||
| /* Enable button Heads:Inc:Noinclude */ | /* Enable button Heads:Inc:Noinclude */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Inc', | 	group: 'Inc', | ||
| 	tools: { | 	tools: { | ||
| Line 456: | Line 456: | ||
| /* Enable button Heads:Inc:Nowiki */ | /* Enable button Heads:Inc:Nowiki */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Inc', | 	group: 'Inc', | ||
| 	tools: { | 	tools: { | ||
| Line 477: | Line 477: | ||
| /* Enable group:Heads:Cats  ============================ */ | /* Enable group:Heads:Cats  ============================ */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
|      section: ' |      section: 'Create', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Cats': { | 		'Cats': { | ||
| Line 487: | Line 487: | ||
| /* Enable button Heads:Cats:Category  */ | /* Enable button Heads:Cats:Category  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| Line 508: | Line 508: | ||
| /* Enable button Heads:Cats:Category2  */ | /* Enable button Heads:Cats:Category2  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| Line 529: | Line 529: | ||
| /* Enable button Heads:Cats:{{lc */ | /* Enable button Heads:Cats:{{lc */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| Line 550: | Line 550: | ||
| /* Enable button Heads:Cats:}}lc */ | /* Enable button Heads:Cats:}}lc */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| Line 569: | Line 569: | ||
| /* Enable Heads:Cats:Date chg*/ | /* Enable Heads:Cats:Date chg*/ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| Line 579: | Line 579: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  'March 01, 2025', | ||
| 					post: '' | 					post: '' | ||
| 				} | 				} | ||
| Line 592: | Line 592: | ||
| /* Enable group:Links: */ | /* Enable group:Links: */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Links': { | 		'Links': { | ||
| Line 603: | Line 603: | ||
| /* Enable Links:See also */ | /* Enable Links:See also */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Links', | |||
| 	tools: { | |||
| 		"Links": { | |||
| 			label: 'Doors', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/b/b9/Doors-1.jpg', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 		pre: "<!--  == &&&==  -->", | |||
|                 post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable Links:See also */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Create', | |||
| 	group: 'Links', | 	group: 'Links', | ||
| 	tools: { | 	tools: { | ||
| Line 623: | Line 643: | ||
| /* Enable Links:Sanity */ | /* Enable Links:Sanity */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Links', | 	group: 'Links', | ||
| 	tools: { | 	tools: { | ||
| Line 633: | Line 653: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 		pre: "{{Sanity check| | 		pre: "{{Sanity check|10/25|R/}}", | ||
|                  post:"" |                  post:"" | ||
| 				} | 				} | ||
| Line 644: | Line 664: | ||
| /* Enable Links:Site ok */ | /* Enable Links:Site ok */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Links', | 	group: 'Links', | ||
| 	tools: { | 	tools: { | ||
| Line 654: | Line 674: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{Site-ok| | 					pre: "{{Site-ok|10/25 R/}} ", | ||
|                      post:"" |                      post:"" | ||
| 				} | 				} | ||
| Line 664: | Line 684: | ||
| /* Enable Links:Red */ | /* Enable Links:Red */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Links', | 	group: 'Links', | ||
| 	tools: { | 	tools: { | ||
| Line 674: | Line 694: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{Site-red| | 					pre: "{{Site-red|10/25 R/}}{{Site-def|10/25 R/}}", | ||
|                      post:"{{Site-hij| |                      post:"{{Site-hij|10/25 R/}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 685: | Line 705: | ||
| /* Enable Links:<br> */ | /* Enable Links:<br> */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Links', | 	group: 'Links', | ||
| 	tools: { | 	tools: { | ||
| Line 707: | Line 727: | ||
| /* Enable Group:Files: ============================== */ | /* Enable Group:Files: ============================== */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Files': { | 		'Files': { | ||
| Line 717: | Line 737: | ||
| /* Enable Files:{{fs */ | /* Enable Files:{{fs */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 727: | Line 747: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  '|      updated =  | 					pre:  '|      updated = 10/25 R/', | ||
| 					post: '' | 					post: '' | ||
| 				} | 				} | ||
| Line 734: | Line 754: | ||
| 	} | 	} | ||
| } ); | } ); | ||
| /* Enable Files:Thumbnail */ | /* Enable Files:Thumbnail */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 758: | Line 777: | ||
| /* Enable Files:Thumbnail */ | /* Enable Files:Thumbnail */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 779: | Line 798: | ||
| /* Enable Files:Gallery */ | /* Enable Files:Gallery */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 785: | Line 804: | ||
| 			label: 'Gallery', | 			label: 'Gallery', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/1/13/Button_Gall.Png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  '<gallery mode="packed" heights="200px" caption=""> ', | 					pre:  '<gallery mode="packed" heights="200px" caption="{{PAGENAME}} gallery"> ', | ||
| 					post: '</gallery>' | 					post: '</gallery>' | ||
| 				} | 				} | ||
| Line 796: | Line 815: | ||
| 	} | 	} | ||
| } ); | } ); | ||
| /* Enable button Heads:Files:'File:' */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Create', | |||
| 	group: 'Files', | |||
| 	tools: { | |||
| 		"File:": { | |||
| 			label: 'File:', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "file:", | |||
|                                       post:"|" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable Files:Gallery */ | /* Enable Files:Gallery */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 818: | Line 858: | ||
| } ); | } ); | ||
| /* Enable Files:{{ndib */ | /* Enable Files:{{ndib */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 861: | Line 881: | ||
| /* Enable Files:Screenies */ | /* Enable Files:Screenies */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: 'Files', | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| Line 959: | Line 979: | ||
| }); | }); | ||
| /* Enable button  | /* Enable button Notes:top-tg  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Page', | 	group: 'Page', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"top-tg": { | ||
| 			label: ' | 			label: 'Top-tg', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  '{{top-tg|add=vedette and}}', | ||
| 					post: '' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button Notes: | /* Enable button Notes:toporn  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Page', | 	group: 'Page', | ||
| 	tools: { | 	tools: { | ||
| 		"toporn": { | |||
| 		"toporn": { | |||
| 			label: 'top', | 			label: 'top', | ||
| 			type: 'button', | 			type: 'button', | ||
| Line 1,343: | Line 1,343: | ||
| 	} | 	} | ||
| } ); | } ); | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	'groups': { | 	'groups': { | ||
| 		' | 		'Refs': { | ||
| 			'label': ' | 			'label': 'Refs'   | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | } ); | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: ' | 	group: 'Refs', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Comment": { | ||
| 			label: ' | 			label: 'Comment', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| pre:   | 					pre:  '<!-- ', | ||
| post:  | 					post: ' -->' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button  | /* Enable Format:button Quotes */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: ' | 	group: 'Refs', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Quotes": { | ||
| 			label: ' | 			label: 'Quotes', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: '"', | ||
| 					post:'"', | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,396: | Line 1,393: | ||
| }); | }); | ||
| /* Enable button  | /* Enable Format:button [[ link ]] */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: ' | 	group: 'Refs', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Template": { | ||
| 			label: ' | 			label: 'Link', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  '[[', | ||
| 					post: ']]' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button Info:Pro: | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Info', | |||
| 	'groups': { | |||
| 		'Pro': { | |||
| 			'label': 'Pro'  | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button Info:Pro:Genres = */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Pro', | 	group: 'Pro', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Genre": { | ||
| 			label: ' | 			label: 'Genre', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| pre:  "|        genre = \n|         solo = [[Masturbation]], [[Dildo]]\n", | |||
| post: "|      lesbian = [[Softcore]], [[Dildo]]\n|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,437: | Line 1,444: | ||
| }); | }); | ||
| /* Enable button Info:Pro: | |||
| /* Enable button Info:Pro:Specs = */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Pro', | 	group: 'Pro', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Specs": { | ||
| 			label: ' | 			label: 'Specialty', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{porn stars", | |||
|                                      post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,457: | Line 1,465: | ||
| }); | }); | ||
| /* Enable button Info:Pro:Name  */ | |||
| /* Enable button Info:Pro: | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Pro', | 	group: 'Pro', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"years": { | ||
| 			label: ' | 			label: 'years', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:   | 					pre: "|  yearsactive = ", | ||
|                                       post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,478: | Line 1,485: | ||
| }); | }); | ||
| /* Enable button Info: | |||
| /* Enable button Info:Pro:cat=Mistresses  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: ' | 	group: 'Pro', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Mistresses": { | ||
| 			label: ' | 			label: 'Mistresses', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: '[[Category:Mistresses]]', | ||
| 					post: ''  | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,497: | Line 1,506: | ||
| }); | }); | ||
| /* Enable button Info:Pro:Imdb etc =  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| /* Enable  | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Pro', | |||
| 	tools: { | |||
| 		"imdb": { | |||
| 			label: 'imdb', | |||
| 	group: ' | |||
| 	tools: { | |||
| 		" | |||
| 			label: ' | |||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  '|         iafd = \n|         imdb = \n', | ||
| 					post: ' | 					post: '|         afdb = \n|         wiki = \n'   | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable button Info:Pers:{cats} */ | |||
| /* Enable button  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: ' | 	group: 'Pers', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"cats": { | ||
| 			label: ' | 			label: 'cats', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{sa-porn}}{{footer}}{{porn stars}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,555: | Line 1,546: | ||
| /* Enable  | /* =================== group cats enable ========== */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| /* Enable group:Info:Cats */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Info', | |||
| 	'groups': { | |||
| 		'Cats': { | |||
| 			'label': 'Cats' | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button Cats:Category2  */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		"Cats": { | |||
| 			label: ' | 			label: 'Category', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  '{{cats|', | ||
| 					post: '}}' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button  | /* Enable button info:cats:!more  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"!more": { | ||
| 			label: ' | 			label: '!more', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{!more}", | ||
|                                         post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,594: | Line 1,601: | ||
| 	} | 	} | ||
| }); | }); | ||
| /* Enable button Info:Cats:BondMod  */ | /* Enable button Info:Cats:BondMod  */ | ||
| Line 1,600: | Line 1,608: | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 	     "cats a": { | |||
| 			label: ' | 			label: 'cats a', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |      icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{cats|actors|actresses|authors}}", | ||
|                      post:" |                      post:"" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,615: | Line 1,623: | ||
| }); | }); | ||
| /* Enable button Info:Cats:Anatomy  */ | |||
| /* Enable button Info: | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"anatomy": { | ||
| 			label: ' | 			label: 'anatomy', | ||
| 			type: 'button', | 			type: 'button', | ||
|      icon: 'http://www.sm-201.org/a/images/e/e0/Editor_a.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "{{cats|bondage artists|erotic artists|fetish artists|spanking artists", | ||
|                     post:"}}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,637: | Line 1,643: | ||
| }); | }); | ||
| /* Enable button Info:Cats:BondMod  */ | |||
| /* Enable button Info:Cats: | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"BondMod": { | ||
| 			label: ' | 			label: 'BondMod', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg', | ||
| 			action: { | |||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}", | |||
|                     post:"{{actresses} {{Porn stars}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,659: | Line 1,664: | ||
| /* Enable button Info: | |||
| /* Enable button Info:Pers:Birth etc =  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"db": { | ||
| 			label: ' | 			label: 'db', | ||
| 			type: 'button', | 			type: 'button', | ||
|   icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  'Device Bondage models', | |||
| 					post: ''  | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,680: | Line 1,686: | ||
| /* Enable button Info: | /* Enable button Info:Cats:Circle-G */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Circle-G": { | ||
| 			label: ' | 			label: 'Circle-G', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/b/b6/Circle_g.png', | |||
| 		action: { | 		action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 				pre: "{{cats| | 				pre: "{{cats|AV Idols|Japanese Gravure Models", | ||
|                 post:"}}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,699: | Line 1,706: | ||
| }); | }); | ||
| /* Enable button Info: | |||
| /* Enable button Info:Also:Circle-J */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Info', | 	section: 'Info', | ||
| 	group: 'Cats', | 	group: 'Cats', | ||
| 	tools: { | 	tools: { | ||
| 		"spank": { | 		"Circle-J": { | ||
| 			label: 'spank', | 			label: 'Circle-J', | ||
| 			type: 'button', | |||
|       icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  | |||
| 		action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 				pre: "{{AV Idols} }{{Japanese erotic cinema}", | |||
|                 post:"{{Japanese Porn stars}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Info:Cats:spank  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Info', | |||
| 	group: 'Cats', | |||
| 	tools: { | |||
| 		"spank": { | |||
| 			label: 'spank', | |||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg', | icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg', | ||
| Line 1,845: | Line 1,874: | ||
| /* ================================================== */ | /* ================================================== */ | ||
| /*  Enable section: | /*  Enable section:Edit */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	'sections': { | 	'sections': { | ||
| 		' | 		'Edit': { | ||
| 			'type': 'toolbar', // Can also be 'booklet' | 			'type': 'toolbar', // Can also be 'booklet' | ||
| 			'label': ' | 			'label': 'Edit' | ||
| 	} | 	} | ||
| 	} | 	} | ||
| Line 1,857: | Line 1,886: | ||
| /* Enable  | /* Enable Section:Edit: ========================= | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
|      section: ' |      section: 'Edit', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Ref': { | 		'Ref': { | ||
| Line 1,865: | Line 1,894: | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | } );  */ | ||
| /* Enable group: | /* Enable group:Edit|Temps ================== */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
|      section: ' |      section: 'Edit', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Temps': { | 		'Temps': { | ||
| Line 1,880: | Line 1,909: | ||
| /* Enable Group:Format: */ | /* Enable Group:Format: */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	'groups': { | 	'groups': { | ||
| 		'Edit': { | 		'Edit': { | ||
| Line 1,888: | Line 1,917: | ||
| } ); | } ); | ||
| /*  */ | |||
| /* Enable button Notes:header| */ | /* Enable button Notes:header| */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 1,902: | Line 1,932: | ||
| 				options: { | 				options: { | ||
| 					pre: "{{Header|", | 					pre: "{{Header|", | ||
|                                          post:"  |                                          post:" 10/25}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,912: | Line 1,942: | ||
| /* Enable button Notes:headred */ | /* Enable button Notes:headred */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 1,923: | Line 1,953: | ||
| 				options: { | 				options: { | ||
| 					pre: "{{Headred|", | 					pre: "{{Headred|", | ||
|                                          post:"  |                                          post:" 10/25}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 1,932: | Line 1,962: | ||
| /* Enable button Notes:Defaultsort  */ | /* Enable button Notes:Defaultsort  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 1,953: | Line 1,983: | ||
| /* Enable button pots  */ | /* Enable button pots  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 1,959: | Line 1,989: | ||
| 			label: 'Pots', | 			label: 'Pots', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/c/c7/Button_see-also.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| Line 1,973: | Line 2,003: | ||
| /* Enable button  Refs:Notes  */ | /* Enable button  Refs:Notes  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 1,991: | Line 2,021: | ||
| } ); | } ); | ||
| /* Enable button Refs:Notes:T:sa-ss  */ | |||
| /* Enable button Refs:Notes:T: | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"sa-ss": { | ||
| 			label: ' | 			label: 'sa-ss', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg', | icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg', | ||
| Line 2,004: | Line 2,033: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{sa-sextechs}}", | ||
|                                          post:"" |                                          post:"{{sa-sexual terms}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,015: | Line 2,044: | ||
| /* Enable Links:External links*/ | /* Enable Links:External links*/ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 2,036: | Line 2,065: | ||
| /* Enable button Notes:footer  */ | /* Enable button Notes:footer  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 2,055: | Line 2,084: | ||
| /* Enable Links:External links */ | |||
| /* Enable Links:External links*/ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 2,074: | Line 2,102: | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | });   | ||
| /* Enable button Notes:Category:needs */ | /* Enable button Notes:Category:needs */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Temps', | 	group: 'Temps', | ||
| 	tools: { | 	tools: { | ||
| Line 2,090: | Line 2,117: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{Needs}", | 					pre: "{{Needs})", | ||
|                                          post:"" |                                          post:"" | ||
| 				} | 				} | ||
| Line 2,099: | Line 2,126: | ||
| /* Enable button  | /* Enable button Edit:Edit  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| Line 2,120: | Line 2,147: | ||
| /* Enable button  | /* Enable button Edit:Edit */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| Line 2,140: | Line 2,167: | ||
| } ); | } ); | ||
| /* Enable  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | /* Enable button Edit:Edit */ | ||
| 	section: ' | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Edit', | |||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"A4": { | ||
| 			label: ' | 			label: 'Heads4', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/e/e8/Button_a4.jpg', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  '==== ', | ||
| 					post: ' ====' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button  | /* Enable button Edit:State:hr */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"hr": { | ||
| 			label: ' | 			label: 'hr', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/2/2f/Button-hr.jpg', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{hr}}", | ||
|                     post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,181: | Line 2,209: | ||
| /* Enable  | |||
| /* Enable Edit:Edit title */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"{{Titles": { | ||
| 			label: ' | 			label: 'Titles', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "'''''", | ||
|                                         post:"'''''" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,201: | Line 2,230: | ||
| }); | }); | ||
| /* Enable button Edit:Edit:@  */ | |||
| /* Enable button  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Needs": { | ||
| 			label: ' | 			label: 'Wikimain', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{Wikimain|", | ||
|                                          post:"}}" |                                          post:"|_}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,222: | Line 2,250: | ||
| }); | }); | ||
| /* Enable button  | |||
| /* Enable button Edit:Edit:@  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Needs": { | ||
| 			label: ' | 			label: 'WikiArt', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: ' |    icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{WikiArticle|", | ||
|                                          post:"}}" |                                          post:"}}" | ||
| 				} | 				} | ||
| Line 2,242: | Line 2,271: | ||
| }); | }); | ||
| /* Enable  | /* Enable button Edit:Edit etc =  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Wsec": { | ||
| 			label: ' | 			label: 'Wsec', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  '{{wikisec|Filmography}}\n\n{{wikisec|Television}}\n\n{{wikisec|Theater}}\n\n', | ||
| 					post: ' | 					post: '{{wikisec|Discography}}\n\n{{wikisec|Bibliography}}\n\n'   | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable button  | /* Enable button Edit:Edit */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"{{Wl|": { | ||
| 			label: ' | 			label: '{{wl|', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: "{{Wl|", | ||
|                                          post:" |                                          post:"}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,284: | Line 2,312: | ||
| }); | }); | ||
| /* Enable button Edit:Edit:wk5 */ | |||
| /* Enable button  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"{{Wk5|": { | ||
| 			label: ' | 			label: '{{wk5|', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: ' |    icon: 'https://www.sm-201.org/a/images/d/d4/Arrowrt.jpg',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: "{{Wsl|", | ||
|                                          post:" |                                          post:"}}" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,305: | Line 2,332: | ||
| }); | }); | ||
| /* Enable  | /* Enable Edit:Edit:Link / [[ link ]] */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Edit', | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Template": { | ||
| 			label: ' | 			label: 'Link', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  '[[', | ||
| 					post: ']]' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button Edit:Edit:Redirect */ | |||
| /* Enable button  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Redirect": { | ||
| 			label: ' | 			label: 'Redirect', | ||
| 			type: 'button', | 			type: 'button', | ||
|   icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: "#REDIRECT [[", | ||
|                                          post:" |                                          post:"]]" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,357: | Line 2,374: | ||
| }); | }); | ||
| /* Enable button  | |||
| /* Enable button Edit:Edit:Wikilink */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"ReCat": { | ||
| 			label: ' | 			label: 'ReCat', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "#REDIRECT [[]]\n{{Headred|<from> 10/25}}\n", | ||
|                                         post:"{{DEFAULTSORT:<from>}}\n{{cats|Legends}}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,377: | Line 2,395: | ||
| }); | }); | ||
| /* Enable button  | /* Enable button Edit:Edit:SHP matrix */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Edit', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"SHP": { | ||
| 			label: ' | 			label: 'SHP', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', |    icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', | ||
| Line 2,389: | Line 2,407: | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}", | ||
|                      post:" |                      post:"" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,397: | Line 2,415: | ||
| }); | }); | ||
| /* Enable  | |||
| /* Enable Group:Format: */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	'groups': { | |||
| 		'Resources': { | |||
| 			'label': 'Resources'   | |||
| 			label | |||
| 		} | 		} | ||
| 	} | 	} | ||
| Line 2,418: | Line 2,427: | ||
| /* Enable  | |||
| /* Enable Links:<br> */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Links": { | ||
| 			label: ' | 			label: '<br>', | ||
| 			type: 'button', | 			type: 'button', | ||
|   icon: 'http://www.sm-201.org/a/images/c/c7/Button_cr.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: "<br>", | ||
|                     post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,437: | Line 2,447: | ||
| 	} | 	} | ||
| }); | }); | ||
| /* Enable Pornstar */ | |||
| /* Enable  | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | 	section: 'Edit', | ||
| 	section: ' | 	group: 'Resources', | ||
| 	group: ' | |||
| 	tools: { | 	tools: { | ||
| 		'Refl': { | |||
| 			label: ' | 			label: 'Refl', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 	                  pre:  '[[File:|100px|left]]\n', | |||
|                       post: ';Volume  Number  - 19 \nIncludes: \n{{clear}}{{hr}}' | |||
| 			    } | |||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable  | /* Enable Files:Nothing @ */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Nothing": { | ||
| 			label: ' | 			label: 'Nothing', | ||
| 			type: 'button', | 			type: 'button', | ||
|   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: ' | 					pre:  'Nothing @ ', | ||
| 					post: '' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable  | |||
| /* Enable Refs:Resources:scp */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"scp": { | ||
| 			label: ' | 			label: 'scp', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: ' | 					pre: '{{scp}}', | ||
| 					post: ''   | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,499: | Line 2,509: | ||
| }); | }); | ||
| /* Enable Format:active */ | |||
| /* Enable  | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | 	section: 'Edit', | ||
| 	section: ' | 	group: 'Resources', | ||
| 	group: ' | |||
| 	tools: { | 	tools: { | ||
| 		" | 		"grn": { | ||
| 			label: ' | 			label: 'grn', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/0/01/B-grn.jpg', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  ' ( ? active as of 10/25 R/ )', | ||
| 					post: ' | 					post: '' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable  | /* Enable Format:closed*/ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"red": { | ||
| 			label: ' | 			label: 'red', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/d/db/B-red.jpg', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  ' ( inactive as of 10/25 R/ )', | ||
| 					post: '' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,540: | Line 2,549: | ||
| }); | }); | ||
| /* Enable  | /* Enable Format:nodata*/ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: ' | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"nodata": { | ||
| 			label: ' | 			label: 'nodata', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/9/9c/Button_nodata.jpg', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: ' | 					pre:  ' ( No data as of 10/25 R/ )', | ||
| 					post: '' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,560: | Line 2,569: | ||
| }); | }); | ||
| /* Enable  | /* Enable Resources:map*/ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Edit', | |||
| 	group: 'Resources', | |||
| 	tools: { | |||
| 		"map": { | |||
| 			label: 'map', | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: ' | |||
| 	group: 'Resources', | |||
| 	tools: { | |||
| 		" | |||
| 			label: ' | |||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/6/64/Map-blk.jpg', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  '{{gm|', | ||
| 					post: '' | 					post: '}}' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable button Refs:CIA  */ | |||
| /* Enable Refs: | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"CIA": { | ||
| 			label: ' | 			label: 'CIA', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', |      icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "{{Cia-link", | ||
|                                         post:"}}{{bing-link}}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,612: | Line 2,610: | ||
| }); | }); | ||
| /* Enable  | |||
| /* Enable button Info|Resources/Image-ndx */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"ndx": { | ||
| 			label: ' | 			label: 'ndx', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |       icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  '  | 					pre:  '[[Category:Image-dex]]', | ||
| 					post: '' | 					post: ''   | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,632: | Line 2,631: | ||
| }); | }); | ||
| /* Enable  | /* Enable button Other:Cats:spider pool  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"web": { | ||
| 			label: ' | 			label: 'web', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "{{website|", | ||
|                     post:"}}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,652: | Line 2,651: | ||
| }); | }); | ||
| /* Enable Format:Strike through*/ | |||
| /* Enable  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Strike": { | ||
| 			label: ' | 			label: 'Strike', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  '<s>', | ||
| 					post: ' | 					post: '</s>' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,674: | Line 2,671: | ||
| }); | }); | ||
| /* Enable button Refs|Resources|cat */ | |||
| /* Enable button Refs | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Cats": { | ||
| 			label: ' | 			label: 'cats', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: "[[Category:", | ||
|                     post:"]]" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,696: | Line 2,692: | ||
| /* Enable button  | /* Enable button Resources:Category2  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Cats": { | ||
| 			label: ' | 			label: 'Category', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  '{{cats|', | ||
| 					post: ''   | 					post: '}}' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button  | /* Enable button Pornstud  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Film-cat": { | ||
| 			label: ' | 			label: 'Film-cat', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: ' |       icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "{{ | 					pre: "{{cats|Films|Pre-code|", | ||
|                                         post:"}}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,736: | Line 2,732: | ||
| }); | }); | ||
| /* Enable  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | /* Enable button Resources:Category2  */ | ||
| 	section: ' | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Edit', | |||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"LGBT": { | ||
| 			label: ' | 			label: 'LGBT', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  ' | 					pre:  'LGBT films ', | ||
| 					post: ' | 					post: '' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button  | /* Enable button Resources:Category2  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"New": { | ||
| 			label: ' | 			label: 'New', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/d/ | icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre:  '{{header| 10/25}}{{DEFAULTSORT: }}\n\n{{sa-|{{book notes}}}}\n\n', | ||
| 					post: '== External links ==\n\n{{footer}}\n{{cats|}}' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button  | /* Enable button artdex  */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"note": { | ||
| 			label: ' | 			label: 'none', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ | icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "File:none.jpg|", | ||
|                                         post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable  | /* Enable Refs:Resources:sup */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"sup": { | ||
| 			label: ' | 			label: 'sup', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/7/74/Button_comment.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "<sup>", | ||
|                     post:"</sup>" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable  | /* Enable Refs:Resources mag */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Create', | ||
| 	group: ' | 	group: 'Files', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"mag": { | ||
| 			label: ' | 			label: 'mag', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: ' |   icon: 'https://www.sm-201.org/a/images/7/71/Mag.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: "{{model upd2 | show = 1 | file = fn ", | ||
|                     post:"| name = {{PAGENAME}} }}" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable Refs:Resources mag */ | |||
| /* Enable  | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: ' | 	section: 'Edit', | ||
| 	group: 'Resources', | 	group: 'Resources', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"mag": { | ||
| 			label: ' | 			label: 'mag', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: ' |   icon: 'https://www.sm-201.org/a/images/7/71/Mag.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: " {{o}}", | ||
|                     post:"" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,859: | Line 2,858: | ||
| }); | }); | ||
| /* ==================================================  | |||
| /*  Enable section:Refs */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	'sections': { | |||
| 		'Refs': { | |||
| 			'type': 'toolbar', // Can also be 'booklet'screen | |||
| 			'label': 'Refs' | |||
| 	} | |||
| 	} | |||
| } ); | |||
| /* Enable group:Refs: ========================= */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
|     section: 'Refs', | |||
| 	'groups': { | |||
| 		'<ref>': { | |||
| 			'label': '<ref>'  | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable Refs: | /* Enable button Refs:<ref> */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<ref>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Ref": { | ||
| 			label: ' | 			label: 'RefLink', | ||
| 			type: 'button', | 			type: 'button', | ||
|       icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png',   | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "< | 					pre: "<ref>", | ||
|                                         post:"</ref>" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,881: | Line 2,900: | ||
| 	} | 	} | ||
| }); | }); | ||
| /* Enable  | |||
| /* Enable button model */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<ref>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Media": { | ||
| 			label: ' | 			label: 'Media', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: ' |    icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "  | 					pre: '<ref group="BfH">', | ||
|                      post:"" |                      post:"</ref>" | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,902: | Line 2,923: | ||
| /* Enable  | /* Enable button Refs:<ref> */ | ||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: '<ref>', | |||
| 	group: ' | |||
| 	tools: { | 	tools: { | ||
| 		" | 		"Note": { | ||
| 			label: ' | 			label: 'Note', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: '<ref group="Note">', | ||
|                     post:"</ref>" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| } ); | }); | ||
| /* Enable button Refs:<src> */ | |||
| /* Enable button Refs: | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<ref>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Src": { | ||
| 			label: ' | 			label: 'Src', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: '<ref group="Source">', | ||
|                     post:"</ref>" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 2,954: | Line 2,963: | ||
| }); | }); | ||
| /* Enable  | /* Enable Files:Thumbnail */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<ref>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Mems": { | ||
| 			label: ' | 			label: 'Mems', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: " | 					pre: '<ref group="Memories">', | ||
| 					post: "</ref>" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }); | } ); | ||
| /* Enable button Notes: | /* Enable button Notes:Calendar  */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<ref>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Access": { | ||
| 			label: ' | 			label: 'Access', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  "accessed = ", | |||
| 					post: "" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| });  | } ); | ||
| /* Enable button  | /* Enable group:Refs: ========================= */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
| 	section: 'Refs', |     section: 'Refs', | ||
| 	group: ' | 	'groups': { | ||
| 		'<refs>': { | |||
| 			'label': '<refs>'  | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button Refs:<reflist> */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: '<refs>', | |||
| 	tools: { | 	tools: { | ||
| 		" | 		"<refs>": { | ||
| 			label: ' | 			label: 'RefList', | ||
| 			type: 'button', | 			type: 'button', | ||
|       icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png',   | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "== References ==\n", | |||
|                                         post:"<References />" | |||
| 				} | 				} | ||
| 			} | 			} | ||
| 		} | 		} | ||
| 	} | 	} | ||
| }) | }); | ||
| /* Enable button  | /* Enable button model */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<refs>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Media": { | ||
| 			label: ' | 			label: 'Media', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: ' |    icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',   | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: '== Bound for Hollywood == \n{{bfh}}<!-- from BL p --> \n', | |||
|                     post:'<references group="BfH"/>' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 3,036: | Line 3,054: | ||
| 	} | 	} | ||
| }); | }); | ||
| /* Enable button  | |||
| /* Enable button Refs:<reflist> */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<refs>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Note": { | ||
| 			label: ' | 			label: 'Note', | ||
| 			type: 'button', | 			type: 'button', | ||
| icon: 'http://www.sm-201.org/a/images/ |   icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre: "  | 					pre: '== Notes ==\n<references group="Note" />\n', | ||
|                      post: |                      post:'{{Grammarly}}' | ||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 3,056: | Line 3,075: | ||
| }); | }); | ||
| /* Enable button  | |||
| /* Enable button Refs:<reflist> */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<refs>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"RMem": { | ||
| 			label: ' | 			label: 'RMem', | ||
| 			type: 'button', | 			type: 'button', | ||
|    icon: 'http://www.sm-201.org/a/images/ |    icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png', | ||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					 pre: '{{pn}}', | |||
|                      post:'<references group="Memories" />' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 3,076: | Line 3,096: | ||
| }); | }); | ||
| /* Enable button  | /* Enable button Refs:<reflist> */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<refs>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Ref": { | ||
| 			label: ' | 			label: 'SrcList', | ||
| 			type: 'button', | 			type: 'button', | ||
|  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: '== Sources ==\n', | ||
|                     post:'<references group="Source" />' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 3,097: | Line 3,117: | ||
| /* Enable button  | /* Enable button Refs:<reflist> */ | ||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
| 	section: 'Refs', | 	section: 'Refs', | ||
| 	group: ' | 	group: '<refs>', | ||
| 	tools: { | 	tools: { | ||
| 		" | 		"Ref": { | ||
| 			label: ' | 			label: 'SrcList', | ||
| 			type: 'button', | 			type: 'button', | ||
|  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', | |||
| 			action: { | 			action: { | ||
| 				type: 'encapsulate', | 				type: 'encapsulate', | ||
| 				options: { | 				options: { | ||
| 					pre:  | 					pre: '* [https://spankingart.org/wiki/{{PAGENAMEE}}  SAOTK]', | ||
|                     post:'' | |||
| 				} | 				} | ||
| 			} | 			} | ||
| Line 3,116: | Line 3,136: | ||
| 	} | 	} | ||
| }); | }); | ||
| /* Enable button  Refs:TOC  */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: '<refs>', | |||
| 	tools: { | |||
| 		"toporn": { | |||
| 			label: 'toc', | |||
| 			type: 'button', | |||
| icon: 'http://sm-201.org/a/images/1/19/Editor_t.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre:  '{{TOCright}}', | |||
| 					post: '' | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button  Refs:TOC  */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: '<refs>', | |||
| 	tools: { | |||
| 		"toporn": { | |||
| 			label: 'toc', | |||
| 			type: 'button', | |||
| icon: 'http://sm-201.org/a/images/1/19/Editor_t.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre:  '{{Transactional sex}}', | |||
| 					post: '' | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button Refs:<reflist> */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: '<refs>', | |||
| 	tools: { | |||
| 		"Pro-in": { | |||
| 			label: 'Pro-in', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{Pro-in}}", | |||
|                                         post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Notes:@wr */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: '<refs>', | |||
| 	tools: { | |||
| 		"Needs": { | |||
| 			label: '{wref"}', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: '{{wref"|', | |||
|                     post:"}}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable Group:Stores: */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	'groups': { | |||
| 		'Stores': { | |||
| 			'label': 'Stores'  | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button Stores:Stores:rose */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"rose": { | |||
| 			label: 'rose', | |||
| 			type: 'button', | |||
| icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "| color     = mistyrose", | |||
|                                         post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button Stores:Stores:blue */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"blue": { | |||
| 			label: 'blank', | |||
| 			type: 'button', | |||
| icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre:  "| color     = lightblue", | |||
| 					post: "" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Res|Stores|LatexWiki|  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"lw": { | |||
| 			label: 'lw', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{sa-leather working}}", | |||
|                     post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Regs:Stores | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"{{fc|": { | |||
| 			label: '{{fc|', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
|     pre: "{{sa-fetish attire}}\n{{sa-clothing}}", | |||
| 	post: "{{cats|Fetish clothing}}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); */ | |||
| /* Enable button Stores:footer  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"{{w|": { | |||
| 			label: 'w', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',  | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
|     pre: "westerns rework", | |||
| 	post: "" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }) | |||
| /* Enable button Notes:footer  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"{{cm|": { | |||
| 			label: '{{cm|', | |||
| 			type: 'button', | |||
|   icon: 'https://www.sm-201.org/a/images/1/13/Lyre-clip.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
|     pre: "{{cat-mus|", | |||
| 	post: "Dance}}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Stores|New */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"New": { | |||
| 			label: 'new', | |||
| 			type: 'button', | |||
| icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: " {{New}} (10/25)", | |||
|                     post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Refs|Stores latex  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"$ ltx": { | |||
| 			label: '$ ltx', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/f/fa/Balloon.jpg', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "Shopping:Latex", | |||
|                     post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Refs:Stores:Shopping (defunct) |  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"s (d)": { | |||
| 			label: 's (d)', | |||
| 			type: 'button', | |||
|      icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{cats|Shopping (defunct)|", | |||
|                     post:"}}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Refs|Stores|Film|  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'Stores', | |||
| 	tools: { | |||
| 		"Vid-url": { | |||
| 			label: 'Vid-url', | |||
| 			type: 'button', | |||
|       icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg',  | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{Vid-url|src= |url= |title= |cat= ", | |||
|                     post:"}} (Adult site)" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable Group:Refs:State */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	'groups': { | |||
| 		'State': { | |||
| 			'label': 'State'  | |||
| 		} | |||
| 	} | |||
| } ); | |||
| /* Enable button:asterisk */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'State', | |||
| 	tools: { | |||
| 		"Dot": { | |||
| 			label: 'Dot', | |||
| 			type: 'button', | |||
| icon: 'http://sm-201.org/a/images/0/02/Button_dot.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: '* ', | |||
| 					post: ''  | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Edit:State:hr */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'State', | |||
| 	tools: { | |||
| 		"hr": { | |||
| 			label: 'hr', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/2/2f/Button-hr.jpg', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{hr}}", | |||
|                     post:"" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Info:Cats:spider pool  */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'State', | |||
| 	tools: { | |||
| 		"web": { | |||
| 			label: 'web', | |||
| 			type: 'button', | |||
| icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "[", | |||
|                     post:"website]" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button State:age */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'State', | |||
| 	tools: { | |||
| 		"Age": { | |||
| 			label: 'Age', | |||
| 			type: 'button', | |||
|   icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{age-yrs|", | |||
|                     post:"}}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Edit:State:State-25 */ | |||
| $('#wpTextbox1').wikiEditor('addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'State', | |||
| 	tools: { | |||
| 		"S-25": { | |||
| 			label: 'S-25', | |||
| 			type: 'button', | |||
|  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre: "{{State-25", | |||
|                     post:"}}" | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| }); | |||
| /* Enable button Edit:temps:State  */ | |||
| $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | |||
| 	section: 'Refs', | |||
| 	group: 'State', | |||
| 	tools: { | |||
| 		"+states": { | |||
| 			label: 'Category', | |||
| 			type: 'button', | |||
| icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', | |||
| 			action: { | |||
| 				type: 'encapsulate', | |||
| 				options: { | |||
| 					pre:  '{{cats|{{PAGENAME}}|US States', | |||
| 					post: '}}' | |||
| 				} | |||
| 			} | |||
| 		} | |||
| 	} | |||
| } ); | |||
| __NOCAT__   | __NOCAT__   | ||
Latest revision as of 20:36, 23 October 2025
var customizeToolbar = function () {
/* stable as of 2025-1001 */
/* ================================================== 
/*  Enable section:Heads */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'Create': {
			'type': 'toolbar', // Can also be 'booklet'screen
			'label': 'Create'
	}
	}
} );
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	'groups': {
		'Format': {
			'label': 'Format' 
		}
	}
} );
/* Enable Format:Wiki-que */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Wiki-box": {
			label: 'Wiki-box',
			type: 'button',
icon: 'https://www.sm-201.org/a/images/7/7e/Fleur-12.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "<noinclude>{{cats|templates:ExtLinks}}</noinclude>",
					post: ""
				}
			}
		}
	}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	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:  '<!-- ',
					post: ' -->'
				}
			}
		}
	}
} );
/* Enable Format:Apostrophe */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Apostrope": {
			label: 'Apostrophe',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/39/Editor_apos.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "'",
					post: "'"
				}
			}
		}
	}
} );
/* Enable Format:Apostrophe */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"* italics": {
			label: '*IT',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/39/Editor_apos.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "* ''",
					post: "''"
				}
			}
		}
	}
} );
/* Enable Format:button Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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:'"',
				}
			}
		}
	}
});
/* Enable Format:List Item */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Item2": {
			label: 'Item2',
			type: 'button',
icon: 'http://sm-201.org/a/images/7/79/Button_item.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: '* [[',
					post: ']]' 
				}
			}
		}
	}
});
/* Enable Format:Template Dot */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Dot": {
			label: 'Dot',
			type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: ' • [[',
					post: ']]' 
				}
			}
		}
	}
});
/* Enable Format:Template Dot */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Dot": {
			label: 'Dot',
			type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: ' • ',
					post: '' 
				}
			}
		}
	}
});
/* Enable Format:Tempate:BC */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"{{bc": {
			label: '{{bc',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{bc|",
                    post:"}}"
				}
			}
		}
	}
});
 
/* Enable Format:<clear /> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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: '<br clear="all"> ',
					post: '' 
				}
			}
		}
	}
});
 
/* Enable Format:Underline */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Underline": {
			label: 'Underline',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/73/Editor_ul.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "<u>",
					post: "</u>",
				}
			}
		}
	}
});
/* Enable Format:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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>',
				}
			}
		}
	}
});
/* Enable Format:small */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Small": {
			label: 'Small',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
		pre: "<small>",
                post:"</small>"
				}
			}
		}
	}
});
/* Enable Format:button [[ link ]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	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: ']]'
				}
			}
		}
	}
} );
/* Enable Format:button {{ }} */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	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: "}}"
				}
			}
		}
	}
} );
/* Enable Format:button parenthesis */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Parenthesis": {
			label: 'Paren',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/4/49/Button_%28_%29.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '(',
					post: ')',
				}
			}
		}
	}
});
/* Enable Format:button moz-column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Format',
	tools: {
		"Columns": {
			label: 'Columns',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "<div style='-moz-column-count:2; column-count:2;'>",
					post: "</div>",
				}
			}
		}
	}
});
/* Enable Format:button Center */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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:  '<center>',
					post: '</center>',
				}
			}
		}
	}
});
/* Enable Format:button Justify */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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:  '<p align="justify">',
					post: '</p>',
				}
			}
		}
	}
});
/* Enable Group:Inc:  ================================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	'groups': {
		'Inc': {
			'label': 'Inc' 
		}
	}
} );
/* Enable button Heads:Inc:Includeonly */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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: "<includeonly>",
                                        post:"</includeonly>"
				}
			}
		}
	}
});
/* Enable button Heads:Inc:Noinclude */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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: "<noinclude>",
                                        post:"</noinclude>"
				}
			}
		}
	}
});
/* Enable button Heads:Inc:Nowiki */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	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>"
				}
			}
		}
	}
});
/* Enable group:Heads:Cats  ============================ */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Create',
	'groups': {
		'Cats': {
			'label': 'Cats' 
		}
	}
} );
/* Enable button Heads:Cats:Category  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	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: ']]'
				}
			}
		}
	}
} );
/* Enable button Heads:Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	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:  '{{cats|',
					post: '}}'
				}
			}
		}
	}
} );
/* Enable button Heads:Cats:{{lc */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Cats',
	tools: {
		"{{lc": {
			label: '{{lc',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/3/36/Button_lc.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "* {{lc1|",
					post: "}}"
				}
			}
		}
	}
});
/* Enable button Heads:Cats:}}lc */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Cats',
	tools: {
		"{{lc": {
			label: '}*lc',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/3/36/Button_lc.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "}}* {{lc1|",
					post: ""
				}
			}
		}
	}
});
/* Enable Heads:Cats:Date chg*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Cats',
	tools: {
		"date": {
			label: 'date',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'March 01, 2025',
					post: ''
				}
			}
		}
	}
} );
/* Main Links ======================================= */
/* Enable group:Links: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	'groups': {
		'Links': {
			'label': 'Links' 
		}
	}
} );
/* Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Doors',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b9/Doors-1.jpg',
			action: {
				type: 'encapsulate',
				options: {
		pre: "<!--  == &&&==  -->",
                post:""
				}
			}
		}
	}
});
/* Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Links',
	tools: {
		"Links": {
			label: 'See also',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_see-also.png',
			action: {
				type: 'encapsulate',
				options: {
		pre: "{{sa|",
                post:"}}"
				}
			}
		}
	}
});
/* Enable Links:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Sanity',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
		pre: "{{Sanity check|10/25|R/}}",
                post:""
				}
			}
		}
	}
});
/* Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Link OK',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Site-ok|10/25 R/}} ",
                    post:""
				}
			}
		}
	}
});
/* Enable Links:Red */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Bad link',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Site-red|10/25 R/}}{{Site-def|10/25 R/}}",
                    post:"{{Site-hij|10/25 R/}}"
				}
			}
		}
	}
});
/* Enable Links:<br> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Links',
	tools: {
		"Links": {
			label: '<br>',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_cr.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "<br>",
                    post:""
				}
			}
		}
	}
});
/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	'groups': {
		'Files': {
			'label': 'Files' 
		}
	}
} );
/* Enable Files:{{fs */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"{fs": {
			label: '{fs',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|      updated = 10/25 R/',
					post: ''
				}
			}
		}
	}
} );
/* Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"rasw": {
			label: 'rasw',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '* {{rasw|',
					post: '}'
				}
			}
		}
	}
} );
/* Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	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|200px|{{bc|}}]]'
				}
			}
		}
	}
} );
/* Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"Gallery": {
			label: 'Gallery',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/1/13/Button_Gall.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<gallery mode="packed" heights="200px" caption="{{PAGENAME}} gallery"> ',
					post: '</gallery>'
				}
			}
		}
	}
} );
/* Enable button Heads:Files:'File:' */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"File:": {
			label: 'File:',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "file:",
                                      post:"|"
				}
			}
		}
	}
});
/* Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"bpswi": {
			label: 'bpswi',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'file:|{{bpswi|',
					post: '|wk=1| }}'
				}
			}
		}
	}
} );
/* Enable Files:{{ndib */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"ndib": {
			label: 'ndib',
			type: 'button',
    icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'dib',
					post: '.jpg'
				}
			}
		}
	}
} );
/* Enable Files:Screenies */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"Screenies": {
			label: 'Screenies',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/0a/Button_screenie.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[MOVB]] screenies for ',
					post: ''
				}
			}
		}
	}
} );
/* Enable section:Page =============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
   'sections': {
		'Info': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'Info'
	}
	}
} );
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Page': {
			'label': 'Page' 
		}
	}
} );
/* Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Model": {
			label: 'Model',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Infobox model",
                                        post:""
				}
			}
		}
	}
});
/* Enable Pornstar */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Model": {
			label: 'Model',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
			action: {
				type: 'encapsulate',
				options: {
	                                pre:  '{{Infobox pornstar}',
					post: ''
				}
			}
		}
	}
} );
/* Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Pornstud": {
			label: 'Model',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Infobox pornstud",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Notes:top-tg  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"top-tg": {
			label: 'Top-tg',
			type: 'button',
icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{top-tg|add=vedette and}}',
					post: ''
				}
			}
		}
	}
} );
/* Enable button Notes:toporn  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"toporn": {
			label: 'top',
			type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{toporn|add=}}',
					post: ''
				}
			}
		}
	}
} );
/* Enable button Japan cinema  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Japorn": {
			label: 'Japorn',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Japanese erotic cinema {{Japanese porn stars",
                    post:""
				}
			}
		}
	}
});
/* Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"porn": {
			label: 'sa-porn',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-porn}} {{porn stars {{porn",
                    post:""
				}
			}
		}
	}
});
/* Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"bond": {
			label: 'sa-bond',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bond}}{{bondmods}}",
                    post:""
				}
			}
		}
	}
});
/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Pers': {
			'label': 'Pers' 
		}
	}
} );
/* Enable button Info:Pers:Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"name": {
			label: 'name',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|         name = ",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Pro:Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"birth": {
			label: 'birth',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|    birthdate = {{dob\n|    birthname = \n',
					post: '|   birthplace = \n|        alias = \n' 
				}
			}
		}
	}
});
/* Enable button Info:Pers:Birth etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"birth": {
			label: 'birth',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|    deathdate = {{dob\n|   deathcause = {{dob\n|',
					post: '|    deathplace = \n|        alias = \n' 
				}
			}
		}
	}
});
/* Enable button Info:Pers:Personal etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Pers": {
			label: 'Pers',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|       spouse = {{dob\n||    children  = n|',
					post: '|   education  = \n|        alias = \n' 
				}
			}
		}
	}
});
/* Enable button Porn:Pers:{Star} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Star": {
			label: '{Star}',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/14/Button_star2.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{star}}"
				}
			}
		}
	}
});
/* Enable button Info:Pers:Dag */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Dag": {
			label: 'dag',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{dag}}",
                                        post:""
				}
			}
		}
	}
});
/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Vitals': {
			'label': 'Vitals' 
		}
	}
} );
/* Enable Info:Vitals:vlabel button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Vitals',
	tools: {
		"Vitals": {
			label: 'vlabel',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg', 
			action: {
				type: 'encapsulate',
				options: {
pre:  "|       vitals = {{vitals||||}}\n|       height = {{ht||}}\n|       weight = {{wt|}}\n",
post: "|   hair color = \n|    eye color = \n|    ethnicity = Caucasian\n|  nationality = American\n"
				}
			}
		}
	}
});
 
/* Enable Format:<clear /> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Vitals',
	tools: {
		"Cauc": {
			label: 'Cauc',
			type: 'button',
icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '|    ethnicity = Caucasian\n|  nationality = American\n"',
					post: '' 
				}
			}
		}
	}
});
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Insex': {
			'label': 'Insex' 
		}
	}
} );
/* Enable button Info:Insex:DevBond, etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Insex',
	tools: {
		"CatDB": {
			label: 'CatDB',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'Device Bondage models',
					post: '' 
				}
			}
		}
	}
});
/* Enable button Info:Insex:sx */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Insex',
	tools: {
		"sx": {
			label: 'sx',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{sx|',
                    post:"}}"
				}
			}
		}
	}
});
/* Enable Info:Insex:link  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Insex',
	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: ']]'
				}
			}
		}
	}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Refs': {
			'label': 'Refs' 
		}
	}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Refs',
	tools: {
		"Comment": {
			label: 'Comment',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<!-- ',
					post: ' -->'
				}
			}
		}
	}
} );
/* Enable Format:button Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Refs',
	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:'"',
				}
			}
		}
	}
});
/* Enable Format:button [[ link ]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Refs',
	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: ']]'
				}
			}
		}
	}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Pro': {
			'label': 'Pro' 
		}
	}
} );
/* Enable button Info:Pro:Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Genre": {
			label: 'Genre',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
			action: {
				type: 'encapsulate',
				options: {
pre:  "|        genre = \n|         solo = [[Masturbation]], [[Dildo]]\n",
post: "|      lesbian = [[Softcore]], [[Dildo]]\n|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]"
				}
			}
		}
	}
});
/* Enable button Info:Pro:Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Specs": {
			label: 'Specialty',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{porn stars",
                                     post:""
				}
			}
		}
	}
});
/* Enable button Info:Pro:Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"years": {
			label: 'years',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|  yearsactive = ",
                                      post:""
				}
			}
		}
	}
});
/* Enable button Info:Pro:cat=Mistresses  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Mistresses": {
			label: 'Mistresses',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '[[Category:Mistresses]]',
					post: '' 
				}
			}
		}
	}
});
/* Enable button Info:Pro:Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"imdb": {
			label: 'imdb',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|         iafd = \n|         imdb = \n',
					post: '|         afdb = \n|         wiki = \n' 
				}
			}
		}
	}
});
/* Enable button Info:Pers:{cats} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"cats": {
			label: 'cats',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-porn}}{{footer}}{{porn stars}}"
				}
			}
		}
	}
});
/* =================== group cats enable ========== */
/* Enable group:Info:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Cats': {
			'label': 'Cats'
		}
	}
} );
/* Enable button Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	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:  '{{cats|',
					post: '}}'
				}
			}
		}
	}
} );
/* Enable button info:cats:!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"!more": {
			label: '!more',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{!more}",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
	     "cats a": {
			label: 'cats a',
			type: 'button',
     icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cats|actors|actresses|authors}}",
                    post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:Anatomy  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"anatomy": {
			label: 'anatomy',
			type: 'button',
     icon: 'http://www.sm-201.org/a/images/e/e0/Editor_a.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cats|bondage artists|erotic artists|fetish artists|spanking artists",
                    post:"}}"
				}
			}
		}
	}
});
/* Enable button Info:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"BondMod": {
			label: 'BondMod',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
                    post:"{{actresses} {{Porn stars}"
				}
			}
		}
	}
});
/* Enable button Info:Pers:Birth etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"db": {
			label: 'db',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'Device Bondage models',
					post: '' 
				}
			}
		}
	}
});
/* Enable button Info:Cats:Circle-G */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Circle-G": {
			label: 'Circle-G',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Circle_g.png',
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{cats|AV Idols|Japanese Gravure Models",
                post:"}}"
				}
			}
		}
	}
});
/* Enable button Info:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Circle-J": {
			label: 'Circle-J',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png', 
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{AV Idols} }{{Japanese erotic cinema}",
                post:"{{Japanese Porn stars}"
				}
			}
		}
	}
});
/* Enable button Info:Cats:spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"spank": {
			label: 'spank',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|Shadow Lane",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"spank": {
			label: 'spider',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cats|Spider Pool|Spider Pool history|Spider Pool models}}",
                    post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Auth": {
			label: 'BDSMauth',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{bdsmauthors}",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"CT": {
			label: 'CT',
			type: 'button',
     icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "Computer technology",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Furn": {
			label: 'Furn',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bondfurn}",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:sa-bondpos  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Pos": {
			label: 'Pos',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bondpos}",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Rest": {
			label: 'Rest',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bondrest}"
				}
			}
		}
	}
});
/* ================================================== */
/*  Enable section:Edit */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'Edit': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'Edit'
	}
	}
} );
/* Enable Section:Edit: =========================
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Edit',
	'groups': {
		'Ref': {
			'label': 'Ref' 
		}
	}
} );  */
/* Enable group:Edit|Temps ================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Edit',
	'groups': {
		'Temps': {
			'label': 'Temps' 
		}
	}
} );
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	'groups': {
		'Edit': {
			'label': 'Edit' 
		}
	}
} );
/*  */
/* Enable button Notes:header| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"Needs": {
			label: 'Header',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Header|",
                                        post:" 10/25}}"
				}
			}
		}
	}
} );
/* Enable button Notes:headred */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"Needs": {
			label: 'Headred',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Headred|",
                                        post:" 10/25}}"
				}
			}
		}
	}
});
/* Enable button Notes:Defaultsort  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"{DS}": {
			label: '(DS)',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{DEFAULTSORT:",
                                        post:"}}"
				}
			}
		}
	}
});
/* Enable button pots  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"Pots": {
			label: 'Pots',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_see-also.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "== Potential sources ==\n* [https://www.boobpedia.com/wiki/index.php?title={{PAGENAMEE}} boobpedia.com]\n* [https://en.wikipedia.org/wiki/{{PAGENAMEE}} en.wikipedia]\n",
                    post:"* [https://es.wikipedia.org/wiki/{{PAGENAMEE}} es.wikipedia (in Spanish)]\n* {{Vid-url|src=BDSMStream|url=https://bdsmstreak.com/search?search={{PAGENAMEE}}|title=<u>Search for videos</u>}}\n"
				}
			}
		}
	}
});
/* Enable button  Refs:Notes  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"stack": {
			label: 'stack',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bb/Button_stack.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{stack|',
                    post: '{{aaseal}}{{Thelema}}{{Cryptognosticism}}}}'
				}
			}
		}
	}
} );
/* Enable button Refs:Notes:T:sa-ss  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"sa-ss": {
			label: 'sa-ss',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-sextechs}}",
                                        post:"{{sa-sexual terms}}"
				}
			}
		}
	}
});
/* Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		'External': {
			label: 'External',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
			action: {
				type: 'encapsulate',
				options: {
		                pre: "== External links ==",
				post: ''
				}
			}
		}
	}
});
/* Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"Footer": {
			label: 'Footer',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Footer",
                                      post:"}}"
				}
			}
		}
	}
});
/* Enable Links:External links */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		'Mall': {
			label: 'Mall',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/76/Coffee_cup.jpg',
			action: {
				type: 'encapsulate',
				options: {
		           pre: "{{mall0|",
				   post: '}}<br>'
				}
			}
		}
	}
}); 
/* Enable button Notes:Category:needs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Temps',
	tools: {
		"Needs": {
			label: 'Needs',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Needs})",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Edit:Edit  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"A2": {
			label: 'Heads2',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e9/Button_headline2.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '== ',
					post: ' =='
				}
			}
		}
	}
} );
/* Enable button Edit:Edit */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"A3": {
			label: 'Heads3',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/3a/Button_headline3.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '=== ',
					post: ' ==='
				}
			}
		}
	}
} );
/* Enable button Edit:Edit */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"A4": {
			label: 'Heads4',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e8/Button_a4.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '==== ',
					post: ' ===='
				}
			}
		}
	}
} );
/* Enable button Edit:State:hr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"hr": {
			label: 'hr',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/2/2f/Button-hr.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{hr}}",
                    post:""
				}
			}
		}
	}
});
/* Enable Edit:Edit title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"{{Titles": {
			label: 'Titles',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "'''''",
                                        post:"'''''"
				}
			}
		}
	}
});
/* Enable button Edit:Edit:@  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"Needs": {
			label: 'Wikimain',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wikimain|",
                                        post:"|_}}"
				}
			}
		}
	}
});
/* Enable button Edit:Edit:@  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"Needs": {
			label: 'WikiArt',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{WikiArticle|",
                                        post:"}}"
				}
			}
		}
	}
});
/* Enable button Edit:Edit etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"Wsec": {
			label: 'Wsec',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{wikisec|Filmography}}\n\n{{wikisec|Television}}\n\n{{wikisec|Theater}}\n\n',
					post: '{{wikisec|Discography}}\n\n{{wikisec|Bibliography}}\n\n' 
				}
			}
		}
	}
});
/* Enable button Edit:Edit */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"{{Wl|": {
			label: '{{wl|',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wl|",
                                        post:"}}"
				}
			}
		}
	}
});
/* Enable button Edit:Edit:wk5 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"{{Wk5|": {
			label: '{{wk5|',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/d/d4/Arrowrt.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wsl|",
                                        post:"}}"
				}
			}
		}
	}
});
/* Enable Edit:Edit:Link / [[ link ]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	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: ']]'
				}
			}
		}
	}
} );
/* Enable button Edit:Edit:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"Redirect": {
			label: 'Redirect',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "#REDIRECT [[",
                                        post:"]]"
				}
			}
		}
	}
});
/* Enable button Edit:Edit:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"ReCat": {
			label: 'ReCat',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "#REDIRECT [[]]\n{{Headred|<from> 10/25}}\n",
                                        post:"{{DEFAULTSORT:<from>}}\n{{cats|Legends}}"
				}
			}
		}
	}
});
/* Enable button Edit:Edit:SHP matrix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Edit',
	tools: {
		"SHP": {
			label: 'SHP',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
                    post:""
				}
			}
		}
	}
});
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	'groups': {
		'Resources': {
			'label': 'Resources' 
		}
	}
} );
/* Enable Links:<br> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"Links": {
			label: '<br>',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_cr.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "<br>",
                    post:""
				}
			}
		}
	}
});
/* Enable Pornstar */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		'Refl': {
			label: 'Refl',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
			action: {
				type: 'encapsulate',
				options: {
	                  pre:  '[[File:|100px|left]]\n',
                      post: ';Volume  Number  - 19 \nIncludes: \n{{clear}}{{hr}}'
			    }
			}
		}
	}
} );
/* Enable Files:Nothing @ */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"Nothing": {
			label: 'Nothing',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'Nothing @ ',
					post: ''
				}
			}
		}
	}
} );
 
/* Enable Refs:Resources:scp */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"scp": {
			label: 'scp',
			type: 'button',
icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{scp}}',
					post: '' 
				}
			}
		}
	}
});
/* Enable Format:active */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"grn": {
			label: 'grn',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/B-grn.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  ' ( ? active as of 10/25 R/ )',
					post: ''
				}
			}
		}
	}
});
/* Enable Format:closed*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"red": {
			label: 'red',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/db/B-red.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  ' ( inactive as of 10/25 R/ )',
					post: ''
				}
			}
		}
	}
});
/* Enable Format:nodata*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"nodata": {
			label: 'nodata',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/9/9c/Button_nodata.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  ' ( No data as of 10/25 R/ )',
					post: ''
				}
			}
		}
	}
});
/* Enable Resources:map*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"map": {
			label: 'map',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/64/Map-blk.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{gm|',
					post: '}}'
				}
			}
		}
	}
});
/* Enable button Refs:CIA  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"CIA": {
			label: 'CIA',
			type: 'button',
     icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Cia-link",
                                        post:"}}{{bing-link}}"
				}
			}
		}
	}
});
/* Enable button Info|Resources/Image-ndx */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"ndx": {
			label: 'ndx',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[Category:Image-dex]]',
					post: '' 
				}
			}
		}
	}
});
/* Enable button Other:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"web": {
			label: 'web',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{website|",
                    post:"}}"
				}
			}
		}
	}
});
/* Enable Format:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	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>'
				}
			}
		}
	}
});
/* Enable button Refs|Resources|cat */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"Cats": {
			label: 'cats',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "[[Category:",
                    post:"]]"
				}
			}
		}
	}
});
/* Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"Cats": {
			label: 'Category',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{cats|',
					post: '}}'
				}
			}
		}
	}
} );
/* Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"Film-cat": {
			label: 'Film-cat',
			type: 'button',
      icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cats|Films|Pre-code|",
                                        post:"}}"
				}
			}
		}
	}
});
/* Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"LGBT": {
			label: 'LGBT',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'LGBT films ',
					post: ''
				}
			}
		}
	}
} );
/* Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"New": {
			label: 'New',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{header| 10/25}}{{DEFAULTSORT: }}\n\n{{sa-|{{book notes}}}}\n\n',
					post: '== External links ==\n\n{{footer}}\n{{cats|}}'
				}
			}
		}
	}
} );
/* Enable button artdex  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"note": {
			label: 'none',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "File:none.jpg|",
                                        post:""
				}
			}
		}
	}
});
/* Enable Refs:Resources:sup */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"sup": {
			label: 'sup',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/7/74/Button_comment.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "<sup>",
                    post:"</sup>"
				}
			}
		}
	}
});
/* Enable Refs:Resources mag */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Create',
	group: 'Files',
	tools: {
		"mag": {
			label: 'mag',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/7/71/Mag.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{model upd2 | show = 1 | file = fn ",
                    post:"| name = {{PAGENAME}} }}"
				}
			}
		}
	}
});
/* Enable Refs:Resources mag */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Edit',
	group: 'Resources',
	tools: {
		"mag": {
			label: 'mag',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/7/71/Mag.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: " {{o}}",
                    post:""
				}
			}
		}
	}
});
/* ================================================== 
/*  Enable section:Refs */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'Refs': {
			'type': 'toolbar', // Can also be 'booklet'screen
			'label': 'Refs'
	}
	}
} );
/* Enable group:Refs: ========================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
	'groups': {
		'<ref>': {
			'label': '<ref>' 
		}
	}
} );
/* Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<ref>',
	tools: {
		"Ref": {
			label: 'RefLink',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "<ref>",
                                        post:"</ref>"
				}
			}
		}
	}
});
/* Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<ref>',
	tools: {
		"Media": {
			label: 'Media',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '<ref group="BfH">',
                    post:"</ref>"
				}
			}
		}
	}
});
/* Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<ref>',
	tools: {
		"Note": {
			label: 'Note',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '<ref group="Note">',
                    post:"</ref>"
				}
			}
		}
	}
});
/* Enable button Refs:<src> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<ref>',
	tools: {
		"Src": {
			label: 'Src',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '<ref group="Source">',
                    post:"</ref>"
				}
			}
		}
	}
});
/* Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: '<ref>',
	tools: {
		"Mems": {
			label: 'Mems',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '<ref group="Memories">',
					post: "</ref>"
				}
			}
		}
	}
} );
/* Enable button Notes:Calendar  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: '<ref>',
	tools: {
		"Access": {
			label: 'Access',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "accessed = ",
					post: ""
				}
			}
		}
	}
} );
/* Enable group:Refs: ========================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
	'groups': {
		'<refs>': {
			'label': '<refs>' 
		}
	}
} );
/* Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"<refs>": {
			label: 'RefList',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "== References ==\n",
                                        post:"<References />"
				}
			}
		}
	}
});
/* Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"Media": {
			label: 'Media',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '== Bound for Hollywood == \n{{bfh}}<!-- from BL p --> \n',
                    post:'<references group="BfH"/>'
				}
			}
		}
	}
});
/* Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"Note": {
			label: 'Note',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '== Notes ==\n<references group="Note" />\n',
                    post:'{{Grammarly}}'
				}
			}
		}
	}
});
/* Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"RMem": {
			label: 'RMem',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
			action: {
				type: 'encapsulate',
				options: {
					 pre: '{{pn}}',
                     post:'<references group="Memories" />'
				}
			}
		}
	}
});
/* Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"Ref": {
			label: 'SrcList',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '== Sources ==\n',
                    post:'<references group="Source" />'
				}
			}
		}
	}
});
/* Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"Ref": {
			label: 'SrcList',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '* [https://spankingart.org/wiki/{{PAGENAMEE}}  SAOTK]',
                    post:''
				}
			}
		}
	}
});
/* Enable button  Refs:TOC  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"toporn": {
			label: 'toc',
			type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{TOCright}}',
					post: ''
				}
			}
		}
	}
} );
/* Enable button  Refs:TOC  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"toporn": {
			label: 'toc',
			type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{Transactional sex}}',
					post: ''
				}
			}
		}
	}
} );
/* Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"Pro-in": {
			label: 'Pro-in',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Pro-in}}",
                                        post:""
				}
			}
		}
	}
});
/* Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: '<refs>',
	tools: {
		"Needs": {
			label: '{wref"}',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{wref"|',
                    post:"}}"
				}
			}
		}
	}
});
/* Enable Group:Stores: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	'groups': {
		'Stores': {
			'label': 'Stores' 
		}
	}
} );
/* Enable button Stores:Stores:rose */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"rose": {
			label: 'rose',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "| color     = mistyrose",
                                        post:""
				}
			}
		}
	}
} );
/* Enable button Stores:Stores:blue */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"blue": {
			label: 'blank',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "| color     = lightblue",
					post: ""
				}
			}
		}
	}
});
/* Enable button Res|Stores|LatexWiki|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"lw": {
			label: 'lw',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-leather working}}",
                    post:""
				}
			}
		}
	}
});
/* Enable button Regs:Stores
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"{{fc|": {
			label: '{{fc|',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
    pre: "{{sa-fetish attire}}\n{{sa-clothing}}",
	post: "{{cats|Fetish clothing}}"
				}
			}
		}
	}
}); */
/* Enable button Stores:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"{{w|": {
			label: 'w',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png', 
			action: {
				type: 'encapsulate',
				options: {
    pre: "westerns rework",
	post: ""
				}
			}
		}
	}
})
/* Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"{{cm|": {
			label: '{{cm|',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/1/13/Lyre-clip.png',
			action: {
				type: 'encapsulate',
				options: {
    pre: "{{cat-mus|",
	post: "Dance}}"
				}
			}
		}
	}
});
/* Enable button Stores|New */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"New": {
			label: 'new',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: " {{New}} (10/25)",
                    post:""
				}
			}
		}
	}
});
/* Enable button Refs|Stores latex  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"$ ltx": {
			label: '$ ltx',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/fa/Balloon.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "Shopping:Latex",
                    post:""
				}
			}
		}
	}
});
/* Enable button Refs:Stores:Shopping (defunct) |  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"s (d)": {
			label: 's (d)',
			type: 'button',
     icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cats|Shopping (defunct)|",
                    post:"}}"
				}
			}
		}
	}
});
/* Enable button Refs|Stores|Film|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Stores',
	tools: {
		"Vid-url": {
			label: 'Vid-url',
			type: 'button',
      icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Vid-url|src= |url= |title= |cat= ",
                    post:"}} (Adult site)"
				}
			}
		}
	}
});
/* Enable Group:Refs:State */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	'groups': {
		'State': {
			'label': 'State' 
		}
	}
} );
/* Enable button:asterisk */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'State',
	tools: {
		"Dot": {
			label: 'Dot',
			type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '* ',
					post: '' 
				}
			}
		}
	}
});
/* Enable button Edit:State:hr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'State',
	tools: {
		"hr": {
			label: 'hr',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/2/2f/Button-hr.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{hr}}",
                    post:""
				}
			}
		}
	}
});
/* Enable button Info:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'State',
	tools: {
		"web": {
			label: 'web',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "[",
                    post:"website]"
				}
			}
		}
	}
});
/* Enable button State:age */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'State',
	tools: {
		"Age": {
			label: 'Age',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{age-yrs|",
                    post:"}}"
				}
			}
		}
	}
});
/* Enable button Edit:State:State-25 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'State',
	tools: {
		"S-25": {
			label: 'S-25',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{State-25",
                    post:"}}"
				}
			}
		}
	}
});
/* Enable button Edit:temps:State  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'State',
	tools: {
		"+states": {
			label: 'Category',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{cats|{{PAGENAME}}|US States',
					post: '}}'
				}
			}
		}
	}
} );
__NOCAT__ 
/* 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 );
		}
	} );
}