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

From Robin's SM-201 Website
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
var customizeToolbar = function () {
var customizeToolbar = function () {
/* srtable as of 2021-0218 */
/* stable as of 2021-1201 */


/*  Enable section:SM-201 */
/*  Enable section:SM-201 */
Line 8: Line 8:
'type': 'toolbar', // Can also be 'booklet'
'type': 'toolbar', // Can also be 'booklet'
'label': 'SM-201'
'label': 'SM-201'
}
}
} );
/* Enable section:Porn */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Porn': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Porn'
}
}
}
}
Line 21: Line 31:
}
}
} );
} );


/* Enable Group:Format: */
/* Enable Group:Format: */
Line 34: Line 42:
} );
} );


/* --- Enable Format:Comment */


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
Line 174: Line 181:
}
}
});
});
 
/* --- Enable button Other:Also:Movies */
/* --- Enable Format:Book title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Book link": {
"Movies": {
label: 'Book link',
label: 'Movies',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '"<I>[[',
pre: "{{Movies",
                                        post: ']]</I>"'
                    post:"}}"
}
}
}
}
Line 195: Line 201:
});
});


/* --- Enable Format:Book title */
 
/* --- Enable button Other:Also:Circle-a
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Book title": {
"Circle-a": {
label: 'Book Title',
label: 'Circle-a',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',
      icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '"<I>',
pre: "{{sa-adverts",
                                        post: '</I>"'
                                post:"}}"
}
}
}
}
Line 214: Line 221:
}
}
});
});
 
*/
/* --- Enable button Other:Also:Movies */
/* --- Enable button Other:Also:Circle-b
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Movies": {
"Circle-b": {
label: 'Movies',
label: 'Circle-b',
type: 'button',
type: 'button',
       icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
       icon: 'http://www.sm-201.org/a/images/b/b2/Circle_b.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Movies",
pre: "{{sp-art",
                    post:"}}"
                                post:"}}"
}
}
}
}
Line 234: Line 241:
}
}
});
});
*/


/* --- Enable Format:Underline */
/* --- Enable button Other:Also:Circle-d
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Underline": {
"Circle-d": {
label: 'Underline',
label: 'Circle-d',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/73/Editor_ul.png',
      icon: 'http://www.sm-201.org/a/images/a/af/Circle_d.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<u>",
pre: "date=",
post: "</u>",
                                post:""
}
}
}
}
Line 254: Line 262:
}
}
});
});
*/


/* --- Enable Format:Strike through*/
/* --- Enable button Other:Also:Circle-f
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Strike": {
"Circle-f": {
label: 'Strike',
label: 'Circle-b',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
      icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<s>',
pre: "films",
post: '</s>',
                                post:""
}
}
}
}
Line 274: Line 283:
}
}
});
});
*/


/* --- Enable Format:button [[link]] */
/* --- Enable button Other:Also:Circle-f
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Template": {
"Circle-f": {
label: 'Link',
label: 'Circle-b',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
      icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[',
pre: "films",
post: ']]'
                                post:""
}
}
}
}
}
}
}
}
} );
});
*/


/* --- Enable Format:button {{ }} */
/* --- Enable Format:Underline */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'format',
group: 'Format',
tools: {
tools: {
"Template": {
"Underline": {
label: 'Template',
label: 'Underline',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png',
icon: 'http://www.sm-201.org/a/images/7/73/Editor_ul.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{",
pre: "<u>",
post: "}}"
post: "</u>",
}
}
}
}
}
}
}
}
} );
});


/* --- Enable Format:button Quotes */
/* --- Enable Format:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Quotes": {
"Strike": {
label: 'Quotes',
label: 'Strike',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png',
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 335: Line 346:
});
});


/* --- Enable Format:button moz-column */
/* --- Enable Format:button [[link]] */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Columns": {
"Template": {
label: 'Columns',
label: 'Link',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  "<div style='-moz-column-count:2; column-count:2;'>",
pre:  '[[',
post: "</div>",
post: ']]'
}
}
}
}
}
}
}
}
});
} );


/* --- Enable Format:button Center */
/* --- Enable Format:button {{ }} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'format',
tools: {
tools: {
"Center": {
"Template": {
label: 'Center',
label: 'Template',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<center>',
pre: "{{",
post: '</center>',
post: "}}"
}
}
}
}
}
}
}
}
});
} );


/* --- Enable Format:button Justify */
/* --- Enable Format:button Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Justify": {
"Quotes": {
label: 'Justify',
label: 'Quotes',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<p align="justify">',
pre:  '"',
post: '</p>',
post: '"',
}
}
}
}
Line 395: Line 406:
});
});


/* Enable Group:Inc:  */
/* --- Enable Format:button moz-column */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Inc': {
'label': 'Inc'
}
}
} );
 
/* --- Enable button Inc:Includeonly */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Inc',
group: 'Format',
tools: {
tools: {
"Incl": {
"Columns": {
label: 'Incl',
label: 'Columns',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg',  
icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<includeonly>",
pre: "<div style='-moz-column-count:2; column-count:2;'>",
                                        post:"</includeonly>"
post: "</div>",
}
}
}
}
Line 425: Line 426:
});
});


/* --- Enable button Inc:Noinclude */
/* --- Enable Format:button Center */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Inc',
group: 'Format',
tools: {
tools: {
"Noinclude": {
"Center": {
label: 'Noinclude',
label: 'Center',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg',  
icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<noinclude>",
pre: '<center>',
                                        post:"</noinclude>"
post: '</center>',
}
}
}
}
Line 445: Line 446:
});
});


/* --- Enable button Inc:Nowiki */
/* --- Enable Format:button Justify */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Inc',
group: 'Format',
tools: {
tools: {
"Nowiki": {
"Justify": {
label: 'Nowiki',
label: 'Justify',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg',  
icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<nowiki>",
pre: '<p align="justify">',
                                        post:"</nowiki>"
post: '</p>',
}
}
}
}
Line 465: Line 466:
});
});


/* Enable group:Notes: */
/* Enable Group:Inc: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
section: 'SM-201',
'groups': {
'groups': {
'Refs': {
'Inc': {
'label': 'Refs'  
'label': 'Inc'  
}
}
}
}
} );
} );


 
/* --- Enable button Inc:Includeonly */
/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Inc',
tools: {
tools: {
"Ref": {
"Incl": {
label: 'RefLink',
label: 'Incl',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png',  
  icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<ref>",
pre: "<includeonly>",
                                         post:"</ref>"
                                         post:"</includeonly>"
}
}
}
}
Line 496: Line 496:
});
});


/* --- Enable button Refs:<ref> */
/* --- Enable button Inc:Noinclude */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Inc',
tools: {
tools: {
"Note": {
"Noinclude": {
label: 'Note',
label: 'Noinclude',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',  
      icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<ref group="Note"",
pre: "<noinclude>",
                    post:"</ref>"
                                        post:"</noinclude>"
}
}
}
}
Line 516: Line 516:
});
});


/* --- Enable button Notes:Calendar  */
/* --- Enable button Inc:Nowiki */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Inc',
tools: {
tools: {
"Access": {
"Nowiki": {
label: 'Access',
label: 'Nowiki',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
      icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "accessed = ",
pre: "<nowiki>",
post: ""
                                        post:"</nowiki>"
}
}
}
}
}
}
});
/* Enable group:SM-201:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Cats': {
'label': 'Cats'
}
}
}
}
} );
} );


 
/* --- Enable button Cats:Category  */
/* --- Enable button Refs:<reflist> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Cats',
tools: {
tools: {
"Ref": {
"Cats": {
label: 'RefList',
label: 'Category',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png',  
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "== References ==<br><References />,
pre: '[[Category:',
                                        post:""
post: ']]'
}
}
}
}
}
}
}
}
});
} );
 


/* --- Enable button Refs:<reflist> */
/* --- Enable button Cats:Category2  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Cats',
tools: {
tools: {
"Ref": {
"Cats": {
label: 'RefList',
label: 'Category',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<references group="Note" />",
pre: '{{cat|',
                                        post:""
post: '} }'
}
}
}
}
}
}
}
}
});
} );


 
/* --- Enable sm-201:cats:catpers  */
 
 
 
 
/* --- Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Cats',
tools: {
tools: {
"Main": {
"persons": {
label: 'Main',
label: 'persons',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Main|",
pre: "[[Category:",
                     post:"}}"
                     post:"Persons]]"
}
}
}
}
Line 602: Line 608:
});
});


 
/* --- Enable button Cats:Needs update  */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Cats',
tools: {
tools: {
"Refs": {
"Update": {
label: 'YGroups',
label: 'Update',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{YGroups|",
pre: "{{cat|Needs updated info} }",
                    post:"}}"
post: ""
}
}
}
}
}
}
}
}
});
} );
 
 
/* Enable group:Notes: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Refs': {
'label': 'Refs'
}
}
} );
 


/* --- Enable button Notes:@wr */
/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Refs',
tools: {
tools: {
"Needs": {
"Ref": {
label: '{wref"}',
label: 'RefLink',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
      icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{wref"|',
pre: "<ref>",
                    post:"}}"
                                        post:"</ref>"
}
}
}
}
Line 644: Line 660:
});
});


/* Enable group:Notes: */
/* --- Enable button Refs:<ref> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
    section: 'SM-201',
section: 'SM-201',
'groups': {
group: 'Refs',
'Notes': {
'label': 'Notes'
}
}
} );
 
/* --- Enable button Notes:Category  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
tools: {
"Cats": {
"Note": {
label: 'Category',
label: 'Note',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[Category:',
pre: '<ref group="Note">',
post: ']]'
                    post:"</ref>"
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Notes:Calendar  */
/* --- Enable button Refs:<src> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"mm/yr": {
"Src": {
label: '02/21',
label: 'Src',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "02/21",
pre: '<ref group="Source">',
post: ""
                    post:"</ref>"
}
}
}
}
}
}
}
}
} );
});
 


/* --- Enable button Notes:header  */
/* --- Enable button Refs:<Buy> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Needs',
group: 'Refs',
tools: {
tools: {
"Needs": {
"BuyIt": {
label: 'Header',
label: 'BuyIt',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
   icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header",
pre: '<ref group="BuyIt">',
                                        post:"}}"
                    post:"</ref>"
}
}
}
}
Line 714: Line 721:
});
});


/* --- Enable button Notes:header| */
 
/* --- Enable button Cats:Also:Mast */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Needs": {
"Avail": {
label: 'Header',
label: 'Avail',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
      icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header|",
pre: "[",
                                         post:" 02/21}}"
                                         post:" Available at Amazon.com]"
}
}
}
}
Line 734: Line 742:
});
});


/* --- Enable button Notes:footer */
/* --- Enable button Notes:Calendar */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Footer": {
"Access": {
label: 'Footer',
label: 'Access',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Footer",
pre: "accessed = ",
                                        post:"}}"
post: ""
}
}
}
}
}
}
}
}
});
} );


/* --- Enable button Notes:Category:needs */
/* --- Enable button Refs:<backup> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Needs": {
"!201": {
label: 'Notes',
label: '!201',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Needs",
pre: '<ref group="Source">[[!Sm-201 2017-0316]]',
                                        post:"}}"
                    post:" backup</ref>"
}
}
}
}
Line 774: Line 782:
});
});


/* --- Enable button model */
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Model": {
"Ref": {
label: 'Model',
label: 'RefList',
type: 'button',
type: 'button',
       icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
       icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox model",
pre: "== References ==\n",
                                         post:""
                                         post:"<References />"
}
}
}
}
Line 794: Line 802:
});
});


/* --- Enable button Pornstud  */
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Pornstud": {
"Note": {
label: 'Model',
label: 'Note',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png',  
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox pornstud",
pre: '== Notes ==\n',
                                         post:""
                                         post:'<references group="Note" />'
}
}
}
}
Line 814: Line 822:
});
});


/* --- Enable Pornstar */
/* --- Enable button Refs:<reflist> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Model": {
"Ref": {
label: 'Model',
label: 'SrcList',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                                pre: '{{Infobox pornstar',
pre: '== Sources ==\n',
post: ''
                                        post:'<references group="Source" />'
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Notes:toporn  */
/* --- Enable button Refs:<Buy> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"toporn": {
"Ref": {
label: '',
label: 'BuyIt',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{toporn|add=} }',
pre: '== Buy this book ==\n',
post: ''
                    post:'<references group="BuyIt" />'
}
}
}
}
}
}
}
}
} );
});


 
/* --- Enable button model */
/* --- Enable button Notes:ok  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Needs": {
"mg": {
label: 'sa-porn',
label: 'mg',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-porn",
pre: "{{mg|",
                     post:"}}"
                     post:"}}"
}
}
Line 875: Line 882:
});
});


/* --- Enable button Notes:ltx8  */
 
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"ltx8": {
"Needs": {
label: 'ltx8',
label: '{wref"}',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{ltx8|Latex‏|Latex shopping‏‎|Latex clothing|Latex stores|Latex online|Latex clothing designers|Latex clothing manufacturers|Latex suppliers",
pre: '{{wref"|',
post:"‏‎"
                    post:"}}"
}
}
}
}
Line 895: Line 903:
});
});


/* --- Enable button Notes:Heads2  */
/* Enable Group:Table */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Table': {
'label': 'Table'
}
}
} );
/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Table',
tools: {
tools: {
"A2": {
"blank": {
label: 'Heads2',
label: 'blank',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e9/Button_headline2.png',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '==',
pre:  "| {{blank}} || ",
post: '=='
post: ""
}
}
}
}
}
}
});
/* Enable group:Page: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Page': {
'label': 'Page'
}
}
}
}
} );
} );


 
/* --- Enable button model */
/* --- Enable button Notes:dagger  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"dagger": {
"Model": {
label: 'dagger',
label: 'Model',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b1/Button_dagger.png',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '&dagger;',
pre: "{{Infobox model",
post: ''
                                        post:""
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Notes:Wiki:@ */
/* --- Enable button Pornstud */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"Needs": {
"Pornstud": {
label: 'Wikimain',
label: 'Model',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png',  
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wikimain|",
pre: "{{Infobox pornstud",
                                         post:"|_}}"
                                         post:""
}
}
}
}
Line 956: Line 983:
});
});


/* --- Enable button Notes:Redirect */
/* --- Enable Pornstar */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"Redirect": {
"Model": {
label: 'Redirect',
label: 'Model',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "#REDIRECT [[",
                                pre: '{{Infobox pornstar',
                                        post:"]]"
post: ''
}
}
}
}
}
}
}
}
});
} );


/* --- Enable button Notes:SHP matrix */
/* --- Enable button Notes:toporn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"SHP": {
"toporn": {
label: 'SHP',
label: '',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
pre: '{{toporn|add=}}',
                    post:""
post: ''
}
}
}
}
}
}
}
}
});
} );
 


/* --- Enable button Notes:Defaultsort */
/* --- Enable button sa-porn */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"{DS}": {
"porn": {
label: '(DS)',
label: 'sa-porn',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
   icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{DEFAULTSORT:",
pre: "{{sa-porn",
                                        post:"}}"
                    post:"}}"
}
}
}
}
Line 1,016: Line 1,044:
});
});


/* --- Enable button Notes:insert image */
 
/* Enable group:Notes: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Notes': {
'label': 'Notes'
}
}
} );
 
 
/* --- Enable button Notes:header  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Needs',
tools: {
tools: {
"Needs": {
"Needs": {
label: 'image:',
label: 'Header',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',
   icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
    pre: "Image:",
pre: "{{Header",
                                    post:""
                    post:"}}"
}
}
}
}
Line 1,036: Line 1,076:
});
});


/* --- Enable button mt - MT coloumn */
 
/* --- Enable button Notes:headred */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"MT": {
"Needs": {
label: 'MT',
label: 'Header',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
   icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|| &nbsp; ",
pre: "{{Headred|",
                    post:""
                                        post:" 12/21}}"
}
}
}
}
Line 1,056: Line 1,097:
});
});


 
/* --- Enable button Notes:header| */
 
 
 
 
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
Line 1,067: Line 1,103:
tools: {
tools: {
"Needs": {
"Needs": {
label: '{wr}',
label: 'Header',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
   icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{@wr",
pre: "{{Header|",
                    post:"}}"
                                        post:" 12/21}}"
}
}
}
}
Line 1,081: Line 1,117:
});
});


/* Enable group:Links: */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable button Notes:Defaultsort  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
'groups': {
group: 'Notes',
'Links': {
tools: {
'label': 'Links'
"{DS}": {
}
label: '(DS)',
}
} );
 
 
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
tools: {
'External': {
label: 'External',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                pre: "== External links ==",
pre: "{{DEFAULTSORT:",
post: '',
                                        post:"}}"
}
}
}
}
Line 1,113: Line 1,139:




 
/* --- Enable button Notes:source  */
 
 
/* ---- Enable Links:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Links',
group: 'Notes',
tools: {
tools: {
"Links": {
"<!>": {
label: 'Sanity',
label: '<!>',
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/66/Editor_!.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sanity check|02/21|R/}}",
pre: "<!-- Article source material: ",
                post:""
                                        post:" -->"
}
}
}
}
Line 1,136: Line 1,159:
});
});


/* ---- Enable Links:Site ok */
/* --- Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Links',
group: 'Notes',
tools: {
tools: {
"Links": {
"Footer": {
label: 'Link OK',
label: 'Footer',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-ok|02/21 R/}} ",
pre: "{{Footer",
                    post:""
                                        post:"}}"
}
}
}
}
Line 1,156: Line 1,179:
});
});


/* ---- Enable Links:Red */
/* --- Enable button Notes:Category:needs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Links',
group: 'Notes',
tools: {
tools: {
"Links": {
"Needs": {
label: 'Footer',
label: 'Needs',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
   icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
Line 1,168: Line 1,191:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-red|02/21 R/}} ",
pre: "{{Needs",
                    post:""
                                        post:"}}"
}
}
}
}
Line 1,176: Line 1,199:
});
});


/* --- Enable Links:Strike through*/
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
 
 
/* --- Enable button Notes:Heads2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Links',
group: 'Notes',
tools: {
tools: {
"Strike": {
"A2": {
label: 'Strike',
label: 'Heads2',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
icon: 'http://www.sm-201.org/a/images/e/e9/Button_headline2.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<s>',
pre:  '== ',
post: '</s>',
post: ' =='
}
}
}
}
}
}
}
}
});
} );
 
 


/* ---- Enable Links:<cr> */
/* --- Enable button Notes:Heads3  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Links',
group: 'Notes',
tools: {
tools: {
"Links": {
"A3": {
label: '<cr>',
label: 'Heads3',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_cr.png',
icon: 'http://www.sm-201.org/a/images/3/3a/Button_headline3.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<br>",
pre: '=== ',
                    post:""
post: ' ==='
}
}
}
}
}
}
});
/* Enable Group:Files:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Files': {
'label': 'Files'
}
}
}
}
} );
} );


/* --- Enable Files:Copyright unknown */
/* --- Enable button Notes:Wiki:@  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Files',
group: 'Notes',
tools: {
tools: {
"Copy": {
"Needs": {
label: 'Copy',
label: 'Wikimain',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/22/Button-copy.jpg',
  icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: 'Copyright info not available/ownership unkown',
pre: "{{Wikimain|",
post: ''
                                        post:"|_}}"
}
}
}
}
}
}
}
}
} );
});


/* --- Enable Files:Mo/Yr */
/* --- Enable button Notes:Wikilink */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Files',
group: 'Notes',
tools: {
tools: {
"Date": {
"Link": {
label: 'Date',
label: 'Wikilink',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '02/2120',
pre: "{{Wl|",
post: ''
                                        post:"}}"
}
}
}
}
}
}
}
}
} );
});
 
/* --- Enable button Notes:Redirect */
/* --- Enable Files:Thumbnail */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Files',
group: 'Notes',
tools: {
tools: {
"Thumb": {
"Redirect": {
label: 'Thumb',
label: 'Redirect',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/6f/Button_thumb.jpg',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[File:',
pre: "#REDIRECT [[",
post: '|thumb|right|200px| ]]'
                                        post:"]]"
}
}
}
}
}
}
}
}
} );
});
 


/* --- Enable Files:Gallery */
/* --- Enable button Notes:Wikilink */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Files',
group: 'Notes',
tools: {
tools: {
"Gallery": {
"ReCat": {
label: 'Gallery',
label: 'ReCat',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
  icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<gallery mode="packed" heights="200px" caption=""> ',
pre: "#REDIRECT [[]]\n{{Headred|<from> 12/21}}\n",
post: '</gallery>'
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| } }"
}
}
}
}
}
}
}
}
} );
});


/*  =========================================== Add "Other" Buttons==== */
/* Enable section:Categories */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Cats',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
/* Enable group:Other: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Also': {
'label': 'Also'
}
}
} );
/* --- Enable button Cats:Also:Mast */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Notes',
tools: {
tools: {
"ASFR": {
"Oral": {
label: 'ASFR',
label: 'Oral',
type: 'button',
type: 'button',
       icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',  
       icon: 'http://www.sm-201.org/a/images/2/2d/Circle_o.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sex asfr",
pre: "{{cat|Oral eroticism}}",
                                         post:"}}"
                                         post:""
}
}
}
}
Line 1,350: Line 1,343:
});
});


/* --- Enable button Other:DS roles  */
/* --- Enable button Notes:SHP matrix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Notes',
tools: {
tools: {
"{DS}": {
"SHP": {
label: 'DS roles',
label: 'SHP',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{DS roles",
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
                                        post:"}}"
                    post:""
}
}
}
}
Line 1,370: Line 1,363:
});
});


/* --- Enable button Other:Also:Human sexuality */
 
/* --- Enable button Notes:insert image */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Notes',
tools: {
tools: {
"Human": {
"Needs": {
label: 'Human',
label: 'image:',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
   icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Human sex",
    pre: "Image:",
                                        post:"}}"
                                    post:""
}
}
}
}
Line 1,390: Line 1,384:
});
});


/* --- Enable button Other:DS roles  */
 
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Notes',
tools: {
tools: {
"ID": {
"Needs": {
label: 'Sex ids',
label: '{wr}',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',
   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sex ids",
pre: "{{@wr",
                                        post:"}}"
                    post:"}}"
}
}
}
}
Line 1,410: Line 1,405:
});
});


/* --- Enable button Other:Also:Sex Industry */
/* Enable group:Links: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Links': {
'label': 'Links'
}
}
} );
 
 
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"Industy": {
'External': {
label: 'Industry',
label: 'External',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/9/9e/Button_$.png',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sex Industry",
                pre: "== External links ==",
                                        post:"}}"
post: '',
}
}
}
}
Line 1,431: Line 1,437:




/* --- Enable button Other:Also:LGBT slang */
/* --- Enable Links:{{rasw}}*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"LGBT slang": {
'rasw': {
label: 'LGBT slang',
label: 'rasw',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
icon: 'http://www.sm-201.org/a/images/e/ef/Circle_R%2Cjpg.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{LGBT slang",
          pre: "{{rasw|",
                                        post:"}}"
  post: '}}',
}
}
}
}
Line 1,452: Line 1,458:




/* --- Enable button Other:Also:Other */
/* --- Enable Links:wiktionary*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"sa-off": {
'External': {
label: 'sa-off',
label: 'Wikt',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/b/b6/Editor_o.png',  
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-offenses",
                pre: "{{wiktionary}}",
                                        post:"}}"
post: '',
}
}
}
}
Line 1,472: Line 1,478:
});
});


/* ---- Enable Footers:Porn */
/* ---- Enable Links:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"Porno": {
"Links": {
label: 'Porno',
label: 'Sanity',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Porno",
pre: "{{Sanity check|12/21|R/}}",
                                        post: "}}"
                post:""
}
}
}
}
Line 1,493: Line 1,499:




/* --- Enable button Other:Also:Relationship */
/* ---- Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"Relationship": {
"Links": {
label: 'Relationship',
label: 'See also',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
   icon: 'http://www.sm-201.org/a/images/c/c7/Button_see-also.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Relationships",
pre: "{{sa|",
                                        post:"}}"
                post:"}}"
}
}
}
}
Line 1,514: Line 1,520:




/* --- Enable button Cats:Also:Sex terms */
 
/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"Sexual terms": {
"Links": {
label: 'Sexual terms',
label: 'Link OK',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',  
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sexual terms",
pre: "{{Site-ok|12/21 R/}} ",
                                        post:"}}"
                    post:""
}
}
}
}
Line 1,534: Line 1,541:
});
});


 
/* ---- Enable Links:Red */
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Also',
group: 'Links',
tools: {
tools: {
"BDSM": {
"Links": {
label: 'BDSM',
label: 'Footer',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png',  
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Outline of BDSM",
pre: "{{Site-red|12/21 R/}} ",
                                        post:"}}"
                    post:""
}
}
}
}
Line 1,555: Line 1,561:
});
});


 
/* --- Enable Links:Strike through*/
/* Enable Group:Format: */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
'groups': {
'Tables': {
'label': 'Table'
}
}
} );
 
 
/* --- Enable button Expl */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
tools: {
"Expl 1": {
"Strike": {
label: 'Expl 1 !',
label: 'Strike',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
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 1,587: Line 1,581:
});
});


 
/* ---- Enable Links:<cr> */
/* --- Enable button Expl */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Table',
group: 'Links',
tools: {
tools: {
"Expl 2": {
"Links": {
label: 'Expl 1 !',
label: '<cr>',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',  
  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:"}}"
                    post:""
}
}
}
}
Line 1,607: Line 1,600:
}
}
});
});
/* Enable Group:Files:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Files': {
'label': 'Files'
}
}
} );
/* --- Enable Files:Copyright unknown */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Copy": {
label: 'Copy',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/22/Button-copy.jpg',
action: {
type: 'encapsulate',
options: {
pre:  'Copyright info not available/ownership unkown',
post: ''
}
}
}
}
} );
/* --- Enable Files:Mo/Yr */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Date": {
label: 'Date',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
action: {
type: 'encapsulate',
options: {
pre:  '12/21',
post: ''
}
}
}
}
} );
/* --- Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"nsw": {
label: 'nsw',
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: 'SM-201',
group: 'Files',
tools: {
"Thumb": {
label: 'Thumb',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/6f/Button_thumb.jpg',
action: {
type: 'encapsulate',
options: {
pre:  '[[File:',
post: '|thumb|right|200px| ]]'
}
}
}
}
} );
/* --- Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Gallery": {
label: 'Gallery',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
action: {
type: 'encapsulate',
options: {
pre:  '<gallery mode="packed" heights="200px" caption=""> ',
post: '</gallery>'
}
}
}
}
} );
/* --- Enable Files:Screenies */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
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: ''
}
}
}
}
} );
/*  =========================================== Add "Other:Groups" Buttons==== */
/* Enable Group:Talk:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Talk': {
'label': 'Talk'
}
}
} );
/* Enable Group:Other:Table: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Tables': {
'label': 'Table'
}
}
} );
/* Enable group:Other:YT */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'YT',
'groups': {
'Also': {
'label': 'YT'
}
}
} );
/* Enable group:Other:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Cats',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
/* =================== End of group enable ==========
/* --- Enable Other:Talk:Date chg*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
group: 'Talk',
tools: {
"date": {
label: 'date',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
type: 'encapsulate',
options: {
pre:  'Dec 01, 2021',
post: ''
}
}
}
}
} );
/* --- Enable button Other:Talk:smfix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Talk',
tools: {
"Talk:": {
label: 'smfix',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b8/Sm-fix.jpg',
action: {
type: 'encapsulate',
options: {
pre: "{{header| }}\n== Sources == \n*  - Article updated with information ",
                                        post:"from !sm 201-2017-0315 backup files \n{{cat|yrmo}}"
}
}
}
}
});
/* --- Enable button Also:<YouTube> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Talk',
tools: {
"YT": {
label: 'YouTube',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/b/bd/Cat-film.jpg',
            action: {
type: 'encapsulate',
options: {
pre: '{{ytbox|<youtube height="160px" width="250px">id</youtube>|{{bc|caption}}|right}}'
}
}
}
}
});
/* Enable group:Other: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
/* --- Enable button other|cats|!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Also:Circle-S */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Cats',
tools: {
"Circle-S": {
label: 'Circle-S',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/29/Circle_s.png',
action: {
type: 'encapsulate',
options: {
pre: "{{shibari}}",
                                post:""
}
}
}
}
});
/* --- Enable button spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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: "{{spank}}",
                                        post:""
}
}
}
}
});
/* --- Enable button Other:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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: "{{cat|Spider Pool|Spider Pool history|Spider Pool models} }",
                    post:""
}
}
}
}
});
/* --- Enable button Other:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 sa-bondpos  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 group:Porn:Pers: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Pers': {
'label': 'Pers'
}
}
} );
/* --- Enable button Porn|Pers:{{Pornstar */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Star": {
label: 'Porn',
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 Porn:Pers:pink */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"pink": {
label: 'pink',
type: 'button',
icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg',
action: {
type: 'encapsulate',
options: {
pre: "|      color = pink",
                                        post:""
}
}
}
}
} );
/* --- Enable button Porn|Pers|Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 Porn|Pers|DOB  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"birth": {
label: 'birth',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
action: {
type: 'encapsulate',
options: {
pre: "|    birthdate = {{dob",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pers|Birthplace  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"place": {
label: 'place',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
type: 'encapsulate',
options: {
pre: "|  birthplace = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pers|Alias */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Alias": {
label: 'alias',
type: 'button',
      icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',
action: {
type: 'encapsulate',
options: {
pre: "|    othername = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pers:{Star} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Star": {
label: '{Star}',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
type: 'encapsulate',
options: {
pre: "{{star}}"
}
}
}
}
});
/* --- Enable button Porn|Pers:{dag}*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Dag": {
label: '{Dag}',
type: 'button',
icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
type: 'encapsulate',
options: {
pre: "{{dag}}"
}
}
}
}
});
/* Enable group:Porn|Vitals */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Vitals': {
'label': 'Vitals'
}
}
} );
/* --- Enable button Porn:Pers|vitals = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"vitals": {
label: 'V-lab',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c2/Editor_v.png',
action: {
type: 'encapsulate',
options: {
pre: "|      vitals = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn:Pers|(vitals} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"vitals": {
label: 'V-tmp',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg',
action: {
type: 'encapsulate',
options: {
pre: "{{vitals|",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn:Vitals:{Height}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"ht": {
label: 'ht',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
type: 'encapsulate',
options: {
pre: "|      height = {{{ht|",
                                        post:"}}"
}
}
}
}
});
/* --- Enable button Porn|Vitals|{Weight}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"wt": {
label: 'wt',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
action: {
type: 'encapsulate',
options: {
pre: "|      weight = {{{wt|",
                                        post:"}}"
}
}
}
}
});
/* --- Enable button Porn|Vitals|Hair = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Hair": {
label: 'hair',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: "|    bodytype = ",
                                    post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|Hair = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Hair": {
label: 'hair',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
type: 'encapsulate',
options: {
pre: "|  hair color = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|Eyes =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Eya": {
label: 'Eye',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
action: {
type: 'encapsulate',
options: {
pre: "|    eye color = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|7 spaces  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Seven": {
label: 'Seven',
type: 'button',
icon: 'http://www.sm-201.org/a/images/f/fd/Circle_7.png',
action: {
type: 'encapsulate',
options: {
pre: "      ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|10 spaces  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Ten": {
label: 'Ten',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/20/Circle_x.png',
action: {
type: 'encapsulate',
options: {
pre: "        ",
                                        post:""
}
}
}
}
});
/* Enable group:Porn|Pro */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Pro': {
'label': 'Pro'
}
}
} );
/* --- Enable button Porn|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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: "|  specialties = ",
                                    post:""
}
}
}
}
});
/* --- Enable button Porn|Pers|Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"name": {
label: 'name',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
action: {
type: 'encapsulate',
options: {
pre: "|  yearsactive = ",
                                      post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pro',
tools: {
"boygirl": {
label: 'boygirl',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: "|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Lesbian = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pro',
tools: {
"lesbian": {
label: 'lesbian',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
action: {
type: 'encapsulate',
options: {
pre: "|      lesbian = [[Softcore]], [[Dildo]]",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Solo = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pro',
tools: {
"solo": {
label: 'solo',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
type: 'encapsulate',
options: {
pre: "|        solo = [[Masturbation]], [[Dildo]]",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|cat=Mistresses  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 Porn|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 group:Other:Books */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Books': {
'label': 'Books'
}
}
} );
/* --- Enable Other|Books|Books link */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Books',
tools: {
"Book link": {
label: 'Book link',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
type: 'encapsulate',
options: {
pre:  '<I>[[',
                                        post: ']]</I>'
}
}
}
}
});
/* --- Enable Other:Books:Book title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Books',
tools: {
"Book title": {
label: 'Book Title',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',
action: {
type: 'encapsulate',
options: {
pre:  '<I>',
                                        post: '</I>'
}
}
}
}
});
/* --- Enable button Other|Books|{Cats} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Books',
tools: {
"Cats": {
label: 'Cats',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
type: 'encapsulate',
options: {
pre: '|      authorcat = \n|        publcat = \n',
post: '|      illustcat = \n|        period = \n'
}
}
}
}
});
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Expl 1": {
label: '{!}',
type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',
action: {
type: 'encapsulate',
options: {
pre: "{{!",
                                        post:"}}"
}
}
}
}
});
/* --- Enable Other:Table:{!!}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Expl 2": {
label: '{!!}',
type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',
action: {
type: 'encapsulate',
options: {
pre: "{{!!}}",
                                        post:""
}
}
}
}
});
/* --- Enable Other:Table:Line1*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Line1": {
label: 'Line1',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
action: {
type: 'encapsulate',
options: {
pre:  " {{Line1}}",
post: ""
}
}
}
}
});
/* --- Enable Other:Table:Line2*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Line2": {
label: 'Line2',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
action: {
type: 'encapsulate',
options: {
pre:  " {{Line2}}",
post: ""
}
}
}
}
});
/* --- Enable Other:Table:VAlign=Top  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Valign top": {
label: '',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
action: {
type: 'encapsulate',
options: {
pre:  'valign="top"',
post: ''
}
}
}
}
} );
/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"!!": {
label: '!!',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png',
action: {
type: 'encapsulate',
options: {
pre: " || ",
                                        post:""
}
}
}
}
});
/* --- Enable Other:Table:Empty column  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"MT": {
label: 'MT',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
action: {
type: 'encapsulate',
options: {
pre: "|| &nbsp; ",
                    post:""
}
}
}
}
});
/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
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>"
}
}
}
}
});
/* 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 );
}
} );
}
var customizeToolbar = function () {
/* stable as of 2021-1201 */
/*  Enable section:SM-201 */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'SM-201': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'SM-201'
}
}
} );
/* Enable section:Porn */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Porn': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Porn'
}
}
} );
/* Enable section:Other */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Other': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Other'
}
}
} );
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Format': {
'label': 'Format'
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Comment": {
label: 'Comment',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
action: {
type: 'encapsulate',
options: {
pre:  '<!-- ',
post: ' -->'
}
}
}
}
} );
/* --- Enable Format:Apostrophe */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
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:<clear /> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Clear": {
label: 'Clear',
type: 'button',
icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
action: {
type: 'encapsulate',
options: {
pre: '<br clear="all"> ',
post: ''
}
}
}
}
});
/* --- Enable Format:List Item */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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 Item */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Item": {
label: 'Item',
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: 'SM-201',
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:Book title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"{{Titles": {
label: 'Titles',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg',
action: {
type: 'encapsulate',
options: {
pre: "{{Titles|",
                                        post:"}}"
}
}
}
}
});
/* --- Enable button Other:Also:Movies */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Movies": {
label: 'Movies',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Movies",
                    post:"}}"
}
}
}
}
});
/* --- Enable button Other:Also:Circle-a
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Circle-a": {
label: 'Circle-a',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',
action: {
type: 'encapsulate',
options: {
pre: "{{sa-adverts",
                                post:"}}"
}
}
}
}
});
*/
/* --- Enable button Other:Also:Circle-b
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Circle-b": {
label: 'Circle-b',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/b/b2/Circle_b.png',
action: {
type: 'encapsulate',
options: {
pre: "{{sp-art",
                                post:"}}"
}
}
}
}
});
*/
/* --- Enable button Other:Also:Circle-d
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Circle-d": {
label: 'Circle-d',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/a/af/Circle_d.png',
action: {
type: 'encapsulate',
options: {
pre: "date=",
                                post:""
}
}
}
}
});
*/
/* --- Enable button Other:Also:Circle-f
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Circle-f": {
label: 'Circle-b',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png',
action: {
type: 'encapsulate',
options: {
pre: "films",
                                post:""
}
}
}
}
});
*/
/* --- Enable button Other:Also:Circle-f
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Circle-f": {
label: 'Circle-b',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png',
action: {
type: 'encapsulate',
options: {
pre: "films",
                                post:""
}
}
}
}
});
*/
/* --- Enable Format:Underline */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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: 'SM-201',
group: 'Format',
tools: {
"Strike": {
label: 'Strike',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
action: {
type: 'encapsulate',
options: {
pre:  '<s>',
post: '</s>',
}
}
}
}
});
/* --- Enable Format:button [[link]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Template": {
label: 'Link',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
type: 'encapsulate',
options: {
pre:  '[[',
post: ']]'
}
}
}
}
} );
/* --- Enable Format:button {{ }} */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'format',
tools: {
"Template": {
label: 'Template',
type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png',
action: {
type: 'encapsulate',
options: {
pre: "{{",
post: "}}"
}
}
}
}
} );
/* --- Enable Format:button Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Quotes": {
label: 'Quotes',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png',
action: {
type: 'encapsulate',
options: {
pre:  '"',
post: '"',
}
}
}
}
});
/* --- Enable Format:button moz-column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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: 'SM-201',
group: 'Format',
tools: {
"Center": {
label: 'Center',
type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png',
action: {
type: 'encapsulate',
options: {
pre:  '<center>',
post: '</center>',
}
}
}
}
});
/* --- Enable Format:button Justify */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Format',
tools: {
"Justify": {
label: 'Justify',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png',
action: {
type: 'encapsulate',
options: {
pre:  '<p align="justify">',
post: '</p>',
}
}
}
}
});
/* Enable Group:Inc:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Inc': {
'label': 'Inc'
}
}
} );
/* --- Enable button Inc:Includeonly */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Inc',
tools: {
"Incl": {
label: 'Incl',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg',
action: {
type: 'encapsulate',
options: {
pre: "<includeonly>",
                                        post:"</includeonly>"
}
}
}
}
});
/* --- Enable button Inc:Noinclude */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Inc',
tools: {
"Noinclude": {
label: 'Noinclude',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg',
action: {
type: 'encapsulate',
options: {
pre: "<noinclude>",
                                        post:"</noinclude>"
}
}
}
}
});
/* --- Enable button Inc:Nowiki */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Inc',
tools: {
"Nowiki": {
label: 'Nowiki',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg',
action: {
type: 'encapsulate',
options: {
pre: "<nowiki>",
                                        post:"</nowiki>"
}
}
}
}
});
/* Enable group:SM-201:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
/* --- Enable button Cats:Category  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
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 Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
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:  '{{cat|',
post: '} }'
}
}
}
}
} );
/* --- Enable sm-201:cats:catpers  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Cats',
tools: {
"persons": {
label: 'persons',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Category:",
                    post:"Persons]]"
}
}
}
}
});
/* --- Enable button Cats:Needs update  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Cats',
tools: {
"Update": {
label: 'Update',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
type: 'encapsulate',
options: {
pre:  "{{cat|Needs updated info} }",
post: ""
}
}
}
}
} );
/* Enable group:Notes: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Refs': {
'label': 'Refs'
}
}
} );
/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
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 Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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: '<ref group="Note">',
                    post:"</ref>"
}
}
}
}
});
/* --- Enable button Refs:<src> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
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 button Refs:<Buy> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
"BuyIt": {
label: 'BuyIt',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: '<ref group="BuyIt">',
                    post:"</ref>"
}
}
}
}
});
/* --- Enable button Cats:Also:Mast */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
"Avail": {
label: 'Avail',
type: 'button',
      icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',
action: {
type: 'encapsulate',
options: {
pre: "[",
                                        post:" Available at Amazon.com]"
}
}
}
}
});
/* --- Enable button Notes:Calendar  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Refs',
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 button Refs:<backup> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
"!201": {
label: '!201',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
action: {
type: 'encapsulate',
options: {
pre: '<ref group="Source">[[!Sm-201 2017-0316]]',
                    post:" backup</ref>"
}
}
}
}
});
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
"Ref": {
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 Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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',
                                        post:'<references group="Note" />'
}
}
}
}
});
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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:<Buy> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
"Ref": {
label: 'BuyIt',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: '== Buy this book ==\n',
                    post:'<references group="BuyIt" />'
}
}
}
}
});
/* --- Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
"mg": {
label: 'mg',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',
action: {
type: 'encapsulate',
options: {
pre: "{{mg|",
                    post:"}}"
}
}
}
}
});
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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:Table */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Table': {
'label': 'Table'
}
}
} );
/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Table',
tools: {
"blank": {
label: 'blank',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
action: {
type: 'encapsulate',
options: {
pre:  "| {{blank}} || ",
post: ""
}
}
}
}
});
/* Enable group:Page: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Page': {
'label': 'Page'
}
}
} );
/* --- Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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 button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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 Pornstar */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
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 Notes:toporn  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Page',
tools: {
"toporn": {
label: '',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
action: {
type: 'encapsulate',
options: {
pre:  '{{toporn|add=}}',
post: ''
}
}
}
}
} );
/* --- Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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",
                    post:"}}"
}
}
}
}
});
/* Enable group:Notes: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Notes': {
'label': 'Notes'
}
}
} );
/* --- Enable button Notes:header  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Needs',
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:"}}"
}
}
}
}
});
/* --- Enable button Notes:headred */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
"Needs": {
label: 'Header',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Headred|",
                                        post:" 12/21}}"
}
}
}
}
});
/* --- Enable button Notes:header| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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:" 12/21}}"
}
}
}
}
});
/* --- Enable button Notes:Defaultsort  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 Notes:source  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
"<!>": {
label: '<!>',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
action: {
type: 'encapsulate',
options: {
pre: "<!-- Article source material: ",
                                        post:" -->"
}
}
}
}
});
/* --- Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 button Notes:Category:needs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 Notes:Heads2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 Notes:Heads3  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 Notes:Wiki:@  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
"Link": {
label: 'Wikilink',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Wl|",
                                        post:"}}"
}
}
}
}
});
/* --- Enable button Notes:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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> 12/21}}\n",
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| } }"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
"Oral": {
label: 'Oral',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/2d/Circle_o.png',
action: {
type: 'encapsulate',
options: {
pre: "{{cat|Oral eroticism}}",
                                        post:""
}
}
}
}
});
/* --- Enable button Notes:SHP matrix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
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 button Notes:insert image */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
"Needs": {
label: 'image:',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',
action: {
type: 'encapsulate',
options: {
    pre: "Image:",
                                    post:""
}
}
}
}
});
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Notes',
tools: {
"Needs": {
label: '{wr}',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
action: {
type: 'encapsulate',
options: {
pre: "{{@wr",
                    post:"}}"
}
}
}
}
});
/* Enable group:Links: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
'groups': {
'Links': {
'label': 'Links'
}
}
} );
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
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 Links:{{rasw}}*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
tools: {
'rasw': {
label: 'rasw',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ef/Circle_R%2Cjpg.jpg',
action: {
type: 'encapsulate',
options: {
          pre: "{{rasw|",
  post: '}}',
}
}
}
}
});
/* --- Enable Links:wiktionary*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
tools: {
'External': {
label: 'Wikt',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
action: {
type: 'encapsulate',
options: {
                pre: "{{wiktionary}}",
post: '',
}
}
}
}
});
/* ---- Enable Links:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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|12/21|R/}}",
                post:""
}
}
}
}
});
/* ---- Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
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|12/21 R/}} ",
                    post:""
}
}
}
}
});
/* ---- Enable Links:Red */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
tools: {
"Links": {
label: 'Footer',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Site-red|12/21 R/}} ",
                    post:""
}
}
}
}
});
/* --- Enable Links:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
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 Links:<cr> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Links',
tools: {
"Links": {
label: '<cr>',
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: 'SM-201',
'groups': {
'Files': {
'label': 'Files'
}
}
} );
/* --- Enable Files:Copyright unknown */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Copy": {
label: 'Copy',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/22/Button-copy.jpg',
action: {
type: 'encapsulate',
options: {
pre:  'Copyright info not available/ownership unkown',
post: ''
}
}
}
}
} );
/* --- Enable Files:Mo/Yr */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Date": {
label: 'Date',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
action: {
type: 'encapsulate',
options: {
pre:  '12/21',
post: ''
}
}
}
}
} );
/* --- Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"nsw": {
label: 'nsw',
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: 'SM-201',
group: 'Files',
tools: {
"Thumb": {
label: 'Thumb',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/6f/Button_thumb.jpg',
action: {
type: 'encapsulate',
options: {
pre:  '[[File:',
post: '|thumb|right|200px| ]]'
}
}
}
}
} );
/* --- Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Gallery": {
label: 'Gallery',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
action: {
type: 'encapsulate',
options: {
pre:  '<gallery mode="packed" heights="200px" caption=""> ',
post: '</gallery>'
}
}
}
}
} );
/* --- Enable Files:Screenies */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
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: ''
}
}
}
}
} );
/*  =========================================== Add "Other:Groups" Buttons==== */
/* Enable Group:Talk:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Talk': {
'label': 'Talk'
}
}
} );
/* Enable Group:Other:Table: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Tables': {
'label': 'Table'
}
}
} );
/* Enable group:Other:YT */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'YT',
'groups': {
'Also': {
'label': 'YT'
}
}
} );
/* Enable group:Other:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Cats',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
/* =================== End of group enable ==========
/* --- Enable Other:Talk:Date chg*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
group: 'Talk',
tools: {
"date": {
label: 'date',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
type: 'encapsulate',
options: {
pre:  'Dec 01, 2021',
post: ''
}
}
}
}
} );
/* --- Enable button Other:Talk:smfix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Talk',
tools: {
"Talk:": {
label: 'smfix',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b8/Sm-fix.jpg',
action: {
type: 'encapsulate',
options: {
pre: "{{header| }}\n== Sources == \n*  - Article updated with information ",
                                        post:"from !sm 201-2017-0315 backup files \n{{cat|yrmo}}"
}
}
}
}
});
/* --- Enable button Also:<YouTube> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Talk',
tools: {
"YT": {
label: 'YouTube',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/b/bd/Cat-film.jpg',
            action: {
type: 'encapsulate',
options: {
pre: '{{ytbox|<youtube height="160px" width="250px">id</youtube>|{{bc|caption}}|right}}'
}
}
}
}
});
/* Enable group:Other: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
/* --- Enable button other|cats|!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Also:Circle-S */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Cats',
tools: {
"Circle-S": {
label: 'Circle-S',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/29/Circle_s.png',
action: {
type: 'encapsulate',
options: {
pre: "{{shibari}}",
                                post:""
}
}
}
}
});
/* --- Enable button spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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: "{{spank}}",
                                        post:""
}
}
}
}
});
/* --- Enable button Other:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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: "{{cat|Spider Pool|Spider Pool history|Spider Pool models} }",
                    post:""
}
}
}
}
});
/* --- Enable button Other:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 Other:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 sa-bondpos  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 group:Porn:Pers: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Pers': {
'label': 'Pers'
}
}
} );
/* --- Enable button Porn|Pers:{{Pornstar */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Star": {
label: 'Porn',
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 Porn:Pers:pink */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"pink": {
label: 'pink',
type: 'button',
icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg',
action: {
type: 'encapsulate',
options: {
pre: "|      color = pink",
                                        post:""
}
}
}
}
} );
/* --- Enable button Porn|Pers|Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 Porn|Pers|DOB  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"birth": {
label: 'birth',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
action: {
type: 'encapsulate',
options: {
pre: "|    birthdate = {{dob",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pers|Birthplace  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"place": {
label: 'place',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
type: 'encapsulate',
options: {
pre: "|  birthplace = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pers|Alias */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Alias": {
label: 'alias',
type: 'button',
      icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',
action: {
type: 'encapsulate',
options: {
pre: "|    othername = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pers:{Star} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Star": {
label: '{Star}',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
type: 'encapsulate',
options: {
pre: "{{star}}"
}
}
}
}
});
/* --- Enable button Porn|Pers:{dag}*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"Dag": {
label: '{Dag}',
type: 'button',
icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
type: 'encapsulate',
options: {
pre: "{{dag}}"
}
}
}
}
});
/* Enable group:Porn|Vitals */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Vitals': {
'label': 'Vitals'
}
}
} );
/* --- Enable button Porn:Pers|vitals = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"vitals": {
label: 'V-lab',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c2/Editor_v.png',
action: {
type: 'encapsulate',
options: {
pre: "|      vitals = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn:Pers|(vitals} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"vitals": {
label: 'V-tmp',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg',
action: {
type: 'encapsulate',
options: {
pre: "{{vitals|",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn:Vitals:{Height}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"ht": {
label: 'ht',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
type: 'encapsulate',
options: {
pre: "|      height = {{{ht|",
                                        post:"}}"
}
}
}
}
});
/* --- Enable button Porn|Vitals|{Weight}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"wt": {
label: 'wt',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
action: {
type: 'encapsulate',
options: {
pre: "|      weight = {{{wt|",
                                        post:"}}"
}
}
}
}
});
/* --- Enable button Porn|Vitals|Hair = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Hair": {
label: 'hair',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: "|    bodytype = ",
                                    post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|Hair = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Hair": {
label: 'hair',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
type: 'encapsulate',
options: {
pre: "|  hair color = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|Eyes =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Eya": {
label: 'Eye',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
action: {
type: 'encapsulate',
options: {
pre: "|    eye color = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|7 spaces  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Seven": {
label: 'Seven',
type: 'button',
icon: 'http://www.sm-201.org/a/images/f/fd/Circle_7.png',
action: {
type: 'encapsulate',
options: {
pre: "      ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Vitals|10 spaces  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Ten": {
label: 'Ten',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/20/Circle_x.png',
action: {
type: 'encapsulate',
options: {
pre: "        ",
                                        post:""
}
}
}
}
});
/* Enable group:Porn|Pro */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Pro': {
'label': 'Pro'
}
}
} );
/* --- Enable button Porn|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 = ",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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: "|  specialties = ",
                                    post:""
}
}
}
}
});
/* --- Enable button Porn|Pers|Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pers',
tools: {
"name": {
label: 'name',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
action: {
type: 'encapsulate',
options: {
pre: "|  yearsactive = ",
                                      post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pro',
tools: {
"boygirl": {
label: 'boygirl',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: "|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Lesbian = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pro',
tools: {
"lesbian": {
label: 'lesbian',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
action: {
type: 'encapsulate',
options: {
pre: "|      lesbian = [[Softcore]], [[Dildo]]",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|Solo = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Pro',
tools: {
"solo": {
label: 'solo',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
type: 'encapsulate',
options: {
pre: "|        solo = [[Masturbation]], [[Dildo]]",
                                        post:""
}
}
}
}
});
/* --- Enable button Porn|Pro|cat=Mistresses  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 Porn|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
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 group:Other:Books */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Books': {
'label': 'Books'
}
}
} );
/* --- Enable Other|Books|Books link */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Books',
tools: {
"Book link": {
label: 'Book link',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
type: 'encapsulate',
options: {
pre:  '<I>[[',
                                        post: ']]</I>'
}
}
}
}
});
/* --- Enable Other:Books:Book title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Books',
tools: {
"Book title": {
label: 'Book Title',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',
action: {
type: 'encapsulate',
options: {
pre:  '<I>',
                                        post: '</I>'
}
}
}
}
});
/* --- Enable button Other|Books|{Cats} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Books',
tools: {
"Cats": {
label: 'Cats',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
type: 'encapsulate',
options: {
pre: '|      authorcat = \n|        publcat = \n',
post: '|      illustcat = \n|        period = \n'
}
}
}
}
});
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Expl 1": {
label: '{!}',
type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',
action: {
type: 'encapsulate',
options: {
pre: "{{!",
                                        post:"}}"
}
}
}
}
});
/* --- Enable Other:Table:{!!}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Expl 2": {
label: '{!!}',
type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',
action: {
type: 'encapsulate',
options: {
pre: "{{!!}}",
                                        post:""
}
}
}
}
});
/* --- Enable Other:Table:Line1*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Line1": {
label: 'Line1',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
action: {
type: 'encapsulate',
options: {
pre:  " {{Line1}}",
post: ""
}
}
}
}
});
/* --- Enable Other:Table:Line2*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Line2": {
label: 'Line2',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
action: {
type: 'encapsulate',
options: {
pre:  " {{Line2}}",
post: ""
}
}
}
}
});
/* --- Enable Other:Table:VAlign=Top  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Valign top": {
label: '',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
action: {
type: 'encapsulate',
options: {
pre:  'valign="top"',
post: ''
}
}
}
}
} );
/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"!!": {
label: '!!',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png',
action: {
type: 'encapsulate',
options: {
pre: " || ",
                                        post:""
}
}
}
}
});
/* --- Enable Other:Table:Empty column  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"MT": {
label: 'MT',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
action: {
type: 'encapsulate',
options: {
pre: "|| &nbsp; ",
                    post:""
}
}
}
}
});
/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
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>"
}
}
}
}
});





Revision as of 07:34, 7 December 2021

var customizeToolbar = function () { /* stable as of 2021-1201 */

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

/* Enable section:Porn */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

  'sections': {

'Porn': { 'type': 'toolbar', // Can also be 'booklet' 'label': 'Porn' } } } );

/* Enable section:Other */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

  'sections': {

'Other': { 'type': 'toolbar', // Can also be 'booklet' 'label': 'Other' } } } );

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


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Comment": { label: 'Comment', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: } } } } } );

/* --- Enable Format:Apostrophe */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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:<clear /> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Clear": { label: 'Clear', type: 'button', icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', action: { type: 'encapsulate', options: { pre: '
', post: } } } } });

/* --- Enable Format:List Item */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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 Item */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Item": { label: 'Item', 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: 'SM-201', 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: "

", post:"

"

} } } } });

/* --- Enable Format:Book title */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', 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 Other:Also:Movies */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Movies": { label: 'Movies', type: 'button',

     icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', 

action: { type: 'encapsulate', options: { pre: "{{Movies",

                   post:"}}"

} } } } });


/* --- Enable button Other:Also:Circle-a $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-a": { label: 'Circle-a', type: 'button',

     icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png', 

action: { type: 'encapsulate', options: { pre: "{{sa-adverts",

                               post:"}}"

} } } } });

  • /

/* --- Enable button Other:Also:Circle-b $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-b": { label: 'Circle-b', type: 'button',

     icon: 'http://www.sm-201.org/a/images/b/b2/Circle_b.png', 

action: { type: 'encapsulate', options: { pre: "{{sp-art",

                               post:"}}"

} } } } });

  • /

/* --- Enable button Other:Also:Circle-d $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-d": { label: 'Circle-d', type: 'button',

     icon: 'http://www.sm-201.org/a/images/a/af/Circle_d.png', 

action: { type: 'encapsulate', options: { pre: "date=",

                               post:""

} } } } });

  • /

/* --- Enable button Other:Also:Circle-f $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-f": { label: 'Circle-b', type: 'button',

     icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png', 

action: { type: 'encapsulate', options: { pre: "films",

                               post:""

} } } } });

  • /

/* --- Enable button Other:Also:Circle-f $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-f": { label: 'Circle-b', type: 'button',

     icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png', 

action: { type: 'encapsulate', options: { pre: "films",

                               post:""

} } } } });

  • /

/* --- Enable Format:Underline */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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: "", post: "", } } } } });

/* --- Enable Format:Strike through*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Strike": { label: 'Strike', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png', action: { type: 'encapsulate', options: { pre: '', post: '', } } } } });

/* --- Enable Format:button link */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Template": { label: 'Link', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png', action: { type: 'encapsulate', options: { pre: '[[', post: ']]' } } } } } );

/* --- Enable Format:button {{ }} */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'format', tools: { "Template": { label: 'Template', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png', action: { type: 'encapsulate', options: { pre: "{{", post: "}}" } } } } } );

/* --- Enable Format:button Quotes */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Quotes": { label: 'Quotes', type: 'button', icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png', action: { type: 'encapsulate', options: { pre: '"', post: '"', } } } } });

/* --- Enable Format:button moz-column */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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: "

", post: "

",

} } } } });

/* --- Enable Format:button Center */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Center": { label: 'Center', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png', action: { type: 'encapsulate', options: {

pre: '

', post: '

',

} } } } });

/* --- Enable Format:button Justify */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Justify": { label: 'Justify', type: 'button', icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png', action: { type: 'encapsulate', options: {

pre: '

', post: '

',

} } } } });

/* Enable Group:Inc: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 'groups': { 'Inc': { 'label': 'Inc' } } } );

/* --- Enable button Inc:Includeonly */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Inc', tools: { "Incl": { label: 'Incl', type: 'button',

  icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg', 

action: { type: 'encapsulate', options: { pre: "" } } } } });

/* --- Enable button Inc:Noinclude */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Inc', tools: { "Noinclude": { label: 'Noinclude', type: 'button',

     icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg', 

action: { type: 'encapsulate', options: { pre: "",

                                       post:""

} } } } });

/* --- Enable button Inc:Nowiki */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Inc', tools: { "Nowiki": { label: 'Nowiki', type: 'button',

     icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg', 

action: { type: 'encapsulate', options: { pre: "", post:"" } } } } });


/* Enable group:SM-201:Cats */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'SM-201',

'groups': { 'Cats': { 'label': 'Cats' } } } );

/* --- Enable button Cats:Category */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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 Cats:Category2 */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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: '{{cat|', post: '} }' } } } } } );

/* --- Enable sm-201:cats:catpers */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Cats', tools: { "persons": { label: 'persons', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',

action: { type: 'encapsulate', options: { pre: "[[Category:",

                   post:"Persons]]"

} } } } });

/* --- Enable button Cats:Needs update */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Cats', tools: { "Update": { label: 'Update', type: 'button', icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png', action: { type: 'encapsulate', options: { pre: "{{cat|Needs updated info} }", post: "" } } } } } );


/* Enable group:Notes: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'SM-201',

'groups': { 'Refs': { 'label': 'Refs' } } } );


/* --- Enable button Refs:Cite error: Closing </ref> missing for <ref> tag" } } } } });

/* --- Enable button Refs:Cite error: Closing </ref> missing for <ref> tag" } } } } });

/* --- Enable button Refs:<src> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Src": { label: 'Src', type: 'button',

 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',

action: { type: 'encapsulate', options: { pre: '[Source 1]" } } } } });


/* --- Enable button Refs:<Buy> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "BuyIt": { label: 'BuyIt', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: '[BuyIt 1]" } } } } });


/* --- Enable button Cats:Also:Mast */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Avail": { label: 'Avail', type: 'button',

     icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png', 

action: { type: 'encapsulate', options: { pre: "[",

                                       post:" Available at Amazon.com]"

} } } } });

/* --- Enable button Notes:Calendar */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Refs', 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 button Refs:<backup> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "!201": { label: '!201', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: '[Source 2]" } } } } });

/* --- Enable button Refs:<reflist> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Ref": { 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:""

} } } } });

/* --- Enable button Refs:<reflist> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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',

                                       post:''

} } } } });

/* --- Enable button Refs:<reflist> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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:'

  1. ', post:"
  2. !Sm-201 2017-0316', post:" backup

'

} } } } });

/* --- Enable button Refs:<Buy> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Ref": { label: 'BuyIt', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: '== Buy this book ==\n',

post:'

  1. ', post:"

'

} } } } });

/* --- Enable button model */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "mg": { label: 'mg', type: 'button',

     icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', 

action: { type: 'encapsulate', options: { pre: "[[",

                   post:" (magazine)|",
                   post:"]]"

} } } } });


/* --- Enable button Notes:@wr */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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: "',

                   post:""[[Wikipedia:',
                   post:"|@wk]]"

} } } } });

/* Enable Group:Table */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Other', 'groups': { 'Table': { 'label': 'Table' } } } );

/* --- Enable Table:button*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Table', tools: { "blank": { label: 'blank', type: 'button', icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png', action: { type: 'encapsulate', options: { pre: "| <body style='background-color:#e6e6e6;'> |  || ", post: "" } } } } });

/* Enable group:Page: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'SM-201',

'groups': { 'Page': { 'label': 'Page' } } } );

/* --- Enable button model */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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 button Pornstud */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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 Pornstar */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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 Notes:toporn */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Page', tools: { "toporn": { label: , type: 'button', icon: 'http://sm-201.org/a/images/1/19/Editor_t.png', action: { type: 'encapsulate', options: {

pre: '

This article is about a porn star

', post: } } } } } ); /* --- Enable button sa-porn */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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", post:"}}" } } } } }); /* Enable group:Notes: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 'groups': { 'Notes': { 'label': 'Notes' } } } ); /* --- Enable button Notes:header */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Needs', 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:"}}" } } } } }); /* --- Enable button Notes:headred */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Needs": { label: 'Header', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png', action: { type: 'encapsulate', options: { pre: " " } } } } }); /* --- Enable button Notes:header| */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Needs": { label: 'Header', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png', action: { type: 'encapsulate', options: { pre: " " } } } } }); /* --- Enable button Notes:Defaultsort */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "{DS}": { label: '(DS)', type: 'button', icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png', action: { type: 'encapsulate', options: { pre: "" } } } } }); /* --- Enable button Notes:source */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "<!>": { label: '<!>', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: "" } } } } }); /* --- Enable button Notes:footer */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 button Notes:Category:needs */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Heads2 */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Heads3 */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Wiki:@ */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Needs": { label: 'Wikimain', type: 'button', icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png', action: { type: 'encapsulate', options: { pre: "

Wikilogo-20.png
Wikipedia article: [[wikipedia:",

post:"|", post:"]]" } } } } }); /* --- Enable button Notes:Wikilink */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Link": { label: 'Wikilink', type: 'button', icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png', action: { type: 'encapsulate', options: { pre: "[[Wikipedia:", post:"|", post:" ]]" } } } } }); /* --- Enable button Notes:Redirect */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Wikilink */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 \n", post:"Warning: Default sort key "<from>" overrides earlier default sort key "", post:"".\n

[[Category:
caption
]]







'

} } } } });


/* Enable group:Other: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Other',

'groups': { 'Cats': { 'label': 'Cats' } } } );

/* --- Enable button other|cats|!more */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "",

                                       post:""

} } } } });

/* --- Enable button Other:Cats:BondMod */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 Other:Also:Circle-J */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "

Related Japanese erotic cinema topics

Articles related to Japanese erotic cinema
See also Category:Japanese culture and/or Category:Japanese subculture

",

               post:"

" } } } } });


/* --- Enable button Other:Also:Circle-S */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Cats', tools: { "Circle-S": { label: 'Circle-S', type: 'button',

     icon: 'http://www.sm-201.org/a/images/2/29/Circle_s.png', 

action: { type: 'encapsulate', options: { pre: "",

                               post:""

} } } } });

/* --- Enable button spank */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "[[Category:Spanking in the {{{1}}}]]",

                                       post:""

} } } } });

/* --- Enable button Other:Cats:spider pool */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "{{cat|Spider Pool|Spider Pool history|Spider Pool models} }",

                   post:""

} } } } });

/* --- Enable button Other:Cats:BDSMAuthors */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 Other:Cats:(Computer technology) */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 sa-bondfurn */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "

List of Bondage furniture

Bondage furniture gallery
Bondage postions / (category}Bondage restraints / (category}

",

                                       post:""

} } } } });

/* --- Enable button sa-bondpos */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 sa-bondrest */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "

List of Bondage restraints / BDSM / Bondage materials
Types of gags
Bondage positions / (category}Bondage restraints / (category}

"

} } } } });


/* Enable group:Porn:Pers: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Porn',

'groups': { 'Pers': { 'label': 'Pers' } } } );


/* --- Enable button Porn|Pers:{{Pornstar */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Star": { label: 'Porn', 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 Porn:Pers:pink */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Porn', group: 'Pers', tools: { "pink": { label: 'pink', type: 'button', icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg', action: { type: 'encapsulate', options: { pre: "| color = pink",

                                       post:""

} } } } } );

/* --- Enable button Porn|Pers|Name */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 Porn|Pers|DOB */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "birth": { label: 'birth', type: 'button', icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg', action: { type: 'encapsulate', options: { pre: "| birthdate = {{dob",

                                       post:""

} } } } });


/* --- Enable button Porn|Pers|Birthplace */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "place": { label: 'place', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',

action: { type: 'encapsulate', options: { pre: "| birthplace = ",

                                       post:""

} } } } });


/* --- Enable button Porn|Pers|Alias */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Alias": { label: 'alias', type: 'button',

     icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png', 

action: { type: 'encapsulate', options: { pre: "| othername = ",

                                       post:""

} } } } });


/* --- Enable button Porn|Pers:{Star} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Star": { label: '{Star}', type: 'button',

 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',

action: { type: 'encapsulate', options: { pre: "✦" } } } } });

/* --- Enable button Porn|Pers:{dag}*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Dag": { label: '{Dag}', type: 'button',

icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',

action: { type: 'encapsulate', options: { pre: "" } } } } });


/* Enable group:Porn|Vitals */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Porn',

'groups': { 'Vitals': { 'label': 'Vitals' } } } );

/* --- Enable button Porn:Pers|vitals = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "vitals": { label: 'V-lab', type: 'button',

     icon: 'http://www.sm-201.org/a/images/c/c2/Editor_v.png', 

action: { type: 'encapsulate', options: { pre: "| vitals = ",

                                       post:""

} } } } });


/* --- Enable button Porn:Pers|(vitals} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "vitals": { label: 'V-tmp', type: 'button',

     icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg', 

action: { type: 'encapsulate', options: { pre: "{{vitals|",

                                       post:""

} } } } });

/* --- Enable button Porn:Vitals:{Height} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "ht": { label: 'ht', type: 'button',

 icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',

action: { type: 'encapsulate', options: { pre: "| height = {",

                                       post:"' " (Expression error: Unrecognized punctuation character """.m)"

} } } } });

/* --- Enable button Porn|Vitals|{Weight} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "wt": { label: 'wt', type: 'button',

 icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',

action: { type: 'encapsulate', options: { pre: "| weight = {",

                                       post:" lbs (Expression error: Unrecognized punctuation character """. kg)"

} } } } });


/* --- Enable button Porn|Vitals|Hair = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Hair": { label: 'hair', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: "| bodytype = ",

                                    post:""

} } } } });

/* --- Enable button Porn|Vitals|Hair = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Hair": { label: 'hair', type: 'button',

 icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',

action: { type: 'encapsulate', options: { pre: "| hair color = ",

                                       post:""

} } } } });

/* --- Enable button Porn|Vitals|Eyes = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Eya": { label: 'Eye', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png', action: { type: 'encapsulate', options: { pre: "| eye color = ",

                                       post:""

} } } } });

/* --- Enable button Porn|Vitals|7 spaces */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Seven": { label: 'Seven', type: 'button', icon: 'http://www.sm-201.org/a/images/f/fd/Circle_7.png', action: { type: 'encapsulate', options: { pre: " ",

                                       post:""

} } } } });

/* --- Enable button Porn|Vitals|10 spaces */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Ten": { label: 'Ten', type: 'button', icon: 'http://www.sm-201.org/a/images/2/20/Circle_x.png', action: { type: 'encapsulate', options: { pre: " ",

                                       post:""

} } } } });

/* Enable group:Porn|Pro */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Porn',

'groups': { 'Pro': { 'label': 'Pro' } } } );


/* --- Enable button Porn|Pro|Genres = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 = ",

                                       post:""

} } } } });


/* --- Enable button Porn|Pro|Specs = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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: "| specialties = ",

                                    post:""

} } } } });

/* --- Enable button Porn|Pers|Name */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "name": { label: 'name', type: 'button',

 icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png', 

action: { type: 'encapsulate', options: {

pre: "| yearsactive = ",

                                     post:""

} } } } });


/* --- Enable button Porn|Pro|Boygirl = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pro', tools: { "boygirl": { label: 'boygirl', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: "| boygirl = BJ, Vaginal, Anal",

                                       post:""

} } } } });

/* --- Enable button Porn|Pro|Lesbian = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pro', tools: { "lesbian": { label: 'lesbian', type: 'button',

 icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',

action: { type: 'encapsulate', options: { pre: "| lesbian = Softcore, Dildo",

                                       post:""

} } } } });

/* --- Enable button Porn|Pro|Solo = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pro', tools: { "solo": { label: 'solo', type: 'button',

 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',

action: { type: 'encapsulate', options: { pre: "| solo = Masturbation, Dildo",

                                       post:""

} } } } });

/* --- Enable button Porn|Pro|cat=Mistresses */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 Porn|Pro|Imdb etc = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 group:Other:Books */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Other',

'groups': { 'Books': { 'label': 'Books' } } } );

/* --- Enable Other|Books|Books link */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Books', tools: { "Book link": { label: 'Book link', type: 'button',

icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',

action: { type: 'encapsulate', options: { pre: '[[',

                                       post: ']]'

} } } } });

/* --- Enable Other:Books:Book title */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Books', tools: { "Book title": { label: 'Book Title', type: 'button',

 icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',

action: { type: 'encapsulate', options: { pre: '',

                                       post: ''

} } } } });



/* --- Enable button Other|Books|{Cats} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Books', tools: { "Cats": { label: 'Cats', type: 'button', icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', action: { type: 'encapsulate', options: { pre: '| authorcat = \n| publcat = \n', post: '| illustcat = \n| period = \n' } } } } });


/* --- Enable Other:Table:{!} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Expl 1": { label: '{!}', type: 'button',

     icon: 'http://sm-201.org/a/images/a/af/Button_%21.png', 

action: { type: 'encapsulate', options: { pre: "{{!",

                                       post:"}}"

} } } } });

/* --- Enable Other:Table:{!!} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Expl 2": { label: '{!!}', type: 'button',

     icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png', 

action: { type: 'encapsulate', options: { pre: "||",

                                       post:""

} } } } });


/* --- Enable Other:Table:Line1*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Line1": { label: 'Line1', type: 'button', icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png', action: { type: 'encapsulate', options: { pre: " <body style='background-color:white; '> width="100%" valign="top" valign="top"", post: "" } } } } });

/* --- Enable Other:Table:Line2*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Line2": { label: 'Line2', type: 'button', icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png', action: { type: 'encapsulate', options: { pre: " <body style='background-color:#e6e6e6;'> valign="top"", post: "" } } } } });


/* --- Enable Other:Table:VAlign=Top */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Other', group: 'Table', tools: { "Valign top": { label: , type: 'button', icon: 'http://sm-201.org/a/images/1/19/Editor_t.png', action: { type: 'encapsulate', options: { pre: 'valign="top"', post: } } } } } );


/* --- Enable Other:Table:' !! ' - New column */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "!!": { label: '!!', type: 'button', icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png', action: { type: 'encapsulate', options: { pre: " || ",

                                       post:""

} } } } });


/* --- Enable Other:Table:Empty column */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "MT": { label: 'MT', type: 'button',

 icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',

action: { type: 'encapsulate', options: { pre: "||   ",

                   post:""

} } } } });

/* --- Enable Other:Table:Columns */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Columns": { label: 'Columns', type: 'button', icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png', action: { type: 'encapsulate', options: {

pre: "

", post: "

"

} } } } });


/* Leave everything below this line alone ===================== */ };

/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) { mw.loader.using( 'user.options' ).then( function () { // This can be the string "0" if the user disabled the preference (phab:T54542#555387) if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) { $.when( mw.loader.using( 'ext.wikiEditor' ), $.ready ).then( customizeToolbar ); } } ); } var customizeToolbar = function () { /* stable as of 2021-1201 */

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

/* Enable section:Porn */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

  'sections': {

'Porn': { 'type': 'toolbar', // Can also be 'booklet' 'label': 'Porn' } } } );

/* Enable section:Other */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

  'sections': {

'Other': { 'type': 'toolbar', // Can also be 'booklet' 'label': 'Other' } } } );

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


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Comment": { label: 'Comment', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: } } } } } );

/* --- Enable Format:Apostrophe */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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:<clear /> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Clear": { label: 'Clear', type: 'button', icon: 'http://sm-201.org/a/images/b/be/Editor_c.png', action: { type: 'encapsulate', options: { pre: '
', post: } } } } });

/* --- Enable Format:List Item */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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 Item */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Item": { label: 'Item', 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: 'SM-201', 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: "

", post:"

"

} } } } });

/* --- Enable Format:Book title */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', 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 Other:Also:Movies */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Movies": { label: 'Movies', type: 'button',

     icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', 

action: { type: 'encapsulate', options: { pre: "{{Movies",

                   post:"}}"

} } } } });


/* --- Enable button Other:Also:Circle-a $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-a": { label: 'Circle-a', type: 'button',

     icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png', 

action: { type: 'encapsulate', options: { pre: "{{sa-adverts",

                               post:"}}"

} } } } });

  • /

/* --- Enable button Other:Also:Circle-b $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-b": { label: 'Circle-b', type: 'button',

     icon: 'http://www.sm-201.org/a/images/b/b2/Circle_b.png', 

action: { type: 'encapsulate', options: { pre: "{{sp-art",

                               post:"}}"

} } } } });

  • /

/* --- Enable button Other:Also:Circle-d $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-d": { label: 'Circle-d', type: 'button',

     icon: 'http://www.sm-201.org/a/images/a/af/Circle_d.png', 

action: { type: 'encapsulate', options: { pre: "date=",

                               post:""

} } } } });

  • /

/* --- Enable button Other:Also:Circle-f $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-f": { label: 'Circle-b', type: 'button',

     icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png', 

action: { type: 'encapsulate', options: { pre: "films",

                               post:""

} } } } });

  • /

/* --- Enable button Other:Also:Circle-f $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Circle-f": { label: 'Circle-b', type: 'button',

     icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png', 

action: { type: 'encapsulate', options: { pre: "films",

                               post:""

} } } } });

  • /

/* --- Enable Format:Underline */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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: "", post: "", } } } } });

/* --- Enable Format:Strike through*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Strike": { label: 'Strike', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png', action: { type: 'encapsulate', options: { pre: '', post: '', } } } } });

/* --- Enable Format:button link */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Template": { label: 'Link', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png', action: { type: 'encapsulate', options: { pre: '[[', post: ']]' } } } } } );

/* --- Enable Format:button {{ }} */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'format', tools: { "Template": { label: 'Template', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png', action: { type: 'encapsulate', options: { pre: "{{", post: "}}" } } } } } );

/* --- Enable Format:button Quotes */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Quotes": { label: 'Quotes', type: 'button', icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png', action: { type: 'encapsulate', options: { pre: '"', post: '"', } } } } });

/* --- Enable Format:button moz-column */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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: "

", post: "

",

} } } } });

/* --- Enable Format:button Center */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Center": { label: 'Center', type: 'button', icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png', action: { type: 'encapsulate', options: {

pre: '

', post: '

',

} } } } });

/* --- Enable Format:button Justify */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Format', tools: { "Justify": { label: 'Justify', type: 'button', icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png', action: { type: 'encapsulate', options: {

pre: '

', post: '

',

} } } } });

/* Enable Group:Inc: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 'groups': { 'Inc': { 'label': 'Inc' } } } );

/* --- Enable button Inc:Includeonly */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Inc', tools: { "Incl": { label: 'Incl', type: 'button',

  icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg', 

action: { type: 'encapsulate', options: { pre: "" } } } } });

/* --- Enable button Inc:Noinclude */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Inc', tools: { "Noinclude": { label: 'Noinclude', type: 'button',

     icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg', 

action: { type: 'encapsulate', options: { pre: "",

                                       post:""

} } } } });

/* --- Enable button Inc:Nowiki */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Inc', tools: { "Nowiki": { label: 'Nowiki', type: 'button',

     icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg', 

action: { type: 'encapsulate', options: { pre: "", post:"" } } } } });


/* Enable group:SM-201:Cats */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'SM-201',

'groups': { 'Cats': { 'label': 'Cats' } } } );

/* --- Enable button Cats:Category */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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 Cats:Category2 */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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: '{{cat|', post: '} }' } } } } } );

/* --- Enable sm-201:cats:catpers */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Cats', tools: { "persons": { label: 'persons', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',

action: { type: 'encapsulate', options: { pre: "[[Category:",

                   post:"Persons]]"

} } } } });

/* --- Enable button Cats:Needs update */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Cats', tools: { "Update": { label: 'Update', type: 'button', icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png', action: { type: 'encapsulate', options: { pre: "{{cat|Needs updated info} }", post: "" } } } } } );


/* Enable group:Notes: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'SM-201',

'groups': { 'Refs': { 'label': 'Refs' } } } );


/* --- Enable button Refs:Cite error: Closing </ref> missing for <ref> tag" } } } } });

/* --- Enable button Refs:Cite error: Closing </ref> missing for <ref> tag" } } } } });

/* --- Enable button Refs:<src> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Src": { label: 'Src', type: 'button',

 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',

action: { type: 'encapsulate', options: { pre: '[Source 1]" } } } } });


/* --- Enable button Refs:<Buy> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "BuyIt": { label: 'BuyIt', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: '[BuyIt 1]" } } } } });


/* --- Enable button Cats:Also:Mast */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Avail": { label: 'Avail', type: 'button',

     icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png', 

action: { type: 'encapsulate', options: { pre: "[",

                                       post:" Available at Amazon.com]"

} } } } });

/* --- Enable button Notes:Calendar */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Refs', 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 button Refs:<backup> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "!201": { label: '!201', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: '[Source 2]" } } } } });

/* --- Enable button Refs:<reflist> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Ref": { 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:""

} } } } });

/* --- Enable button Refs:<reflist> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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',

                                       post:''

} } } } });

/* --- Enable button Refs:<reflist> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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:'

  1. ', post:"
  2. !Sm-201 2017-0316', post:" backup

'

} } } } });

/* --- Enable button Refs:<Buy> */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "Ref": { label: 'BuyIt', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: '== Buy this book ==\n',

post:'

  1. ', post:"

'

} } } } });

/* --- Enable button model */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Refs', tools: { "mg": { label: 'mg', type: 'button',

     icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', 

action: { type: 'encapsulate', options: { pre: "[[",

                   post:" (magazine)|",
                   post:"]]"

} } } } });


/* --- Enable button Notes:@wr */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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: "',

                   post:""[[Wikipedia:',
                   post:"|@wk]]"

} } } } });

/* Enable Group:Table */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Other', 'groups': { 'Table': { 'label': 'Table' } } } );

/* --- Enable Table:button*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Table', tools: { "blank": { label: 'blank', type: 'button', icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png', action: { type: 'encapsulate', options: { pre: "| <body style='background-color:#e6e6e6;'> |  || ", post: "" } } } } });

/* Enable group:Page: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'SM-201',

'groups': { 'Page': { 'label': 'Page' } } } );

/* --- Enable button model */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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 button Pornstud */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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 Pornstar */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 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 Notes:toporn */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Page', tools: { "toporn": { label: , type: 'button', icon: 'http://sm-201.org/a/images/1/19/Editor_t.png', action: { type: 'encapsulate', options: {

pre: '

This article is about a porn star

', post: } } } } } ); /* --- Enable button sa-porn */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', 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", post:"}}" } } } } }); /* Enable group:Notes: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', 'groups': { 'Notes': { 'label': 'Notes' } } } ); /* --- Enable button Notes:header */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Needs', 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:"}}" } } } } }); /* --- Enable button Notes:headred */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Needs": { label: 'Header', type: 'button', icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png', action: { type: 'encapsulate', options: { pre: " " } } } } }); /* --- Enable button Notes:header| */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Needs": { label: 'Header', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png', action: { type: 'encapsulate', options: { pre: " " } } } } }); /* --- Enable button Notes:Defaultsort */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "{DS}": { label: '(DS)', type: 'button', icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png', action: { type: 'encapsulate', options: { pre: "Warning: Default sort key "", post:"" overrides earlier default sort key "<from>"." } } } } }); /* --- Enable button Notes:source */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "<!>": { label: '<!>', type: 'button', icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png', action: { type: 'encapsulate', options: { pre: "" } } } } }); /* --- Enable button Notes:footer */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 button Notes:Category:needs */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Heads2 */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Heads3 */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Wiki:@ */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Needs": { label: 'Wikimain', type: 'button', icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png', action: { type: 'encapsulate', options: { pre: "

Wikilogo-20.png
Wikipedia article: [[wikipedia:",

post:"|", post:"]]" } } } } }); /* --- Enable button Notes:Wikilink */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', tools: { "Link": { label: 'Wikilink', type: 'button', icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png', action: { type: 'encapsulate', options: { pre: "[[Wikipedia:", post:"|", post:" ]]" } } } } }); /* --- Enable button Notes:Redirect */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 Notes:Wikilink */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'SM-201', group: 'Notes', 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 \n", post:"Warning: Default sort key "<from>" overrides earlier default sort key "", post:"".\n

[[Category:
caption
]]







'

} } } } });


/* Enable group:Other: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Other',

'groups': { 'Cats': { 'label': 'Cats' } } } );

/* --- Enable button other|cats|!more */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "",

                                       post:""

} } } } });

/* --- Enable button Other:Cats:BondMod */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 Other:Also:Circle-J */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "

Related Japanese erotic cinema topics

Articles related to Japanese erotic cinema
See also Category:Japanese culture and/or Category:Japanese subculture

",

               post:"

" } } } } });


/* --- Enable button Other:Also:Circle-S */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Cats', tools: { "Circle-S": { label: 'Circle-S', type: 'button',

     icon: 'http://www.sm-201.org/a/images/2/29/Circle_s.png', 

action: { type: 'encapsulate', options: { pre: "",

                               post:""

} } } } });

/* --- Enable button spank */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "[[Category:Spanking in the {{{1}}}]]",

                                       post:""

} } } } });

/* --- Enable button Other:Cats:spider pool */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "{{cat|Spider Pool|Spider Pool history|Spider Pool models} }",

                   post:""

} } } } });

/* --- Enable button Other:Cats:BDSMAuthors */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 Other:Cats:(Computer technology) */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 sa-bondfurn */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "

List of Bondage furniture

Bondage furniture gallery
Bondage postions / (category}Bondage restraints / (category}

",

                                       post:""

} } } } });

/* --- Enable button sa-bondpos */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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 sa-bondrest */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', 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: "

List of Bondage restraints / BDSM / Bondage materials
Types of gags
Bondage positions / (category}Bondage restraints / (category}

"

} } } } });


/* Enable group:Porn:Pers: */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Porn',

'groups': { 'Pers': { 'label': 'Pers' } } } );


/* --- Enable button Porn|Pers:{{Pornstar */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Star": { label: 'Porn', 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 Porn:Pers:pink */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Porn', group: 'Pers', tools: { "pink": { label: 'pink', type: 'button', icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg', action: { type: 'encapsulate', options: { pre: "| color = pink",

                                       post:""

} } } } } );

/* --- Enable button Porn|Pers|Name */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 Porn|Pers|DOB */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "birth": { label: 'birth', type: 'button', icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg', action: { type: 'encapsulate', options: { pre: "| birthdate = {{dob",

                                       post:""

} } } } });


/* --- Enable button Porn|Pers|Birthplace */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "place": { label: 'place', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',

action: { type: 'encapsulate', options: { pre: "| birthplace = ",

                                       post:""

} } } } });


/* --- Enable button Porn|Pers|Alias */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Alias": { label: 'alias', type: 'button',

     icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png', 

action: { type: 'encapsulate', options: { pre: "| othername = ",

                                       post:""

} } } } });


/* --- Enable button Porn|Pers:{Star} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Star": { label: '{Star}', type: 'button',

 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',

action: { type: 'encapsulate', options: { pre: "✦" } } } } });

/* --- Enable button Porn|Pers:{dag}*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "Dag": { label: '{Dag}', type: 'button',

icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',

action: { type: 'encapsulate', options: { pre: "" } } } } });


/* Enable group:Porn|Vitals */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Porn',

'groups': { 'Vitals': { 'label': 'Vitals' } } } );

/* --- Enable button Porn:Pers|vitals = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "vitals": { label: 'V-lab', type: 'button',

     icon: 'http://www.sm-201.org/a/images/c/c2/Editor_v.png', 

action: { type: 'encapsulate', options: { pre: "| vitals = ",

                                       post:""

} } } } });


/* --- Enable button Porn:Pers|(vitals} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "vitals": { label: 'V-tmp', type: 'button',

     icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg', 

action: { type: 'encapsulate', options: { pre: "{{vitals|",

                                       post:""

} } } } });

/* --- Enable button Porn:Vitals:{Height} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "ht": { label: 'ht', type: 'button',

 icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',

action: { type: 'encapsulate', options: { pre: "| height = {",

                                       post:"' " (Expression error: Unrecognized punctuation character """.m)"

} } } } });

/* --- Enable button Porn|Vitals|{Weight} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "wt": { label: 'wt', type: 'button',

 icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',

action: { type: 'encapsulate', options: { pre: "| weight = {",

                                       post:" lbs (Expression error: Unrecognized punctuation character """. kg)"

} } } } });


/* --- Enable button Porn|Vitals|Hair = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Hair": { label: 'hair', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: "| bodytype = ",

                                    post:""

} } } } });

/* --- Enable button Porn|Vitals|Hair = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Hair": { label: 'hair', type: 'button',

 icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',

action: { type: 'encapsulate', options: { pre: "| hair color = ",

                                       post:""

} } } } });

/* --- Enable button Porn|Vitals|Eyes = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Eya": { label: 'Eye', type: 'button', icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png', action: { type: 'encapsulate', options: { pre: "| eye color = ",

                                       post:""

} } } } });

/* --- Enable button Porn|Vitals|7 spaces */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Seven": { label: 'Seven', type: 'button', icon: 'http://www.sm-201.org/a/images/f/fd/Circle_7.png', action: { type: 'encapsulate', options: { pre: " ",

                                       post:""

} } } } });

/* --- Enable button Porn|Vitals|10 spaces */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Vitals', tools: { "Ten": { label: 'Ten', type: 'button', icon: 'http://www.sm-201.org/a/images/2/20/Circle_x.png', action: { type: 'encapsulate', options: { pre: " ",

                                       post:""

} } } } });

/* Enable group:Porn|Pro */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Porn',

'groups': { 'Pro': { 'label': 'Pro' } } } );


/* --- Enable button Porn|Pro|Genres = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 = ",

                                       post:""

} } } } });


/* --- Enable button Porn|Pro|Specs = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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: "| specialties = ",

                                    post:""

} } } } });

/* --- Enable button Porn|Pers|Name */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pers', tools: { "name": { label: 'name', type: 'button',

 icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png', 

action: { type: 'encapsulate', options: {

pre: "| yearsactive = ",

                                     post:""

} } } } });


/* --- Enable button Porn|Pro|Boygirl = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pro', tools: { "boygirl": { label: 'boygirl', type: 'button',

 icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',

action: { type: 'encapsulate', options: { pre: "| boygirl = BJ, Vaginal, Anal",

                                       post:""

} } } } });

/* --- Enable button Porn|Pro|Lesbian = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pro', tools: { "lesbian": { label: 'lesbian', type: 'button',

 icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',

action: { type: 'encapsulate', options: { pre: "| lesbian = Softcore, Dildo",

                                       post:""

} } } } });

/* --- Enable button Porn|Pro|Solo = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', group: 'Pro', tools: { "solo": { label: 'solo', type: 'button',

 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',

action: { type: 'encapsulate', options: { pre: "| solo = Masturbation, Dildo",

                                       post:""

} } } } });

/* --- Enable button Porn|Pro|cat=Mistresses */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 Porn|Pro|Imdb etc = */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Porn', 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 group:Other:Books */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {

   section: 'Other',

'groups': { 'Books': { 'label': 'Books' } } } );

/* --- Enable Other|Books|Books link */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Books', tools: { "Book link": { label: 'Book link', type: 'button',

icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',

action: { type: 'encapsulate', options: { pre: '[[',

                                       post: ']]'

} } } } });

/* --- Enable Other:Books:Book title */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Books', tools: { "Book title": { label: 'Book Title', type: 'button',

 icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',

action: { type: 'encapsulate', options: { pre: '',

                                       post: ''

} } } } });



/* --- Enable button Other|Books|{Cats} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Books', tools: { "Cats": { label: 'Cats', type: 'button', icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png', action: { type: 'encapsulate', options: { pre: '| authorcat = \n| publcat = \n', post: '| illustcat = \n| period = \n' } } } } });


/* --- Enable Other:Table:{!} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Expl 1": { label: '{!}', type: 'button',

     icon: 'http://sm-201.org/a/images/a/af/Button_%21.png', 

action: { type: 'encapsulate', options: { pre: "{{!",

                                       post:"}}"

} } } } });

/* --- Enable Other:Table:{!!} */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Expl 2": { label: '{!!}', type: 'button',

     icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png', 

action: { type: 'encapsulate', options: { pre: "||",

                                       post:""

} } } } });


/* --- Enable Other:Table:Line1*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Line1": { label: 'Line1', type: 'button', icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png', action: { type: 'encapsulate', options: { pre: " <body style='background-color:white; '> width="100%" valign="top" valign="top"", post: "" } } } } });

/* --- Enable Other:Table:Line2*/ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Line2": { label: 'Line2', type: 'button', icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png', action: { type: 'encapsulate', options: { pre: " <body style='background-color:#e6e6e6;'> valign="top"", post: "" } } } } });


/* --- Enable Other:Table:VAlign=Top */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { section: 'Other', group: 'Table', tools: { "Valign top": { label: , type: 'button', icon: 'http://sm-201.org/a/images/1/19/Editor_t.png', action: { type: 'encapsulate', options: { pre: 'valign="top"', post: } } } } } );


/* --- Enable Other:Table:' !! ' - New column */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "!!": { label: '!!', type: 'button', icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png', action: { type: 'encapsulate', options: { pre: " || ",

                                       post:""

} } } } });


/* --- Enable Other:Table:Empty column */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "MT": { label: 'MT', type: 'button',

 icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',

action: { type: 'encapsulate', options: { pre: "||   ",

                   post:""

} } } } });

/* --- Enable Other:Table:Columns */ $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'Other', group: 'Table', tools: { "Columns": { label: 'Columns', type: 'button', icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png', action: { type: 'encapsulate', options: {

pre: "

", post: "

"

} } } } });


/* Leave everything below this line alone ===================== */ };

/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) { mw.loader.using( 'user.options' ).then( function () { // This can be the string "0" if the user disabled the preference (phab:T54542#555387) if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) { $.when( mw.loader.using( 'ext.wikiEditor' ), $.ready ).then( customizeToolbar ); } } ); }